Forcing a creationg of the filesystems.
This commit is contained in:
parent
4322130d59
commit
a5db4fafce
@ -33,7 +33,7 @@ printf '\033c'
|
|||||||
lsblk
|
lsblk
|
||||||
echo "Enter the linux partition: "
|
echo "Enter the linux partition: "
|
||||||
read 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
|
read -p "Did you also create swap partition? [y/n]: " answer
|
||||||
[[ $answer = "y" ]] && read -p "Enter swap partition: " swappartition
|
[[ $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
|
read -p "Did you also create efi partition? [y/n]: " answer
|
||||||
[[ $answer = y ]] && read -p "Enter EFI partition: " efipartition
|
[[ $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"
|
echo "Setting up btrfs subvolumes"
|
||||||
mount $partition /mnt
|
mount $partition /mnt
|
||||||
|
Loading…
Reference in New Issue
Block a user