From 3e709e4e70b54b9c1305fdddd59f280c407136f6 Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 6 Aug 2023 17:28:57 +0200 Subject: [PATCH] fix parameters of parted --- hardware/hetzner_ax51-nvme/parted.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hardware/hetzner_ax51-nvme/parted.sh b/hardware/hetzner_ax51-nvme/parted.sh index c1c37c8..d9d61cd 100755 --- a/hardware/hetzner_ax51-nvme/parted.sh +++ b/hardware/hetzner_ax51-nvme/parted.sh @@ -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