now actually formats boot partition as ext4 on non-nvme bios

pull/3/head
Amy 3 years ago
parent b6f2acfaa6
commit 8083e3dfa5
No known key found for this signature in database
GPG Key ID: 6672E6DD65BEA50B

@ -118,7 +118,7 @@ if [[ "$MANUAL" == "no" ]]; then
if [[ "$EFI" == "yes" ]]; then if [[ "$EFI" == "yes" ]]; then
parted ${DISK} mklabel gpt --script parted ${DISK} mklabel gpt --script
parted ${DISK} mkpart fat32 0 300 --script parted ${DISK} mkpart fat32 0 300 --script
parted ${DISK} mkpart ext4 300 100% --script parted ${DISK} mkpart btrfs 300 100% --script
inf "Partitioned ${DISK} as an EFI volume" inf "Partitioned ${DISK} as an EFI volume"
else else
parted ${DISK} mklabel msdos --script parted ${DISK} mklabel msdos --script
@ -174,6 +174,7 @@ if [[ "$MANUAL" == "no" ]]; then
else else
inf "Initializing ${DISK} as MBR" inf "Initializing ${DISK} as MBR"
mkfs.btrfs -f ${DISK}1 mkfs.btrfs -f ${DISK}1
mkfs.ext4 ${DISK}2
mount ${DISK}1 /mnt mount ${DISK}1 /mnt
cd /mnt cd /mnt
btrfs subvolume create @ btrfs subvolume create @

Loading…
Cancel
Save