diff --git a/main.sh b/main.sh index a34ab5a..fc6391e 100644 --- a/main.sh +++ b/main.sh @@ -93,7 +93,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 + 1 )) + start=$(( start + size )) parted -a optimal $TARGET_PHY_ID unit mib -s -- mkpart root $start -1s sleep 2 mkfs.vfat -F32 ${TARGET_PHY_ID}-part1