From eca8dac320435aec95bdb8ba531618e5324a2063 Mon Sep 17 00:00:00 2001 From: Pig Monkey Date: Mon, 29 Apr 2019 20:17:14 -0700 Subject: [PATCH] grub only supports luks1 The default in cryptsetup is now luks2. --- INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 85fa362..ba6626f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -45,7 +45,7 @@ Verify that the [system clock is up to date][8]. Create and mount the encrypted root filesystem. Note that for UEFI systems this will be partition 3. - $ cryptsetup luksFormat /dev/sda1 + $ cryptsetup luksFormat --type luks1 /dev/sda1 $ cryptsetup luksOpen /dev/sda1 lvm $ pvcreate /dev/mapper/lvm $ vgcreate arch /dev/mapper/lvm @@ -60,7 +60,7 @@ this will be partition 3. (UEFI mode) Encrypt the boot partition using a separate passphrase from the root partition, then mount the boot and EFI partitions. - $ cryptsetup luksFormat /dev/sda2 + $ cryptsetup luksFormat --type luks1 /dev/sda2 $ cryptsetup luksOpen /dev/sda2 cryptboot $ mkfs.ext4 /dev/mapper/cryptboot $ mkdir /mnt/boot