Bug#929616: debian-installer: Missing kernel module required by cryptsetup
I installed Buster with full disk encryption,except /boot because of
#927165. All encryption settings were left to their default values
(aes-xts-plain64, key size 512 bits). When asked for targetted versus
generic initramfs image I picked targetted.
The resulting initramfs image is missing the required algif_skcipher
kernel module. When booting, the initramfs prompts for the cryptsetup
password and fails with the following unhelpful message:
"cryptsetup failed, bad password or options?".
Adding the module to /etc/intramfs-tools/modules and updating the
initramfs is sufficient to fix the issue. Alternatively, using a
"generic" initramfs (MODULES=most) works as well.
I'm not sure if it is an issue with debian-installer or with
initramfs-tools failing to guess the required modules. I picked
debian-installer since, as a user, it leaves me with an unbootable
system. Please feel free to re-assign.
-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)