From 3ae3326fb885b13d434c7b54e4e9c6a38ae7da8b Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 15:25:10 +0100 Subject: [PATCH] progress --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index f1df5cd..8d4061e 100644 --- a/main.sh +++ b/main.sh @@ -92,7 +92,7 @@ do_partition() { size=512 parted -a optimal $TARGET_PHY_ID unit mib -s -- mkpart EFI fat32 $start $(( start + size )) sleep 2 - start=$(( start + size )) + start=$(( start + size + 1 )) parted -a optimal $TARGET_PHY_ID unit mib -s -- mkpart root $start -1s mkfs.vfat -F32 ${TARGET_PHY_ID}-part1 TARGET_PART="2"