sd
This commit is contained in:
parent
75dc34335c
commit
3d26695950
@ -468,7 +468,7 @@ initialize-disk() {
|
|||||||
echo "Start: $SWAP_SIZE END: $SWAP_SIZE_END"
|
echo "Start: $SWAP_SIZE END: $SWAP_SIZE_END"
|
||||||
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
|
||||||
echo parted -a optimal /dev/$HARD_DISK mkpart root ext3 200MiB ${ROOT_PARTITION_SIZE}GB
|
parted -a optimal /dev/$HARD_DISK mkpart root ext3 200MiB ${ROOT_PARTITION_SIZE}GB
|
||||||
sleep 5
|
sleep 5
|
||||||
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
|
parted -a optimal /dev/$HARD_DISK mkpart swap ext3 ${ROOT_PARTITION_SIZE}GB $SWAP_SIZE_END
|
||||||
|
Loading…
Reference in New Issue
Block a user