Genfstab still gave me some errors, even tho everything worked. This modification removed error for me

This commit is contained in:
stojshic 2022-01-26 21:13:15 +01:00
parent 03e2e79c2e
commit 0182c17afe
2 changed files with 4 additions and 4 deletions

View File

@ -25,10 +25,10 @@ Setting up mirrors for optimal download
source setup.conf
iso=$(curl -4 ifconfig.co/country-iso)
timedatectl set-ntp true
pacman -S --noconfirm pacman-contrib terminus-font
pacman -S --noconfirm --needed pacman-contrib terminus-font
setfont ter-v22b
sed -i 's/^#ParallelDownloads/ParallelDownloads/' /etc/pacman.conf
pacman -S --noconfirm reflector rsync grub
pacman -S --noconfirm --needed reflector rsync grub
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
echo -ne "
-------------------------------------------------------------------------
@ -42,7 +42,7 @@ echo -ne "
Installing Prerequisites
-------------------------------------------------------------------------
"
pacman -S --noconfirm gptfdisk btrfs-progs
pacman -S --noconfirm --needed gptfdisk btrfs-progs
echo -ne "
-------------------------------------------------------------------------
Formating Disk

View File

@ -16,7 +16,7 @@ Final Setup and Configurations
GRUB EFI Bootloader Install & Check
"
source /root/ArchTitus/setup.conf
genfstab -U /mnt >> /etc/fstab
genfstab -U -p / >> /etc/fstab
if [[ -d "/sys/firmware/efi" ]]; then
grub-install --efi-directory=/boot ${DISK}
fi