This could also be considered a problem with the initramfs, and not with
udev.

The problem is actually with the /init file in the initramfs, it
converts a UUID=* entry into a ROOT entry of "/dev/disk/by-
uuid/${ROOT#UUID=}". This is needed, since the mount command included in
the initramfs does not understand the -U (mount by UUID) option. This,
combined with the fact that udev does not create /dev/disk/by-uuid/
entries for LVM partitions means that booting with an LVM root is not
possible without modifying the grub boot entry.

This also explains why mount with the UID specified in the fstab works,
as this uses the more advanced non-initramfs mount that does know how to
deal with UUID=* entries.

Hope this helps towards a solution, since this is a really disastrous
bug, that prevents LVM root systems from booting. Even worse, because of
the new tendency to fix initrd images when initramfs-tools are
"improved" it can even break a running system and make what used to work
stop working.

-- 
LVM/MD root filesystem not found by uuid
https://launchpad.net/bugs/54002

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to