From 8ff0c60bc3123c11bc91331b6ead1470823d6733 Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 15:47:04 +0100 Subject: [PATCH] progress --- main.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 39a39ac..8e22b85 100644 --- a/main.sh +++ b/main.sh @@ -91,10 +91,11 @@ do_partition() { parted $TARGET_PHY_ID -s -- mklabel gpt sleep 2 size=512 - parted $TARGET_PHY_ID unit mib -s -- mkpart EFI fat32 $start $(( start + size )) + parted $TARGET_PHY_ID unit mib -s -- mkpart "EFI system partition" fat32 $start $(( start + size )) + parted $TARGET_PHY_ID unit mib -s -- set 1 esp on sleep 2 start=$(( start + size )) - parted $TARGET_PHY_ID unit mib -s -- mkpart root $start -1s + parted $TARGET_PHY_ID unit mib -s -- mkpart "root partition" ext4 $start -1s sleep 2 mkfs.vfat -F32 ${TARGET_PHY_ID}-part1 TARGET_PART="2"