fix parameters of parted

master
lub 1 year ago
parent 12d09583ce
commit 3e709e4e70

@ -7,16 +7,16 @@ set -e
# /boot/efi 1GB
# free 0GB
parted /dev/nvme0n1 mklabel msdos
parted /dev/nvme0n1 mkpart primary 1 1020GB
parted /dev/nvme0n1 mkpart primary 1020GB 1022GB
parted /dev/nvme0n1 mkpart primary 1022GB 1024GB
parted -- /dev/nvme0n1 mklabel msdos
parted -- /dev/nvme0n1 mkpart primary 1 1020GB
parted -- /dev/nvme0n1 mkpart primary 1020GB 1022GB
parted -- /dev/nvme0n1 mkpart primary 1022GB 1024GB
# set flag for ESP
parted /dev/nvme0n1 set 3 boot on
parted -- /dev/nvme0n1 set 3 boot on
parted /dev/nvme1n1 mklabel gpt
parted /dev/nvme1n1 mkpart primary 1 -1
parted /dev/nvme2n1 mklabel gpt
parted /dev/nvme2n1 mkpart primary 1 -1
parted -- /dev/nvme1n1 mklabel gpt
parted -- /dev/nvme1n1 mkpart primary 1 -1
parted -- /dev/nvme2n1 mklabel gpt
parted -- /dev/nvme2n1 mkpart primary 1 -1
sleep 1

Loading…
Cancel
Save