LUKS 2 support

This commit is contained in:
Tommaso Chiti 2021-05-08 08:35:13 +02:00 committed by GitHub
parent 4eaa2ae55c
commit 87899b0a67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,9 +60,9 @@ fi
echo "Creating new partition scheme on $DISK." echo "Creating new partition scheme on $DISK."
parted -s "$DISK" \ parted -s "$DISK" \
mklabel gpt \ mklabel gpt \
mkpart ESP fat32 1MiB 513MiB \ mkpart ESP fat32 1MiB 101MiB \
set 1 esp on \ set 1 esp on \
mkpart Cryptroot 513MiB 100% \ mkpart Cryptroot 101MiB 100% \
ESP="/dev/disk/by-partlabel/ESP" ESP="/dev/disk/by-partlabel/ESP"
Cryptroot="/dev/disk/by-partlabel/Cryptroot" Cryptroot="/dev/disk/by-partlabel/Cryptroot"