* Ian Campbell <[email protected]>, 2011-02-08, 10:40:
When using the root=UUID=... syntax (the default with grub2) for a root
filesystem in LVM the local-top/lvm2 script does not activate the
volume group and the initramfs dumps me into a rescue shell. Running
"lvm vgchange -aly" and exiting the shell is sufficent to allow the
boot to continue. Using GRUB_DISABLE_LINUX_UUID=true in
/etc/default/grub is also sufficient to work around the issue.
This is because the script will bail on paths which don't start
/dev/mapper. Presumably this can be worked around by using
lvm vgchange -aly --ignorelockingfailure
when $dev matches UUID=* (and perhaps LABEL=*?) similar to the existing
LILO "fe[0-9]*" and /dev/root workarounds.
I guess the current scheme would also break if one were to use the
alternative /dev/Vol00/root naming rather than /dev/mapper/Vol00-root?
Oh yes, it does break in such a case, too. I "tested" it today in
practice. :/
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]