This commit is contained in:
Your Name 2024-02-03 23:11:58 -07:00
parent 4c6fd67c76
commit 9d2bd94e4f

View File

@ -463,7 +463,7 @@ btrfs-tweaks() {
}
initialize-disk() {
SWAP_SIZE="(($ROOT_PARTITION_SIZE+=16))"
SWAP_SIZE=$(expr $ROOT_PARTITION_SIZE + 16)
parted /dev/$HARD_DISK mklabel gpt
parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB
parted -a optimal /dev/$HARD_DISK mkpart primary ext3 200MiB $ROOT_PARTITION_SIZE