I just switched from lilo to grub2 and my first attempt failed with kernel panic - not syncing vfs unable to mount root fs on unknown block(0 0)
. It turned out that the problem was that the root partition was specified in terms of a UUID instead of a device name. The solution was to uncomment GRUB_DISABLE_LINUX_UUID=true
in /etc/default/grub
.
The original auto-generated /boot/grub/grub.conf
contained some UUID entries and some /dev entries.
- How does update-grub choose between UUID and /dev rootfs, i.e. why is it sometimes a UUID and sometimes not?
- What keeps UUIDs from working? I didn't find a kernel parameter which could be set wrongly (kernel 3.8.2)
- Do I need UUIDs in my fstab when grub uses UUIDs?