Comment 5 for bug 1979159

Revision history for this message
Thomas (survirtual) wrote (last edit ): Re: Cannot unlock encrypted root after upgrading to 22.04

Alternative workaround steps (w/o live cd):

1) Access initramfs environment at boot

2) # ls /dev/mapper

3) If you only see something like "isw_bdihdgjaaf_v1" and "control", but no "isw_bdihdgjaaf_v1pX" at all, proceed. Take note of whatever the name is besides control.

4) # cd /sbin

5) # ./kpartx -a /dev/mapper/isw_bdihdgjaaf_v1 <- put your mapped device name here

6) # /scripts/local-top/cryptroot

7) # cryptroot-unlock <- it should properly prompt for your password now

I have only done this remotely, I am unsure how local would react to step 6. After running the cryptroot script, it will boot you if you are doing this remotely. SSH back into the system, then do step 7.