I bought an SSD and to try the speed improvement while leaving the current system intact, I cloned my old root partition (/dev/sda1) onto the SSD (/dev/sdb1) and added a new Grub boot entry:
title Desktop (SSD) root (hd1,0) kernel /boot/vmlinuz-3.11.10-11-desktop root=/dev/disk/by-uuid/1ba4ffc9-2783-4b16-8276-63e8f087fada initrd /boot/initrd-3.11.10-11-desktop
I want to keep Grub on the first HD and let it boot the root partition from the 2nd HD.
When I boot the new entry, the kernel starts to load, but complains that it can't mount the root file system and puts me into single user mode, where I can see /dev/sdb1 under
I also changed the root partition in /etc/fstab on the cloned partition, but I don't think the boot process goes that far, yet.
I tried different versions for the root= parameter, like /dev/sdb1 and UUID=..., but its always the same result.
Is there somthing fundametally flawed with my approach ?
How can I debug this best ?
Update: I had formated the new root partition as ext4 while the old root partition was ext3 and it seems my kernel wasn't ready to boot from ext4. Now it works nicely. Thanks for the tip to use GParted!
dd if=/dev/sda1 of=/dev/sdb1 bs=4096. Use GParted to set the
bootflag and report the UUID of the SSD rootfs partition. Use that UUID to fixup the grub entry. You may also need to edit the
/etc/fstabentries in this rootfs.