summaryrefslogtreecommitdiffstats
path: root/arch-install/arch-setup-0.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-07-12 18:21:54 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-07-12 18:21:54 +0200
commitc06ff8e947dcda5c115306a916b6d62b3b898695 (patch)
treece026e92f7ad9a1b4fd279a677a3a2dfe2d75ddb /arch-install/arch-setup-0.sh
parent0465f6a32ab948093bc5ac180b5f0a6e1b6c1c6a (diff)
downloadbin-c06ff8e947dcda5c115306a916b6d62b3b898695.zip
bin-c06ff8e947dcda5c115306a916b6d62b3b898695.tar.gz
arch-setup : fix partition size
Diffstat (limited to 'arch-install/arch-setup-0.sh')
-rwxr-xr-xarch-install/arch-setup-0.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch-install/arch-setup-0.sh b/arch-install/arch-setup-0.sh
index 8b1e314..d64c98b 100755
--- a/arch-install/arch-setup-0.sh
+++ b/arch-install/arch-setup-0.sh
@@ -25,9 +25,9 @@ echo "UEFI VARS : $VARS"
# N sectors * 512 / 1024 / 1024 / 1024 -> Gb
say "SGDISK"
sgdisk -og $DEV || exit 1
-sgdisk -n 1:2048:264191 -c 1:efi -t 1:ef02 $DEV || exit 1
-sgdisk -n 2:264192:209979391 -c 2:rootfs -t 2:8300 $DEV || exit 1
-sgdisk -n 3:209979392 -c 3:homefs -t 3:8300 $DEV || exit 1
+sgdisk -n 1::+256M -c 1:efi -t 1:ef02 $DEV || exit 1
+sgdisk -n 2::+100G -c 2:rootfs -t 2:8300 $DEV || exit 1
+sgdisk -n 3:: -c 3:homefs -t 3:8300 $DEV || exit 1
#sgdisk -n 3:209979392:976773168 -c 3:homefs -t 3:8300 $DEV || exit 1
sgdisk -p $DEV || exit 1