From a18dd55eed08086787ac2eff12a1f8bf2de02ea3 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 3 Feb 2024 23:25:57 -0700 Subject: [PATCH] s --- gentoo-gnome.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index 3f2b778..835801a 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -469,8 +469,8 @@ initialize-disk() { parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB parted -a optimal /dev/$HARD_DISK mkpart primary ext3 200MiB $ROOT_PARTITION_SIZE parted -a optimal /dev/$HARD_DISK set 1 esp on - echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE ${SWAP_VAL} - echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 ${SWAP_VAL} 100% + echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $(expr $ROOT_PARTITION_SIZE + 16) + echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $(expr $ROOT_PARTITION_SIZE + 16) 100% echo $SWAP_SIZE $ROOT_PARTITION_SIZE sleep 5 partitionDetection