I recently upgraded my 20.04 to 22.04 and now the machine won’t boot up normally.
I have full disk encryption, with mirrored disks.
Before the upgrade everything worked fine, it would ask for my password to decrypt the disks.
After the upgrade it’s not able to find the encrypted partition and drops me to the initramfs shell. From there I’m able to run kpartx to load the partition that is encrypted, and then I can run the cryptosetup to unencrypt it. Exiting initramfs let’s the boot process continue.
LSBLK
sda 8:0 0 476.9G 0 disk
└─isw_cdjdgaaaea_Volume0 252:0 0 476.9G 0 dmraid
├─isw_cdjdgaaaea_Volume0p1 252:1 0 512M 0 part /boot/efi
├─isw_cdjdgaaaea_Volume0p2 252:2 0 1K 0 part
├─isw_cdjdgaaaea_Volume0p5 252:3 0 731M 0 part /boot
└─isw_cdjdgaaaea_Volume0p6 252:4 0 475.7G 0 part
└─isw_cdjdgaaaea_Volume0p6_crypt 252:5 0 475.7G 0 crypt
├─vgxubuntu-root 252:6 0 474.7G 0 lvm /
└─vgxubuntu-swap_1 252:7 0 980M 0 lvm [SWAP]
sdb 8:16 0 476.9G 0 disk
└─isw_cdjdgaaaea_Volume0 252:0 0 476.9G 0 dmraid
├─isw_cdjdgaaaea_Volume0p1 252:1 0 512M 0 part /boot/efi
├─isw_cdjdgaaaea_Volume0p2 252:2 0 1K 0 part
├─isw_cdjdgaaaea_Volume0p5 252:3 0 731M 0 part /boot
└─isw_cdjdgaaaea_Volume0p6 252:4 0 475.7G 0 part
└─isw_cdjdgaaaea_Volume0p6_crypt 252:5 0 475.7G 0 crypt
├─vgxubuntu-root 252:6 0 474.7G 0 lvm /
└─vgxubuntu-swap_1 252:7 0 980M 0 lvm [SWAP]
BLKID
/dev/mapper/isw_cdjdgaaaea_Volume0p6: UUID="eb147905-9053-42ef-a66f-26c193e4161e" TYPE="crypto_LUKS" PARTUUID="a8daa3a1-06"
/dev/mapper/vgxubuntu-root: UUID="e08180e5-4a7d-4b89-92c8-8490101db404" BLOCK_SIZE="4096" TYPE="ext4"
CRYPTTAB
isw_cdjdgaaaea_Volume0p6_crypt UUID=eb147905-9053-42ef-a66f-26c193e4161e none luks,discard
Grub config
insmod lvm
insmod ext2
set root='lvmid/cRHdZg-y2As-vfg0-eF4r-lo0w-ofGS-87BiW3/zYjiDw-izdI-7sl9-AJ6c-0BFX-lUkU-BeLixJ'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/cRHdZg-y2As-vfg0-eF4r-lo0w-ofGS-87BiW3/zYjiDw-izdI-7sl9-AJ6c-0BFX-lUkU-BeLixJ' e08180e5-4a7d-4b89-92c8-8490101db404
else
search --no-floppy --fs-uuid --set=root e08180e5-4a7d-4b89-92c8-8490101db404
fi
Any and all help would be appreciated.