After upgrade to Lucid /dev/disk/by-uuid missing when booting with initramfs
Upgraded from Karmic to Lucid with root=UUID=xxxx set in grub and using UUID in /etc/fstab.
System fails to boot because the root device cannot be found.
From busybox shell determined /dev/disk/by-uuid missing.
Note behaviour is identical with grub and grub2
Further investigation suggests problem is with udev and initramfs interaction.
with an explicit path for blkid
This is used to populate udev's db which the rule
uses to create the /dev/disk/by-uuid links,
However initramfs (in the file /usr/share/
Several other posts (ubuntu forums) suggest various workarounds (e.g. going back to /dev/sda1 type root= lines in grub) but this is purely masking the problem not solving it.
All other program references in udev (eg.ata_id usb_id and I guess the old vol_id that preceded blkid) did not have an explicit path. Replacing the references to /sbin/blkid to simple blkid in udev rules and recreating initramfs via update-initramfs -u appears to fix the problem and the system boots OK. However I am concerned that there may be other reasons why the /sbin reference was included and hence if this was introduced as a patch may break some other aspect I am unaware of.
distro Ubuntu 10.04 LTS