grub fix
This commit is contained in:
parent
837d00e0f9
commit
38c01c5213
|
|
@ -26,7 +26,7 @@ echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
"
|
"
|
||||||
pacman -S --noconfirm pacman-contrib curl
|
pacman -S --noconfirm pacman-contrib curl
|
||||||
pacman -S --noconfirm reflector rsync grub btrfs-progs
|
pacman -S --noconfirm reflector rsync grub btrfs-progs arch-install-scripts
|
||||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||||
|
|
||||||
nc=$(grep -c ^processor /proc/cpuinfo)
|
nc=$(grep -c ^processor /proc/cpuinfo)
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ Final Setup and Configurations
|
||||||
GRUB EFI Bootloader Install & Check
|
GRUB EFI Bootloader Install & Check
|
||||||
"
|
"
|
||||||
source /root/ArchTitus/setup.conf
|
source /root/ArchTitus/setup.conf
|
||||||
|
genfstab -U / >> /etc/fstab
|
||||||
if [[ -d "/sys/firmware/efi" ]]; then
|
if [[ -d "/sys/firmware/efi" ]]; then
|
||||||
grub-install --efi-directory=/boot ${DISK}
|
grub-install --efi-directory=/boot ${DISK}
|
||||||
fi
|
fi
|
||||||
|
|
@ -41,7 +42,6 @@ echo -e "Updating grub..."
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
echo -e "All set!"
|
echo -e "All set!"
|
||||||
|
|
||||||
genfstab -U /mnt >> /mnt/etc/fstab
|
|
||||||
echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
Cleaning
|
Cleaning
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue