Bug#752381: initramfs-tools: does not activate logical volume before trying to mount root filesystem on LVM

Martin Steigerwald martin at lichtvoll.de
Mon Aug 17 14:42:08 UTC 2015


Am Sonntag, 16. August 2015, 09:08:19 schrieb Felix Zielcke:
> Am Montag, den 23.06.2014, 10:42 +0200 schrieb Martin Steigerwald:
> > What did I do:
> > 
> > Today I installed backports version of open-vm-dkms and upgraded to
> > most
> > recent 3.14 backport kernel from a previous version of it I installed
> > due
> > to using BTRFS with skinny meta data on one partition.
> > 
> > 
> > Current results:
> > 
> > After this the machine failed to boot. It didn´t find the root
> > filesystem
> > by its UUID. I typed "vgchange -ay" in initramfs and then Ctrl-D and
> > then
> > it booted. This used to work without manual interaction before.
> 
> Hi Martin,
> 
> is there still something to do for us grub2 maintainers or is it
> solved?
> I'm a bit confused with the control mails from Ben Hutchings.

I still have the manual activate LVM volumes work-around in place:

mondschein:/etc/initramfs-tools> cat ./scripts/local-top/lvm-manual
#!/bin/sh

PREREQ="lvm"
prereqs()
{
        echo $PREREQ
}

case $1 in
prereqs)
        prereqs
        exit 0;
esac

. /scripts/functions

log_begin_msg "Activitating logical volumes (as it does not seem to be done 
automatically at the moment)."

vgchange -ay

log_end_msg


So I am not sure. I am reluctant to deactivate it during Debconf. The network 
seems to be good enough for remote console access, but I´d still feel more 
comfortable when I am nearer to the office. I will ponder it and maybe still 
do it during the Debconf.

Thanks,
-- 
Martin



More information about the Pkg-grub-devel mailing list