Had to add the install disk at the end of the grub-install lines (didn't see that until I tried to install 3 times)

This commit is contained in:
Tristan Ancelet 2023-11-10 17:03:28 -06:00
parent fc290a728d
commit b44ac4e4b4

View File

@ -201,9 +201,6 @@ locale-gen
## Configure locale.conf ## Configure locale.conf
echo 'LANG=$LOCALE' > /etc/locale.conf echo 'LANG=$LOCALE' > /etc/locale.conf
sync
sleep 1
# Install and Enable Networking Systems # Install and Enable Networking Systems
## ##
#networkmanager: #networkmanager:
@ -218,9 +215,6 @@ pacman -S --noconfirm networkmanager wpa_supplicant
## Enabling systemd services ## Enabling systemd services
systemctl enable wpa_supplicant NetworkManager systemctl enable wpa_supplicant NetworkManager
sync
sleep 1
## Installing bootloader ## Installing bootloader
#grub: #grub:
#Grub is a bootloader. A program that helps you boot into an installed system #Grub is a bootloader. A program that helps you boot into an installed system
@ -236,11 +230,11 @@ sleep 1
case "${BOOT_METHOD,,}" in case "${BOOT_METHOD,,}" in
efi) efi)
echo "pacman -S --noconfirm grub efibootmgr" echo "pacman -S --noconfirm grub efibootmgr"
echo "grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi" echo "grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi $DISK"
;; ;;
bios) bios)
echo "pacman -S --noconfirm grub" echo "pacman -S --noconfirm grub"
echo "grub-install --target=i386-pc --boot-directory=/boot" echo "grub-install --target=i386-pc --boot-directory=/boot $DISK"
;; ;;
esac esac
` `
@ -262,10 +256,10 @@ grub-mkconfig -o /boot/grub/grub.cfg
# This is the default desktop manager (login screen) for gnome. This just handles the login screen and starting up your desktop session & windowing system based off of your choices. # This is the default desktop manager (login screen) for gnome. This just handles the login screen and starting up your desktop session & windowing system based off of your choices.
## Install desktop env ## Install desktop env
pacman -S --noconfirm gnome #pacman -S --noconfirm gnome
## Enable desktop manager/login-screen ## Enable desktop manager/login-screen
systemctl enable gdm #systemctl enable gdm
## Setting root password ## Setting root password
echo -e '$ROOT_PASSWORD\n$ROOT_PASSWORD\n' | passwd echo -e '$ROOT_PASSWORD\n$ROOT_PASSWORD\n' | passwd