From 10f6b499aad830cbfb66d054068d9cbd5ece9ede Mon Sep 17 00:00:00 2001 From: Phillip Date: Sat, 7 Sep 2024 22:12:13 +0100 Subject: [PATCH] More mount corrections --- scripts/0-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/0-install.sh b/scripts/0-install.sh index eedb535..f181b30 100644 --- a/scripts/0-install.sh +++ b/scripts/0-install.sh @@ -9,7 +9,7 @@ read -p 'Please enter the drive value for the EFI partition: ' efipar # Format the root partition to ext4 mkfs.ext4 /dev/$rootpar # Mount root partition -mount -o ${MNTOPTIONS},/dev/$rootpar /mnt +mount -o $MNTOPTIONS /dev/$rootpar /mnt # Ask if the EFI partition should be wiped before mounting read -p "Do you wish to wipe the EFI partition? If you already have an existing OS installed, say No. " yesno case $yesno in @@ -49,7 +49,7 @@ pacstrap -i /mnt base base-devel linux linux-firmware rsync networkmanager grub mkdir /mnt/boot/efi mount /dev/$efipar /mnt/boot/efi if test -z "$homepar"; then - mount -o ${MNTOPTIONS},/dev/$homepar /mnt/home + mount -o $MNTOPTIONS /dev/$homepar /mnt/home fi # Generate a fstab file genfstab -U /mnt >> /mnt/etc/fstab