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.
2.9 KiB
2.9 KiB
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
# Creating user account - Run commands below & replace "USERNAME" with your preferred username.
arch-chroot /mnt
passwd # Set your ROOT password
useradd -m -g users -G wheel,storage,power -s /bin/bash USERNAME
passwd USERNAME # Set your USER password
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
echo "Defaults rootpw" >> /etc/sudoers # Require root pass for sudo
ip link # Take note of your network adapter name (ex: ens33)
# 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
reboot # Remove installation media during reboot
# 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
nvidia-drm.modeset=1 # Add this to the end of the last line (ex: rw nvidia-drm.modeset=1)
exit
umount -R /mnt
reboot # Remove installation media during 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
}
}
}
]
# Restart Pipewire
systemctl --user restart wireplumber pipewire pipewire-pulse
reboot
sh software.sh
System Description
GNOME or KDE Desktop Enviornment
GDM or SDDM Login Manager
Booting using systemd