pull/1/head
beech 2 years ago
parent 6e33a49539
commit 16baee96e2
  1. 13
      README.md
  2. 5
      preinstall1.sh

@ -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

@ -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 "-------------------------------------------------"