Bug#530776: lvm2: lv not activated in initrd.img leading to a system able to mount /

Vincent Danjean Vincent.Danjean at ens-lyon.org
Fri May 29 05:58:03 UTC 2009


# the bug is due to grub-pc using UUID for the root=... command line
# kernel parameter
# I'm reassigning the bug even if, perhaps, lvm2 initrd script needs
# to support this situation (in this case, feel free to clone this bug)
reassign 530776 grub-pc
thanks

This bug is due to my grub upgrade:
2009-05-27 01:47:18 upgrade grub-pc 1.96+20090317-1 1.96+20090523-1
Without any warning, grub start to use an root=UUID=... kernel parameter.
It is breaking existing working setup because initrd lvm2 script only
activates lvm VG corresponding to the root partition (normal : it should
not touch anything that look like lvm2) but it detects the VG of the root
partition with its name (/dev/mapper/...). Using UUID breaks this behavior.

The workaround is to set GRUB_DISABLE_LINUX_UUID=true in /etc/default/grub

However, I do not think this is a fix because grub-pc breaks existing
working configuration on upgrade and it is not easy to find the root
of the problem if we do not already know this problem exists.

  Regards,
    Vincent

-- 
Vincent Danjean       GPG key ID 0x9D025E87         vdanjean at debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main






More information about the pkg-lvm-maintainers mailing list