Set proper ESP flag

Without this flag it will be marked as basic data, which could cause issue when dual booting
This commit is contained in:
TommyTran732 2021-04-24 04:44:59 -04:00 committed by GitHub
parent 9e7f7fe696
commit 123f5f2aad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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