This commit is contained in:
Your Name 2024-02-03 23:25:57 -07:00
parent 62b25d8c77
commit a18dd55eed

View File

@ -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 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
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 $ROOT_PARTITION_SIZE $(expr $ROOT_PARTITION_SIZE + 16)
echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 ${SWAP_VAL} 100% echo parted -a optimal /dev/$HARD_DISK mkpart P2 ext3 $(expr $ROOT_PARTITION_SIZE + 16) 100%
echo $SWAP_SIZE $ROOT_PARTITION_SIZE echo $SWAP_SIZE $ROOT_PARTITION_SIZE
sleep 5 sleep 5
partitionDetection partitionDetection