From 16baee96e2b5a1af1d38e1b6c6862ad6744ae0b0 Mon Sep 17 00:00:00 2001 From: beech Date: Thu, 4 Jul 2024 00:10:00 -0500 Subject: [PATCH] Updates --- README.md | 13 +++++++++---- preinstall1.sh | 5 ++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index be6e0d2..35c6527 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,29 @@ This step installs arch to your hard drive. *IT WILL FORMAT THE DISK* Boot into your Arch ISO ```bash +# Installer 1 curl https://git.boppdev.net/beech/ArchScripts/raw/branch/main/preinstall1.sh -o preinstall1.sh sh preinstall1.sh +# Creating user account arch-chroot /mnt passwd -useradd -M -g users -G wheel,storage,power -s /bin/bash USERNAME +useradd -m -g users -G wheel,storage,power -s /bin/bash USERNAME passwd USERNAME sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers echo "Defaults rootpw" >> /etc/sudoers -ip link # Take note of your link name & edit in preinstall2. +ip link # Take note of your network adapter name (ex: ens33) -# Run preinstall2.sh +# Installer 2 Setup sudo pacman -S nano curl --noconfirm --needed curl https://git.boppdev.net/beech/ArchScripts/raw/branch/main/preinstall2.sh -o preinstall2.sh + +# Edit network adapter name for dhcpcd service in script line 43 nano preinstall2.sh -# Edit adapter name for dhcpcd service in script + +# Installer 2 sh preinstall2.sh exit umount -R /mnt diff --git a/preinstall1.sh b/preinstall1.sh index 66de967..f69cc0d 100644 --- a/preinstall1.sh +++ b/preinstall1.sh @@ -48,6 +48,9 @@ mount /dev/sda1 /mnt/boot mount /dev/sda4 /mnt/home # set download mirrors +echo "-------------------------------------------------" +echo "Setting Mirrorlist" +echo "-------------------------------------------------" cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup # backs up mirrorlist sudo pacman -Sy pacman-contrib --noconfirm @@ -66,5 +69,5 @@ echo "-------------------------------------------------" genfstab -U -p /mnt >> /mnt/etc/fstab echo "-------------------------------------------------" -echo "Finished with install script 1. Please run [arch-chroot /mnt] and move on to 2nd installer." +echo "Finished with install script 1. Please run [arch-chroot /mnt], create your user and move on to the 2nd installer." echo "-------------------------------------------------"