Hi

While using UUIDs for lvm2 logical volumes works within grub2 itself, 
it does blow up in the initramfs integration hooks of lvm2:

http://anonscm.debian.org/viewvc/pkg-lvm/lvm2/trunk/debian/initramfs-tools/lvm2/scripts/local-top/lvm2?view=markup

[line 40ff]
        # Make sure that we have a d-m path
        dev="${dev#/dev/mapper/}"
        if [ "$dev" = "$1" ]; then
                return 1
        fi

so without a root=/dev/mapper/[...] definition for the rootfs, the 
default provider of linux-initramfs-tool in Debian never even tries 
to assemble the volume groups that make up the rootfs. Out of curiosity
I rigged that particular regexp to be always false, but lvm2 didn't 
manage to find a rootfs on a logical volume then either (complaining
that UUIDs were not valid for logical volumes).

Accordingly there would be several changes and versioned dependencies 
(Breaks) needed to the lvm2 initramfs-tools hooks, before using 
anything but /dev/mapper/... rootfs definitions might be viable for 
grub2.

Regards
        Stefan Lippers-Hollmann

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to