~/ Arch Linux Installation Guide

Master the process of installing Arch Linux with this step-by-step guide, covering everything from booting the ISO to configuring your system for daily use.

May 22, 2025

|

12 min read

Arch Linux
Linux Installation
Operating Systems
System Setup
Beginner Friendly

Welcome to this step-by-step guide to installing Arch Linux. This guide walks you through installing Arch with a UEFI system, a swap partition, and GRUB as the bootloader. It will take you around 30 minutes to install.

Note: Make sure you're on a UEFI system and connected to the internet.
You can also refer the official installation guide for more information.


  1. Download the latest Arch ISO from the official website.
  2. Create a bootable USB using Rufus (Windows) or dd (Linux/macOS).
  3. Disable Secure Boot in UEFI settings.
  4. Boot into the USB and open the terminal.

You're likely already connected.

Use iwctl:

Bash

iwctl device list station <device> scan station <device> get-networks station <device> connect <SSID> exit

Test the connection:

Bash

ping bigbeastishank.com

Bash

timedatectl set-ntp true

Use cfdisk on your disk (replace /dev/sdX):

Bash

cfdisk /dev/sdX

Create the following partitions:

  • EFI - 512MiB (type: EFI System)
  • Swap - (RAM size + 0.5GiB)
  • Root - Remaining space

Bash

mkfs.fat -F32 /dev/sdX1 # EFI mkswap /dev/sdX2 # Swap swapon /dev/sdX2 mkfs.ext4 /dev/sdX3 # Root

Bash

mount /dev/sdX3 /mnt mkdir -p /mnt/boot/EFI mount /dev/sdX1 /mnt/boot/EFI

Bash

pacstrap -K /mnt base linux linux-firmware vim networkmanager grub efibootmgr osprober sudo git

Bash

genfstab -U /mnt >> /mnt/etc/fstab

Bash

arch-chroot /mnt

Bash

ln -sf /usr/share/zoneinfo/Region/City /etc/localtime hwclock --systohc echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen locale-gen echo "LANG=en_US.UTF-8" > /etc/locale.conf

Bash

echo "MyLappy" > /etc/hostname

Bash

cat <<EOF > /etc/hosts 127.0.0.1 localhost ::1 localhost 127.0.1.1 MyLappy.localdomain MyLappy EOF

Bash

passwd

Bash

grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id="Arch Linux" grub-mkconfig -o /boot/grub/grub.cfg

Bash

systemctl enable NetworkManager

Bash

useradd -m -G wheel yourusername passwd yourusername EDITOR=vim visudo

Inside the visudo file, uncomment this line:

Bash

%wheel ALL=(ALL:ALL) ALL

Bash

exit umount -R /mnt reboot

If you want to use my dotfile you can view my dotfiles repository.

Or you can simply run these commands after login to rice you linux in my style.

Bash

git clone https://github.com/BIGBEASTISHANK/dotfiles cd dotfiles chmod +x ./syscopy.sh ./syscopy.sh