From a5db4fafce3f9187dd55eeef9fa58d90ef34ff72 Mon Sep 17 00:00:00 2001 From: cronyakatsuki Date: Thu, 13 Oct 2022 20:51:16 +0200 Subject: [PATCH] Forcing a creationg of the filesystems. --- arch_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch_install.sh b/arch_install.sh index f9f48b6..9b1555a 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -33,7 +33,7 @@ printf '\033c' lsblk echo "Enter the linux partition: " read partition -mkfs.btrfs -L ARCH $partition +mkfs.btrfs -f -L ARCH $partition read -p "Did you also create swap partition? [y/n]: " answer [[ $answer = "y" ]] && read -p "Enter swap partition: " swappartition @@ -41,7 +41,7 @@ read -p "Did you also create swap partition? [y/n]: " answer read -p "Did you also create efi partition? [y/n]: " answer [[ $answer = y ]] && read -p "Enter EFI partition: " efipartition -[[ ! -z ${efipartition+x} ]] && mkfs.vfat -F 32 $efipartition +[[ ! -z ${efipartition+x} ]] && mkfs.vfat -f -F 32 $efipartition echo "Setting up btrfs subvolumes" mount $partition /mnt