Commit d4147339 authored by Matti Hyttinen's avatar Matti Hyttinen
Browse files

Use luks1 explicitly until grub supports luks2

parent c3c242e1
......@@ -591,7 +591,7 @@ luks_default() {
# Encrypt selected partition or LV with credentials given
DIALOG " $_LuksEncrypt " --infobox "\n$_PlsWaitBody\n " 0 0
sleep 2
echo $PASSWD | cryptsetup -q luksFormat ${PARTITION} 2>$ERR
echo $PASSWD | cryptsetup -q --type luks1 luksFormat ${PARTITION} 2>$ERR
check_for_error "luksFormat ${PARTITION}" $?
# Now open the encrypted partition or LV
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment