Arch Linux Installation Guide
A complete, beginner-friendly guide. Follow each step carefully—you've got this!
Pre-Flight Checklist
Before you begin, make sure you have everything ready:
What You'll Need
- A computer — 64-bit processor, 512MB+ RAM, 8GB+ storage (20GB+ recommended)
- USB drive — At least 4GB capacity (will be erased!)
- Internet connection — Ethernet cable is easiest; Wi-Fi works too
- Another device — Phone or laptop to read this guide
- 1-2 hours — Don't rush it, take your time
This process will erase everything on the target drive. Back up any important files to an external drive or cloud storage first!
What You'll Learn
- How Linux filesystems work
- Disk partitioning
- Command line basics
- System configuration
The Installation Process
Create a Bootable USB Drive
Burn the ISO to USB using Rufus or dd
We need to "burn" the ISO to your USB drive so your computer can boot from it.
On Windows (using Rufus):
- Download Rufus (free, no install needed)
- Insert your USB drive
- Open Rufus, select your USB under "Device"
- Click "SELECT" and choose the Arch ISO file
- Click "START" and confirm the warning
On Linux (using dd):
/dev/sdX is the correct
device.
Write ISO to USB (Replace /dev/sdX):
Boot from the USB Drive
Boot key: F12 (Dell/Lenovo), F8 (Asus), F9 (HP)
Insert USB, restart PC, and press the boot key repeatedly.
Common boot keys:
- Dell/Lenovo/Acer: F12
- HP: F9 or Esc
- ASUS: F8 or Esc
- MSI: F11
Boot from USB media. Ensure Secure Boot is disabled if keys aren't enrolled.
Set Keyboard Layout
Optional: Load non-US keymap
Default is US. To change it:
Verify Boot Mode
Ensure you are booted in UEFI mode
64or32: UEFI mode (Good)No such file: Legacy BIOS (Not covered)
Connect to the Internet
Ethernet (plug & play) or Wi-Fi (iwctl)
Ethernet:
Just plug in the cable. Verify with:
Wi-Fi (iwctl):
Sync System Clock
Ensure accurate time with NTP
Important for HTTPS connections and package verification.
Verify status:
Identify Target Disk
Find your drive (sda, nvme0n1) using lsblk
Find the name of the drive you want to install Arch on.
Common names:
sda/sdb: SATA SSDs or HDDsnvme0n1: NVMe M.2 SSDs (faster, newer)mmcblk0: eMMC storage (some laptops)
Partition the Disk
Create ESP, Swap, and Root partitions via cfdisk
We'll use cfdisk for a visual interface. Use arrow keys to navigate.
If asked, select gpt label type.
Create these partitions:
| Size | Type | Purpose |
|---|---|---|
| 512M | EFI System | Boot files |
| 4G+ | Linux Swap | Virtual RAM |
| Rest | Linux Filesystem | Root / System |
Select [ Write ], type yes, then
[ Quit ].
Layout: 512M (ESP), 4G (Swap), Rest (Root - Linux Filesystem)
Format Partitions
Format EFI (FAT32), Swap, and Root (EXT4)
Now we add file systems to the empty partitions we just created.
1. Format EFI Partition (FAT32)
2. Setup Swap
3. Format Root Partition (EXT4)
/dev/sdaX numbers if yours are different!
Mount Filesystems
Mount Root to /mnt and EFI to /mnt/boot
Now we mount these partitions to make them accessible.
1. Mount Root Partition
2. Create Boot Directory
3. Mount EFI Partition
Install the Base System
Install base, kernel, firmware, and essential tools
This is where we actually install Arch Linux! The pacstrap command downloads
and
installs packages.
What these packages are:
base— Essential Arch Linux packageslinux— The Linux kernellinux-firmware— Drivers for hardware
Add essential extras:
What these are:
base-devel— Tools for building packages (needed for AUR)nano— Easy text editorvim— Advanced text editornetworkmanager— Manage network connections after rebootgrub— Bootloaderefibootmgr— EFI boot manager
Installs Base, Kernel, Firmware, Dev Tools, Editors, NetworkManager, and GRUB.
Generate the Filesystem Table
Generate fstab so partitions mount at boot
The fstab file tells Linux what partitions to mount at boot.
Verify it looks correct:
You should see entries for your root and EFI partitions.
Enter the New System (Chroot)
Switch to the installed Arch system
Now we "enter" the newly installed system to configure it from the inside.
Notice your prompt changes — you're now inside your new Arch system!
Set the Time Zone
Configure localtime and hardware clock
Tell Linux where you are in the world for correct time display.
Find your timezone:
Set it (example for New York):
Common examples:
- London:
/usr/share/zoneinfo/Europe/London - Los Angeles:
/usr/share/zoneinfo/America/Los_Angeles - Tokyo:
/usr/share/zoneinfo/Asia/Tokyo - India:
/usr/share/zoneinfo/Asia/Kolkata
Set the hardware clock:
Set the Locale (Language)
Configure language and character encoding
Configure your system's language and character encoding.
Edit the locale file:
Find and uncomment (remove the #) your locale. For US English:
#en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8 ← Uncomment this line
#es_ES.UTF-8 UTF-8
Save and exit: Ctrl+O → Enter → Ctrl+X
Generate the locale:
Set the system-wide locale:
If you changed the keyboard layout earlier, make it permanent:
Set the Hostname
Name your computer and configure hosts file
The hostname is your computer's name on the network. Pick something fun!
Now configure the hosts file:
Add these lines:
127.0.0.1 localhost
::1 localhost
127.0.1.1 myarchpc.localdomain myarchpc
Save and exit: Ctrl+O → Enter → Ctrl+X
Set the Root Password
Secure the administrator account
The root user is the administrator account. Set a strong password!
Type your password (it won't show on screen), then type it again to confirm.
Create Your User Account
Add a user with sudo privileges
You shouldn't use root for daily tasks. Create a regular user account.
Create user (replace yourusername with your desired username):
What the flags mean:
-m— Create a home directory-G wheel— Add to the wheel group (for sudo)-s /bin/bash— Use bash as the default shell
Set your user password:
Enable sudo for the wheel group:
Find this line and uncomment it (remove the #):
# %wheel ALL=(ALL:ALL) ALL
Change it to:
%wheel ALL=(ALL:ALL) ALL
Save and exit: Ctrl+O → Enter → Ctrl+X
Uncomment %wheel ALL=(ALL:ALL) ALL
Install the Bootloader (GRUB)
Setup GRUB for UEFI booting
The bootloader is what starts Linux when you turn on your computer.
Install GRUB to the EFI partition:
Generate the GRUB configuration:
grub-mkconfig again to add Windows to the boot menu.
Enable NetworkManager
Ensure internet access on reboot
Enable networking so you can connect to the internet after reboot.
Reboot into Your New System!
Exit, unmount, and enjoy Arch
You did it! Time to boot into your fresh Arch Linux installation.
Exit chroot:
Unmount all partitions:
Reboot:
Remove your USB drive when the screen goes black!
Post-Installation: What's Next?
You now have a working Arch Linux system, but it's command-line only. Here's what to do next:
Install a Desktop Environment
To get a graphical interface:
Other desktop options:
- KDE Plasma — Most customizable
- XFCE — Lightweight, fast
- i3 — Tiling window manager (advanced)
Essential Software
Check out the Customization page for more tips!
Ready for the next level?
Now that you've installed Arch Linux, it's time to make it truly yours.