From 8083e3dfa53d9b4f50c6942fcb993b3eef597c8f Mon Sep 17 00:00:00 2001 From: Amy Date: Tue, 14 Dec 2021 18:16:02 +0100 Subject: [PATCH] now actually formats boot partition as ext4 on non-nvme bios --- citrine.internal.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 8aff202..c8b6de3 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -118,7 +118,7 @@ if [[ "$MANUAL" == "no" ]]; then if [[ "$EFI" == "yes" ]]; then parted ${DISK} mklabel gpt --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" else parted ${DISK} mklabel msdos --script @@ -174,6 +174,7 @@ if [[ "$MANUAL" == "no" ]]; then else inf "Initializing ${DISK} as MBR" mkfs.btrfs -f ${DISK}1 + mkfs.ext4 ${DISK}2 mount ${DISK}1 /mnt cd /mnt btrfs subvolume create @