Ubuntu: Fix 16.04 LUKS
Like 16.10 (and the comment in the 16.04 code), this approach should use "initramfs", not "keyscript=/bin/cat". See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820888 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838001
parent
882c29a2a6
commit
ba178841ad
|
@ -256,7 +256,7 @@ Even if you prefer a non-English system language, always ensure that `en_US.UTF-
|
|||
|
||||
# echo luks1 UUID=$(blkid -s UUID -o value \
|
||||
/dev/disk/by-id/scsi-SATA_disk1-part1) none \
|
||||
luks,discard,keyscript=/bin/cat > /etc/crypttab
|
||||
luks,discard,initramfs > /etc/crypttab
|
||||
|
||||
# vi /etc/udev/rules.d/99-local-crypt.rules
|
||||
ENV{DM_NAME}!="", SYMLINK+="$env{DM_NAME}"
|
||||
|
|
Loading…
Reference in New Issue