From de785c5d5fd7e5d5a05b083d0b13de362a0224e0 Mon Sep 17 00:00:00 2001 From: phga Date: Fri, 11 Mar 2022 20:49:17 +0100 Subject: [PATCH] fix: skip checks on for dev with virtual mapping --- bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index a6400f1..8e0f795 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -84,11 +84,12 @@ EOF [ $MODE == "NVME" ] && suffix="p" || suffix="" -mkfs.fat -F 32 -n P_EFI "/dev/$DEV$suffix1" if [ "$ENC" == true ]; then + mkfs.fat -I -F 32 -n P_EFI "/dev/$DEV$suffix1" # -I bc of virtual mappings crypt_create_fs "/dev/$DEV$suffix3" mkfs.ext2 -L cryptswap "/dev/$DEV$suffixp2" 1M # Otherwise label will be lost after reboot else + mkfs.fat -F 32 -n P_EFI "/dev/$DEV$suffix1" # -I bc of virtual mappings mkfs.ext4 -L P_ROOT "/dev/$DEV$suffix3" mkswap -L P_SWAP "/dev/$DEV$suffix2" fi