DEBIAN UPDATE BROKE MY INITRAMFS
2014 March 17Yeah, short and to the point: apt-get update installed a new kernel and a new initramfs which somehow won’t create my LVM configuration. This is because my root= points to a UUID:
linux /boot/vmlinuz-3.13-1-amd64 root=UUID=7303234e-a346-440a-8d55-9d562fad859a ro quiet
The lvm2 bootscript only calls the required “lvm vgchange -aly” command if the $ROOT starts with fe[0-9] or /dev/root which it obviously doesn’t.
So I’ve created a /etc/initramfs-tools/scripts/local-top/debug-lvm2 with only that command in it:
lvm vgchange -aly --ignorelockingfailure
Now my laptop boots again.
EOF
Category: