This commit is contained in:
Your Name 2024-02-03 23:18:00 -07:00
parent d5f834deeb
commit db5be59e21

View File

@ -469,9 +469,9 @@ initialize-disk() {
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_SIZE GiB
echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE ${SWAP_SIZE}GiB
sleep 5
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 "$SWAP_SIZE" GiB 100%
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 ${SWAP_SIZE}GiB 100%
partitionDetection
echo
echo "Formatting....."