Skip to content

Arch by Hand

You'll install Arch Linux from the wiki with no installer, partitioning, formatting, bootloader and all, so you understand every piece a graphical installer hides.

About

Arch has no installer in the usual sense, only a shell, a wiki page and you. Every step a graphical installer does in silence, you'll do by hand: partition the disk, make the filesystems, bootstrap the base system, write fstab, set the clock and locale, install a bootloader, and make a user. It takes most people three tries, and the first failure is usually the bootloader. The archinstall script exists and doesn't count here, because the point is the wiki, not the result. A VM is fine for the first attempt, and the badge wants the last attempt on real hardware.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
Two or three weekends
Skill level
Advanced (years of practice)
Cost
Cheap (under $10)
Supplies
You need some
Where
At home
Other people
On your own
Locked for now
Earn two more Uncommon badges in Linux to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Partition and format the disk from the live shell. Boot the Arch ISO, confirm you're in UEFI mode with the efivars check, and partition with fdisk or gdisk: a 512 MB EFI partition, root, and swap if you want it. Format them and mount them under /mnt. Read the device name twice before you write the partition table, because there is no undo. Take a photo of lsblk showing the mounted layout. Photo
  2. 2
    Bootstrap the base system and generate fstab. Run pacstrap with base, linux, linux-firmware and a text editor, then genfstab into /mnt/etc/fstab and read what it wrote. Take a photo of the generated fstab. Photo
  3. 3
    Configure the system from inside the chroot. arch-chroot in, set the timezone, generate your locale, set the hostname and hosts, set the root password, and make your user with sudo rights. Install NetworkManager or iwd so you'll have a network after the reboot, which is the thing everyone forgets. Take a photo of the terminal showing your locale and hostname set. Photo
  4. 4
    Install a bootloader by hand and reboot into the new system. GRUB with grub-install and grub-mkconfig, or systemd-boot with bootctl and a loader entry you wrote yourself. Install the microcode package for your CPU too. Reboot, remove the stick, and log in. If it doesn't boot, the Rescue Chroot badge covers the fix. Take a photo of the first login prompt on the new system. Photo
  5. 5
    Get a desktop or window manager up with sound and a network. Install a display server or compositor, a window manager or desktop, a login manager if you want one, pipewire for audio, and whatever drivers your graphics card needs. Take a photo of the desktop with a browser open and a video playing with sound. Photo
  6. 6
    Do the whole thing again on real hardware with the wiki closed as much as you can. Keep a count of how many times you had to open the wiki. The second install usually takes a third of the time. Take a photo of fastfetch or neofetch on the finished machine, and tell us your wiki count and what tripped you up. Photo