mandavi2
January 26th, 2017, 08:32 PM
After I upgraded from 14.06 to 16.06 all new kernels would not work anymore. Despite my entire harddisk being encrypted via LUKS I'm not asked for a password. Instead I get following messages:
Begin: Running /scripts/local-block ... lvmetad is not active yet, using direct activation during sysinit
Volume group "laptop-hp" not found
Cannot process volume group laptop-hp
done.
That gets repeated many times before I get:
Gave up waiting for root device. Common problems:
...
ALERT! /dev/mapper/laptop--hp-root does not exist. Dropping to a shell!
Old kernels booted just fine until I removed them by accident. Yeah, congrats, I know...
My configuration is shown by the output of Boot Info Scrip (https://paste.ubuntu.com/23870703/)t.
So I chrooted from a USB-Image and installed older kernels. But I get the same error message now with them too.
I chrooted again to rebuild GRUB2 which went just fine, but didn't change anything.
I tried 'update-initramfs -k all -c' but it didn't change anything.
I tried to make the volumes available in initramfs like this guy did (https://ubuntuforums.org/showthread.php?t=1632033) after I'm dropped to a shell via 'cryptsetup luksOpen /dev/sda5 sda5_crypt' but initramfs tells me it doesn't know the command
Do I need to add things to GRUB via insmod to have cryptsetup in the initramfs shell?
Or how do I proceed from here?
Begin: Running /scripts/local-block ... lvmetad is not active yet, using direct activation during sysinit
Volume group "laptop-hp" not found
Cannot process volume group laptop-hp
done.
That gets repeated many times before I get:
Gave up waiting for root device. Common problems:
...
ALERT! /dev/mapper/laptop--hp-root does not exist. Dropping to a shell!
Old kernels booted just fine until I removed them by accident. Yeah, congrats, I know...
My configuration is shown by the output of Boot Info Scrip (https://paste.ubuntu.com/23870703/)t.
So I chrooted from a USB-Image and installed older kernels. But I get the same error message now with them too.
I chrooted again to rebuild GRUB2 which went just fine, but didn't change anything.
I tried 'update-initramfs -k all -c' but it didn't change anything.
I tried to make the volumes available in initramfs like this guy did (https://ubuntuforums.org/showthread.php?t=1632033) after I'm dropped to a shell via 'cryptsetup luksOpen /dev/sda5 sda5_crypt' but initramfs tells me it doesn't know the command
Do I need to add things to GRUB via insmod to have cryptsetup in the initramfs shell?
Or how do I proceed from here?