This commit is contained in:
Your Name 2024-02-03 23:16:32 -07:00
parent ce1d2a3cc5
commit e7a6e0d98f

View File

@ -469,7 +469,7 @@ 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_SIZEGiB"
echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $SWAP_SIZEGiB
sleep 5
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 "$SWAP_SIZE" GiB 100%
partitionDetection