[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#616689: jessie still not working



I'm running unstable, and have been affected by this bug for a few weeks
now, which is really annoying.  After reading this bug report, I decided
to set the -x flag on /usr/share/initramfs-tools/scripts/local-top/lvm2,
the problem was quickly found: this script refuses any path which does
not start with /dev/mapper/.  The root device is given as
/dev/disk/by-uuid/*, so it is not activated.

Simple workaround: change the grub commandline from root=UUID=* to
root=/dev/mapper/vg-root (fill in your volume group and root logical
volume name).  Then it will activate and boot normally.

I expected that this should be done by changing /etc/fstab and running
update-grub, but grub will put UUID values in /boot/grub/grub.conf
anyway.  So it must be done in /boot/grub/grub.conf, and repeated every
time update-grub is run (which isn't ideal, but a lot better than typing
commands every time the system boots).

I'm guessing this bug was triggered by a change in grub to always write
UUIDs to its config.  Still, it should be fixed by changing the
initramfs-tools script to make it allow the UUID-based path.

Thanks,
Bas

Attachment: signature.asc
Description: Digital signature


Reply to: