Explorar o código

use luks1 for grub luks prompt

Noah Vogt hai 2 días
pai
achega
e2f237538e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch.sh

+ 1 - 1
arch.sh

@@ -152,7 +152,7 @@ partprobe
 # Dynamic LUKS Formatting
 while true; do
     if [ "$AES_NI" = "yes" ]; then
-        cryptsetup luksFormat --type luks2 /dev/"${DRIVE}${PVALUE}${ROOT_LETTER}" && break
+        cryptsetup luksFormat --type luks1 /dev/"${DRIVE}${PVALUE}${ROOT_LETTER}" && break
     else
         cryptsetup luksFormat --type luks2 --cipher xchacha12,aes-adiantum-plain64 --hash sha256 /dev/"${DRIVE}${PVALUE}${ROOT_LETTER}" && break
     fi