[OLD ARCHIVE] Scripts for full Arch Install
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
beech 8fd053480d Updated instructions 2 years ago
LICENSE Initial commit 2 years ago
README.md Updated instructions 2 years ago
aur.sh Updated AUR setup 2 years ago
nvidia.sh Updated Nvidia 2 years ago
preinstall1.sh Updated comments 2 years ago
preinstall2.sh Hostname comment 2 years ago
setup-gnome.sh Updated filenames & README 2 years ago
setup-kde.sh Added KDE setup 2 years ago
setup-vmgnome.sh Updated VM setup audio 2 years ago
setup-vmkde.sh Updated VM setup audio 2 years ago
software.sh Updated software 2 years ago

README.md

Arch Linux Install Scripts

Scripts for Arch install & configuration with GNOME or KDE Plasma, support packages, and apps.


Arch Live ISO

This step installs Arch to your hard drive. IT WILL FORMAT THE DISK

Boot into your Arch ISO & run commands:

# Installer 1
curl https://git.boppdev.net/beech/ArchScripts/raw/branch/main/preinstall1.sh -o preinstall1.sh
sh preinstall1.sh

# Enter Arch root directory
arch-chroot /mnt

# Set your root password
passwd

# Create your user account, replace USERNAME with your desired username
useradd -m -g users -G wheel,storage,power -s /bin/bash USERNAME

# Set the password for your account, replace USERNAME with the user you created
passwd USERNAME # Set your USER password

# File edits for permissions
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
echo "Defaults rootpw" >> /etc/sudoers 

# Run this & take note of your network adapter name (ex: ens33)
ip link 

# 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

# Installer 2
sh preinstall2.sh

# Preparing for first boot (Non-Nvidia GPU)
exit
umount -R /mnt

# Preparing for first boot (Nvidia GPU)
curl https://git.boppdev.net/beech/ArchScripts/raw/branch/main/nvidia.sh -o nvidia.sh
sh nvidia.sh

nano /boot/loader/entries/arch.conf

# Add this to the end of the last line (ex: rw nvidia-drm.modeset=1) & save
nvidia-drm.modeset=1 

exit
umount -R /mnt

# Reboot Machine (remove installation media during reboot)
reboot

After First Boot

sudo pacman -S --noconfirm pacman-contrib git
sudo git clone https://git.boppdev.net/beech/ArchScripts
cd ArchScripts

# Normal Install
sh setup-gome.sh # GNOME install
OR
sh setup-kde.sh # KDE install

reboot

sh software.sh

After First Boot (VM)

sudo pacman -S --noconfirm pacman-contrib git
sudo git clone https://git.boppdev.net/beech/ArchScripts
cd ArchScripts

# Installed as VM
sh setup-vmgnome.sh # GNOME install (VM)
OR
sh setup-vmkde.sh # KDE install (VM)

# Audio Fix for VMs
mkdir -p ~/.config/wireplumber/wireplumber.conf.d/
cd ~/.config/wireplumber/wireplumber.conf.d
nano 50-alsa-config.conf

# Add the following lines:
monitor.alsa.rules = [
  {
    matches = [
      # This matches the value of the 'node.name' property of the node.
      {
        node.name = "~alsa_output.*"
      }
    ]
    actions = {
      # Apply all the desired node specific settings here.
      update-props = {
        api.alsa.period-size   = 1024
        api.alsa.headroom      = 8192
      }
    }
  }
]

# Reboot Machine
reboot

sh software.sh

System Description

GNOME or KDE Desktop Enviornment

GDM or SDDM Login Manager

Booting using systemd

Credits

Credits to rickellis - ArchMatic for inspiration