This commit is contained in:
Your Name 2024-02-03 23:05:02 -07:00
parent d547c77c07
commit 77a16b0058

View File

@ -468,8 +468,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
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $SWAP_SIZEGiB
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $SWAP_SIZEGiB 100%
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $SWAP_SIZE GiB
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $SWAP_SIZE GiB 100%
partitionDetection
echo
echo "Formatting....."