Pages

[kubuntu] boot-repair after cloning to new root disk

mercredi 17 août 2016

I have an AMD box, Asus Sabertooth 990FX mobo (uses UEFI BIOS; no legacy mode), Kubuntu 16.04, root disk was/is a GPT partitioned SSD(s). I cloned the old Patriot Pyro 120 GB SSD to a new Samsung 850 Pro 512 SSD using the latest Clonezilla live DVD. Wouldn't boot new SSD.

So I booted from the Kubuntu 16.04 Live DVD and did the following: Although the old SSD had only two partitions and booted fine, running the bootinfo script on the new SSD said I needed a BIOS boot partition on it. Thus I used gparted to create 2 MB space at the front of the new SSD, by compressing the old / partition, then fixed the partition order so that the new partition was partition 1, and set that partition as the BIOS boot partition. Thus the new SSD (/dev/sdc) now has three partitions: 1 = "BIOS boot", 2 = "/", 3 = "swap". I then ran boot-repair, and set the new SSD as the first boot option in the BIOS. Still no boot from the new SSD - system restarts repeatedly without booting.

The boot-repair output is at http://ift.tt/2b1yKxZ. It says "Boot successfully repaired", tho I do spot some messages

mount: mount /dev/sdc1 on /mnt/boot-sav/sdc1 failed: Structure needs cleaning
mount /dev/sdc1 : Error code 32

fsck -fyM /dev/sdc1
ext2fs_check_desc: Corrupt group descriptor: bad block for block bitmap
.
(stuff fixed but I'm not positive it's totally successful)
.
./dev/sdc1: ***** FILE SYSTEM WAS MODIFIED ***** /dev/sdc1: 11/256 files (0.0% non-contiguous), 47/2048 blocks

Although I'm not a newbie, I must admit I'm a bit confused about grub booting. Why did my old SSD boot with only two partitions (/ and swap), and did I really need a third BIOS boot partition on the new SSD? Does Grub install on the BIOS boot partition, the / partition, or both, and what needs to install where?

And ..... I'd appreciate recommendations how to diagnose and fix booting on my new SSD. Thanks!

Let's block ads! (Why?)



[kubuntu] boot-repair after cloning to new root disk

Aucun commentaire:

Enregistrer un commentaire