Add cryptsetup-initramfs package to include cryptsetup into initrd.

The initrd cannot otherwise decrypt the partition.
This commit is contained in:
Adam Kalisz
2022-08-23 11:17:04 +02:00
committed by George Melikov
parent d5ae2ab80b
commit 90fbd14df3

View File

@@ -636,7 +636,7 @@ Step 4: System Configuration
#. For LUKS installs only, setup ``/etc/crypttab``:: #. For LUKS installs only, setup ``/etc/crypttab``::
apt install --yes cryptsetup apt install --yes cryptsetup cryptsetup-initramfs
echo luks1 /dev/disk/by-uuid/$(blkid -s UUID -o value ${DISK}-part4) \ echo luks1 /dev/disk/by-uuid/$(blkid -s UUID -o value ${DISK}-part4) \
none luks,discard,initramfs > /etc/crypttab none luks,discard,initramfs > /etc/crypttab