local man needed to study more

pull/3/head
Matt C 3 years ago
parent 2afda22011
commit 66b109f1b1

@ -115,13 +115,13 @@ if [[ "$MANUAL" == "no" ]]; then
echo "Partitioning disk"
if [[ "$EFI" == "yes" ]]; then
parted ${DISK} mklabel gpt --script
parted ${DISK} mkpart 0 300 --script
parted ${DISK} mkpart 300 100% --script
parted ${DISK} 'mklabel gpt' --script
parted ${DISK} 'mkpart primary vfat 0 300' --script
parted ${DISK} 'mkpart primary ext4 300 100%' --script
inf "Partitioned ${DISK} as an EFI volume"
else
parted ${DISK} mklabel msdos --script
parted ${DISK} mkpart 0 100% --script
parted ${DISK} 'mklabel msdos' --script
parted ${DISK} 'mkpart primary ext4 1 -1' --script
inf "Partitioned ${DISK} as an MBR volume"
fi

Loading…
Cancel
Save