How to Install Arch
October 15th, 2020 (posted on January 1st, 2021)
[NOTE] this guide has only been verified on a virtual machine, YMMV
go through normal setup until chrooted
pacman -S dhcpcd dhcp dnsmasq base-devel emacs grub efibootmgr netctl
- Continue until bootloader
- Install
grub
- Reboot
Set up networking
systemctl enable dhcpcd.service systemctl enable systemd-resolved --now ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Add a new user
useradd -m <user> passwd <user> usermod --append --groups wheel <user> export EDITOR=/usr/bin/emacs visudo
Find the wheel group in the User Privilege Specification section and uncomment so it looks like this:
## Uncomment to allow members of group wheel to execute any command %wheel ALL=(ALL) ALL
Set up a Desktop Environment (XFCE)
pacman -S xfce4 xfce4-goodies xorg-server ##Ensure you're logged in as a user, not root echo exec startxfce4 >> ~/.xinitrc
Automatically boot into desktop
Edit
~/.bash_profile
and append the following to the end:if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then exec startx fi
- Reboot
Congrats! Enjoy your Arch installation!!