Add cryptsetup-initramfs package to include cryptsetup into initrd.
The initrd cannot otherwise decrypt the partition.
This commit is contained in:
committed by
George Melikov
parent
d5ae2ab80b
commit
90fbd14df3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user