c
This commit is contained in:
parent
e3755c76fb
commit
841cb76b8a
@ -468,11 +468,9 @@ initialize-disk() {
|
|||||||
SWAP_SIZE_END="$(expr $SWAP_SIZE + $ROOT_PARTITION_SIZE)"
|
SWAP_SIZE_END="$(expr $SWAP_SIZE + $ROOT_PARTITION_SIZE)"
|
||||||
parted /dev/$HARD_DISK mklabel gpt
|
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 fat32 1MiB 200MiB
|
||||||
parted -a optimal /dev/$HARD_DISK mkpart root ext3 200MiB ${ROOT_PARTITION_SIZE}GB
|
parted -a optimal /dev/$HARD_DISK mkpart swap ext3 200MiB ${SWAP_SIZE_END}GB
|
||||||
|
parted -a optimal /dev/$HARD_DISK mkpart root ext3 200MiB 100%
|
||||||
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 swap ext3 ${ROOT_PARTITION_SIZE}GB ${SWAP_SIZE_END}GB
|
|
||||||
parted -a optimal /dev/$HARD_DISK mkpart home ext3 ${SWAP_SIZE_END}GB 100%
|
|
||||||
sleep 10
|
|
||||||
partitionDetection
|
partitionDetection
|
||||||
echo
|
echo
|
||||||
echo "Formatting....."
|
echo "Formatting....."
|
||||||
|
Loading…
Reference in New Issue
Block a user