Generate fstab from /mnt and use label to prevent incorrect UUID issue.
UUIDs always differ, use labels since we utilize them in formatting
This commit is contained in:
parent
f78e8e17c1
commit
28dcb64e8d
|
|
@ -147,6 +147,12 @@ pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyri
|
|||
echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf
|
||||
cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus
|
||||
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
|
||||
|
||||
genfstab -L /mnt >> /mnt/etc/fstab
|
||||
echo "
|
||||
Generated /etc/fstab:
|
||||
"
|
||||
cat /mnt/etc/fstab
|
||||
echo -ne "
|
||||
-------------------------------------------------------------------------
|
||||
GRUB BIOS Bootloader Install & Check
|
||||
|
|
|
|||
|
|
@ -16,11 +16,6 @@ Final Setup and Configurations
|
|||
GRUB EFI Bootloader Install & Check
|
||||
"
|
||||
source ${HOME}/ArchTitus/configs/setup.conf
|
||||
genfstab -U -p / >> /etc/fstab
|
||||
echo "
|
||||
Generated /etc/fstab:
|
||||
"
|
||||
cat /etc/fstab
|
||||
|
||||
if [[ -d "/sys/firmware/efi" ]]; then
|
||||
grub-install --efi-directory=/boot ${DISK}
|
||||
|
|
|
|||
Loading…
Reference in New Issue