From 363c4e004dc96c8b3978a366c7ce1674c9341684 Mon Sep 17 00:00:00 2001 From: beech Date: Fri, 20 Jun 2025 01:01:47 -0500 Subject: [PATCH] Fix root partition --- install1.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install1.sh b/install1.sh index 8197492..22654da 100644 --- a/install1.sh +++ b/install1.sh @@ -24,10 +24,9 @@ sgdisk -Z $DISK # zap all on disk sgdisk -a 2048 -o $DISK # new gpt disk 2048 alignment # create partitions -read -r -p "Enter the root partition size (e.g., 35G): " ROOT_SIZE sgdisk -n 1:0:1024M $DISK # partition 1 (boot) -sgdisk -n 2:0:4G $DISK # partition 2 (SWAP - change to desired size) -sgdisk -n 3:0:$ROOT_SIZE ${DISK} # partition 3 (root) +sgdisk -n 2:0:8G $DISK # partition 2 (SWAP - change to desired size) +sgdisk -n 3:0:75G $DISK # partition 3 (root - change to desired size) sgdisk -n 4:0:0 $DISK # partition 4 (home, remaining space) # set partition types