More mount corrections
This commit is contained in:
parent
41c9261edc
commit
10f6b499aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user