Arch Linux Installation Guide
Arch Linux Manual Installation
This document describes a pure CLI-based Arch Linux installation for servers and homelabs.
- No GUI
- No installer scripts
- No shortcuts
- Everything is explicit and reproducible
Info
Follow these instructions carefully when performing a fresh bare-metal Arch Linux installation.
Why Manual Install?
- Learn Linux internals
- Minimal system footprint
- Full control over packages and services
Steps Overview
- Boot ISO
- Partition disk
- Mount filesystems
- Install base
- Install bootloader
- Create users
Step 1 — Boot & Preparation
Boot using the official Arch Linux ISO.
Verify UEFI mode:
Enable NTP and set keyboard layout:
Step 2 — Disk Partitioning (CLI)
List available disks:
Example Partition Scheme:
Partition using cfdisk:
Create:
- EFI System Partition (/dev/sda1)
- Linux filesystem partition (/dev/sda2)
Step 3 — Format & Mount
mkfs.fat -F32 /dev/sda1
mkfs.ext4 /dev/sda2
mount /dev/sda2 /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
Step 4 — Install Base System
Generate fstab:
Chroot into system:
Step 5 — Core Configuration
Timezone & Clock:
Locale setup:
Uncomment en_US.UTF-8 UTF-8 in /etc/locale.gen, then generate:
Step 6 — Networking (CLI)
Install NetworkManager:
Note
NetworkManager is used for stable CLI networking and recovery.
Step 7 — Users & Privileges
Set root password:
Create admin user:
Enable sudo:
Uncomment:
Step 8 — Bootloader (systemd-boot, CLI)
Install bootloader:
Edit /boot/loader/loader.conf:
Create boot entry /boot/loader/entries/arch.conf:
Get root UUID using blkid.
Step 9 — Reboot
Maintenance & Recovery
Maintenance Policy (CLI)
System Updates:
Rules: - Update regularly - Read output carefully - Never interrupt upgrades
Failure Handling Model
Recovery Rule
System failures must result in automated redeployment, not manual patching.