progress
This commit is contained in:
parent
90d80cb539
commit
dc21bd5b5c
4
main.sh
4
main.sh
|
@ -91,11 +91,11 @@ do_partition() {
|
|||
parted $TARGET_PHY_ID -s -- mklabel gpt
|
||||
sleep 2
|
||||
size=512
|
||||
parted $TARGET_PHY_ID unit mib -s -- mkpart 'EFI system partition' fat32 $start $(( start + size ))
|
||||
parted $TARGET_PHY_ID unit mib -s -- mkpart EFI 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 partition' ext4 $start -1s
|
||||
parted $TARGET_PHY_ID unit mib -s -- mkpart root ext4 $start -1s
|
||||
sleep 2
|
||||
mkfs.vfat -F32 ${TARGET_PHY_ID}-part1
|
||||
TARGET_PART="2"
|
||||
|
|
Loading…
Reference in New Issue
Block a user