The briefest Arch Linux installation guide

Published: Oct 15, 2019, last updated: Jun 28, 2020
Reading time: 3 min
Tags: Guides Linux Snippets Software 

Are you wanting an incredibly quick (to the point of being useless, or painfully truncated) guide for how to install Arch Linux on your computer?

Do you want to throw caution to the wind, booting from UEFI using systemd-boot instead of the more usual GRUB? Are you interested in Wayland/Sway instead of a more traditional Xorg/i3? Do you want to use a swap file instead of a partition? Do you desire UK specific keyboard layouts and timezone, even if you don’t want them?

Well why didn’t you say? Step aboard traveller..! Welcome to my personal guide (primarily for reference usage) on installing the venerable Arch Linux.

Now we’re logged in, we can set up the swap file as an alternative to a swap partition (mentioned earlier).

Lastly, I’d like to autologin my user, without using a display manager:

sudo mkdir -p /etc/systemd/system/getty@tty1.service.d
printf "[Service]\nExecStart=\nExecStart=-/usr/bin/agetty --autologin username --noclear %%I $TERM" | sudo tee /etc/systemd/system/getty@tty1.service.d/override.conf

Replacing username with whatever the use you want to login as.

fdisk /dev/sda > a {enter} w {enter}
sudo pacman -S grub
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg