This commit is contained in:
Your Name 2024-02-03 23:20:48 -07:00
parent 5d34b566c9
commit 80cc557b05

View File

@ -468,10 +468,8 @@ initialize-disk() {
parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB 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 mkpart primary ext3 200MiB $ROOT_PARTITION_SIZE
parted -a optimal /dev/$HARD_DISK set 1 esp on parted -a optimal /dev/$HARD_DISK set 1 esp on
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE ${SWAP_SIZE}
echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $ROOT_PARTITION_SIZE $SWAP_SIZE parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 ${SWAP_SIZE} 100%
sleep 5
parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $SWAP_SIZE 100%
partitionDetection partitionDetection
echo echo
echo "Formatting....." echo "Formatting....."