after upgrading to 20.04, my encrypted disk doesn't get decrypted on boot. I'm not asked for any password, so it obviously can't find any partition and boots into initrd prompt.
What might be the reason: /cryptroot/crypttab
in the initrd image is completely empty.
I can open luks manually and chroot into the system. This is the content of my /etc/crypttab
in the real root directory:
nvme0n1p3_crypt UUID=<some uuid> none luks
(The UUIDs are all correct, everywhere)
When I run update-initramfs -c -k all
, the output is:
cryptsetup: WARNING: target 'nvme0n1p3_crypt' not found in /etc/crypttab
Which is a bit weird, because it's exactly the target name of the only single entry in that file. It's also listed in /dev/mapper
as a link to ../dm-0
which also seems to be correct.
I tried renaming the device to crypt
only using dmsetup rename ...
but that didn't help of course.
I assume that this is the root cause of my problem.