Arch Linux Installation Guide - Minimal Profile
This guide walks you through installing Arch Linux using the archinstall
script with a minimal desktop profile.
Prerequisites
- A computer with UEFI firmware
- At least 2GB RAM and 20GB storage
- Stable internet connection
- USB drive (4GB minimum)
Step 1: Create Bootable USB
Download Required Files
- Download the latest Arch Linux ISO from the official website
- Download Ventoy for your operating system
Create Bootable USB
- Extract the Ventoy archive
- Run Ventoy and select your USB drive
- Install Ventoy to the USB drive
- Copy the Arch Linux ISO file to the USB drive
Note: For detailed Ventoy instructions, see this guide
Step 2: Boot from USB
- Insert the USB drive and restart your computer
- Press the boot menu key (usually F12, F2, or Del) during startup
- Select your USB drive from the boot menu
- Choose the Arch Linux ISO from Ventoy's menu
- Select "Boot in normal mode"
Step 3: Connect to Internet
Wired Connection
Wired connections work automatically - no configuration needed.
Wireless Connection
Use the iwctl
utility for WiFi setup:
iwctl
From the [iwd]#
prompt, list available devices and connect:
[iwd]# device list
[iwd]# station wlan0 scan
[iwd]# station wlan0 get-networks
[iwd]# station wlan0 connect "Your-WiFi-Name"
Enter your WiFi password when prompted, then exit with Ctrl+D
.
Verify Connection
ping -c 3 archlinux.org
Step 4: Prepare Disk Partitions
View Available Disks
lsblk
Create Partitions
Use cfdisk
to create partitions:
cfdisk /dev/sdX # Replace X with your disk letter
Create these three partitions:
Partition | Size | Type | Purpose |
---|---|---|---|
/dev/sdX1 | 512MB | EFI System | Boot partition |
/dev/sdX2 | 4-8GB | Linux swap | Swap space |
/dev/sdX3 | Remaining | Linux filesystem | Root partition |
Format Partitions
Replace /dev/sdX#
with your actual partition paths:
# Format root partition
mkfs.ext4 /dev/sdX3
# Format EFI partition
mkfs.vfat -F 32 /dev/sdX1
# Create swap
mkswap /dev/sdX2
Mount Partitions
# Create mount point and mount root
mkdir /mnt/archinstall
mount /dev/sdX3 /mnt/archinstall
# Mount EFI partition
mkdir /mnt/archinstall/boot
mount /dev/sdX1 /mnt/archinstall/boot
# Enable swap
swapon /dev/sdX2
Step 5: Update System and Launch Installer
# Update package database and install latest archinstall
pacman -Sy archinstall archlinux-keyring
# Launch the installer
archinstall
Step 6: Configure Installation
The archinstall
script will present a menu. Configure each option:
Required Settings
Locales
- Keyboard layout: Select your keyboard layout
- Locale language: Choose your language (e.g., en_US)
- Locale encoding: UTF-8 (default)
Mirrors
- Select mirror region closest to your location
Disk configuration
- Choose "Partitioning"
- Select "Pre-mounted configuration"
- Enter mount point:
/mnt/archinstall
Swap
- Enable if you created a swap partition
Bootloader
- Recommended:
grub-install
for broader compatibility - Alternative:
systemd-bootctl
for UEFI systems
- Recommended:
Hostname
- Enter a name for your computer (e.g.,
arch
)
- Enter a name for your computer (e.g.,
Root password
- Set a strong password for the root account
User account
- Create a regular user account
- Add to user account to sudo group access
Profile and Software
Profile
- Select "Type" → "Minimal"
- This installs a base system without desktop environment
Audio
- Select "Pipewire" (modern audio system)
Kernels
- Keep default "linux" kernel
- Add "linux-lts" for stability if desired
Network configuration
- Select "Use NetworkManager"
Additional packages
- Add essential packages:
git vim
- Add essential packages:
Optional repositories
- Enable
multilib
for 32-bit application support
- Enable
Final Settings
Timezone
- Select your timezone
Automatic time sync (NTP)
- Leave enabled (recommended)
Step 7: Install System
- Review all settings carefully
- Select "Install" to begin the installation
- Confirm when prompted
- Wait for installation to complete (10-30 minutes)
Step 8: Post-Installation
When installation completes, remove the USB drive
Reboot the system:
shreboot
Log in with your user account
Update the system:
shsudo pacman -Syu
Next Steps
Your minimal Arch Linux system is now ready!
Congratulations! 🎉 You've successfully installed Arch Linux and can now proudly say "I use Arch, btw!"