From b44ac4e4b45f48d19db10668572239709d95f8a4 Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Fri, 10 Nov 2023 17:03:28 -0600 Subject: [PATCH] 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) --- bare-arch-install.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/bare-arch-install.sh b/bare-arch-install.sh index ae76719..b39b3a7 100755 --- a/bare-arch-install.sh +++ b/bare-arch-install.sh @@ -201,9 +201,6 @@ locale-gen ## Configure locale.conf echo 'LANG=$LOCALE' > /etc/locale.conf -sync -sleep 1 - # Install and Enable Networking Systems ## #networkmanager: @@ -218,9 +215,6 @@ pacman -S --noconfirm networkmanager wpa_supplicant ## Enabling systemd services systemctl enable wpa_supplicant NetworkManager -sync -sleep 1 - ## Installing bootloader #grub: #Grub is a bootloader. A program that helps you boot into an installed system @@ -236,11 +230,11 @@ sleep 1 case "${BOOT_METHOD,,}" in efi) 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) 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 ` @@ -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. ## Install desktop env -pacman -S --noconfirm gnome +#pacman -S --noconfirm gnome ## Enable desktop manager/login-screen -systemctl enable gdm +#systemctl enable gdm ## Setting root password echo -e '$ROOT_PASSWORD\n$ROOT_PASSWORD\n' | passwd