Hi,
After attaching my boot drive to another SATA controller the OpenSUSE 13.1 install on the boot drive doesn’t boot anymore.
Waiting for device /dev/root to appear: ......................... Could not find /dev/root.
Want me to fall back to ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part3 (Y/n)
I don’t understand why it’s not booting as all partitions except for swap are referred to through their UUID.
To try and resolve this I booted into the Rescue mode from the OpenSUSE install DVD (or install USB here). The contents of /dev/disk/by-id and /dev/disk/by-uuid are as follows
ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L
ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part1
ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part2
ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part3
ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part4
17eef133-3073-436b-8af1-4bc20ddc990b
8452-E359
8d2536f2-d284-4bca-8ac1-b80d7a10f1a0
96d51a1b-91b3-4209-ab23-f9cf0a8f51e8
9aa080b9-3d79-4671-a239-6eaa197659cd
B0CE-6610
There are four ext4 partitions on the drive, swap (-part1), boot (-part2), root (-part3) and home (-part4). The short UUIDs are the USB flash drives connected. Then I mounted ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part2 as /mnt/boot and ata-Hitachi_HUA722010CLA330_JPW9K0J818PA7L-part3 as /mnt/root to have a look at fstab and grub2 config.
/mnt/root/etc/fstab contains the entries
/dev/disk/by-id/ata-Hitachi_HUA722010CLA330_JPW9K0J81A552L-part1 swap swap defaults 0 0
UUID=17eef133-3073-436b-8af1-4bc20ddc990b / ext4 acl,user_xattr 1 1
UUID=96d51a1b-91b3-4209-ab23-f9cf0a8f51e8 /boot ext4 acl,user_xattr 1 2
UUID=8d2536f2-d284-4bca-8ac1-b80d7a10f1a0 /home ext4 acl,user_xattr 1 2
and the boot entry from /mnt/boot/grub2/grub.cfg is
menuentry 'openSUSE 13.1' --class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-17eef133-3073-436b-8af1-4bc20ddc990b' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 96d51a1b-91b3-4209-ab23-f9cf0a8f51e8
else
search --no-floppy --fs-uuid --set=root 96d51a1b-91b3-4209-ab23-f9cf0a8f51e8
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /vmlinuz-3.11.10-7-desktop root=UUID=17eef133-3073-436b-8af1-4bc20ddc990b resume=/dev/disk/by-id/ata-Hitachi_HUA722010CLA330_JPW9K0J81A552L-part1 splash=silent quiet showopts intel_iommu=on
echo 'Loading initial ramdisk ...'
initrd /initrd-3.11.10-7-desktop
}
The swap partition is incorrectly referenced (boot drive was cloned from another system and hadn’t corrected this yet) but / seems to be well referenced to as root=UUID=17eef133-3073-436b-8af1-4bc20ddc990b - manually mounting this UUID confirms that this is the root partition.
Any pointers are appreciated as I’m somewhat stuck here. TIA.