Back to all posts
Linux

How to Install Arch Linux on a PC or Laptop (2025 Edition – From Windows to Arch)

By Huzi

This guide is written for everyone moving from Windows — whether you’re on a laptop or desktop, using UEFI or Legacy BIOS. It’s clear, step-by-step, and accurate — everything you need from booting the USB to logging into your new Arch desktop.

⚙️ What You’ll Need

Before starting, prepare these:

  • A computer with Windows (for now)
  • Minimum: Dual-core CPU (Intel i3/i5/i7 3rd gen+), 4 GB RAM (8 GB recommended).
  • Storage: 20 GB+ for Arch (more for desktop environment).
  • A USB drive (at least 4 GB).
  • Stable internet connection (Ethernet or Wi-Fi).
  • Another device or your phone (to read this guide while installing).

🧱 Step 1: Back Up Your Data

You’re about to erase or modify partitions — so back up your important files:

  • Documents, photos, and browser bookmarks.
  • Windows product key (optional, for reinstalling later).
  • Use OneDrive, Google Drive, or an external HDD/SSD.

💿 Step 2: Download Arch Linux ISO

Visit the official Arch website: 👉 https://archlinux.org/download/

Click on “HTTP Direct Downloads” → choose the nearest mirror (like archlinux.org/iso/latest/).

You’ll get a file like: archlinux-2025.10.01-x86_64.iso

🧰 Step 3: Create a Bootable USB

On Windows:

Use Rufus (https://rufus.ie):

  1. Plug your USB drive.
  2. Open Rufus → Select ISO file.
  3. Partition Scheme:
    • UEFI systems: GPT + FAT32.
    • Legacy BIOS: MBR.
  4. File system: FAT32.
  5. Click Start.

When done, your USB is ready to boot Arch.

🔧 Step 4: Boot into Arch USB

Reboot your PC. Press your Boot Menu key:

  • Dell: F12
  • HP: Esc or F9
  • Lenovo: F12
  • Acer: F12
  • Asus: F8

Select your USB drive. You’ll see:

Arch Linux install medium (x86_64, UEFI)

Press Enter.

🌐 Step 5: Connect to the Internet

For Ethernet: You’re already connected — no setup needed.

For Wi-Fi: Run:

iwctl

Then inside the prompt:

device list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect your_wifi_name

Enter your Wi-Fi password. Check connection:

ping -c 3 archlinux.org

If you get replies — you’re online.

🕒 Step 6: Update the System Clock

timedatectl set-ntp true

Confirm:

timedatectl status

💽 Step 7: Partition the Disk

List all disks:

lsblk

Usually:

  • /dev/sda → HDD
  • /dev/nvme0n1 → SSD

If you want a clean install (remove Windows completely): Use cfdisk:

cfdisk /dev/sda

Choose your partition table type:

  • UEFI: GPT
  • Legacy BIOS: DOS

Example layout (UEFI):

Mount Point Partition Type Size
/boot/efi /dev/sda1 EFI System 512M
swap /dev/sda2 Linux swap 2–4G
/ /dev/sda3 Linux filesystem Rest of disk

WriteConfirmQuit.

💾 Step 8: Format the Partitions

For UEFI:

mkfs.fat -F32 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mkfs.ext4 /dev/sda3

For Legacy BIOS (no EFI partition):

mkswap /dev/sda1
swapon /dev/sda1
mkfs.ext4 /dev/sda2

🧍 Step 9: Mount the Partitions

For UEFI:

mount /dev/sda3 /mnt
mkdir /mnt/boot
mkdir /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi

For Legacy BIOS:

mount /dev/sda2 /mnt

📦 Step 10: Install Base System

pacstrap /mnt base linux linux-firmware nano networkmanager

This installs:

  • Arch base system
  • Linux kernel
  • Firmware and Network tools

📜 Step 11: Generate fstab

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

Check:

cat /mnt/etc/fstab

🔄 Step 12: Chroot into New System

arch-chroot /mnt

🕰️ Step 13: Set Time Zone

ln -sf /usr/share/zoneinfo/Asia/Karachi /etc/localtime
hwclock --systohc

🔤 Step 14: Set Locale

Uncomment your language in:

nano /etc/locale.gen

Example: en_US.UTF-8 UTF-8

Then generate:

locale-gen

Set system language:

echo "LANG=en_US.UTF-8" > /etc/locale.conf

👤 Step 15: Set Hostname

echo "archpc" > /etc/hostname

Edit hosts file:

nano /etc/hosts

Add:

127.0.0.1   localhost
::1         localhost
127.0.1.1   archpc.localdomain archpc

🔑 Step 16: Set Root Password

passwd

💡 Step 17: Enable Network

systemctl enable NetworkManager

🧰 Step 18: Install Bootloader

For UEFI:

pacman -S grub efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Arch
grub-mkconfig -o /boot/grub/grub.cfg

For Legacy BIOS:

pacman -S grub
grub-install --target=i386-pc /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg

🏁 Step 19: Exit and Reboot

exit
umount -R /mnt
reboot

Remove your USB when the system restarts. If all went well — you’ll boot into Arch Linux! 🎉

🎨 Step 20: Install a Desktop Environment

Log in as root and install your desktop of choice:

KDE Plasma (recommended for ex-Windows users):

pacman -S xorg sddm plasma kde-applications
systemctl enable sddm
reboot

Lightweight XFCE:

pacman -S xorg lightdm lightdm-gtk-greeter xfce4 xfce4-goodies
systemctl enable lightdm
reboot

GNOME:

pacman -S gnome gdm
systemctl enable gdm
reboot

💻 Step 21: Post-Install Essentials

Once your desktop is up:

sudo pacman -S firefox vlc git base-devel neofetch htop

Enable Multilib for 32-bit apps: Edit:

sudo nano /etc/pacman.conf

Uncomment:

[multilib]
Include = /etc/pacman.d/mirrorlist

Then update:

sudo pacman -Syu

🔌 Step 22: Laptop Optimization

For laptops, install power tools:

sudo pacman -S tlp tlp-rdw
sudo systemctl enable tlp

Intel graphics:

sudo pacman -S mesa xf86-video-intel

Brightness control fix (optional):

sudo pacman -S brightnessctl

🧭 Step 23: AUR Support (Optional)

Install yay (AUR helper):

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Now install AUR packages easily, e.g.:

yay -S google-chrome visual-studio-code-bin

🧹 Step 24: Remove Unused Packages

sudo pacman -Rns $(pacman -Qtdq)

🧠 Step 25: Learn Arch Basics

Update system:

sudo pacman -Syu

Check system info:

neofetch

Search/install packages:

sudo pacman -Ss package_name
sudo pacman -S package_name

Remove:

sudo pacman -R package_name

🪄 Step 26: Make It Yours

You can now personalize your Arch system:

  • Install themes (plasma-lookandfeel-org.kde.*).
  • Set wallpapers, fonts.
  • Sync your browser and files.
  • Add your dotfiles for configs.

🌟 Final Thoughts

Switching from Windows to Arch Linux isn’t just installing a new OS — it’s a mindset shift. You’re taking full control — of your tools, your system, your workflow.

Arch rewards curiosity. You’ll learn, break things, fix them, and smile — because it’s yours.

“Give a man Windows, and he’ll click for a day. Teach him Arch, and he’ll build forever.” 🖤


You Might Also Like


Related Posts

Linux
Fresh Arch Linux Install? Here Are My Top 10 Cozy Setup Tips
A personal, cozy guide to the top 10 essential things to do after installing Arch Linux, from updating your system and enabling multilib to customizing your UI and optimizing performance. Your friendly first steps into a beautiful, personalized Arch setup.

By Huzi

Read More
Linux
Fix: Wi-Fi Not Working After Arch Linux Installation (2025 Guide)
A complete 2025 guide to fix common Wi-Fi issues on Arch Linux after installation. Learn how to enable NetworkManager, install drivers, and troubleshoot your wireless adapter.

By Huzi

Read More
Linux
How to Install Arch Linux on a PC or Laptop (2025 Edition)
A clear, step-by-step guide for moving from Windows to Arch Linux, covering everything from booting the USB to logging into your new Arch desktop.

By Huzi

Read More
Linux
A Beginner's Guide to the Linux World
New to Linux? This guide will walk you through the basics, from understanding what it is to choosing your first distribution and mastering the command line.

By Huzi

Read More
Linux
Fresh Arch Linux Install? My Top 10 Cozy Setup Tips
A personal, cozy guide to the first 10 things to do after installing Arch Linux. Join Huzi as he walks you through updating, enabling multilib, installing an AUR helper like yay, and customizing your desktop.

By Huzi

Read More
Linux
A Beginner's Daydream: Choosing a Desktop for Arch Linux in 2025
A poetic and personal exploration of Arch Linux's best desktop environments in 2025. Join Huzi as he muses on KDE, XFCE, and GNOME, weaving in performance benchmarks with a touch of chai-fueled wonder.

By Huzi

Read More
Finance
Personal Finance / Money Management — Pakistan 2025
A living ledger of rupee wisdom—budgeting that breathes, investing that blooms, and money habits that turn paychecks into passports to freedom.

By Huzi

Read More
Linux
How to Install Arch Linux (2025 Updated Beginner Guide)
A comprehensive 2025 guide for beginners to install Arch Linux from scratch on any PC, laptop, or VM. Covers partitioning, desktop environments, and troubleshooting.

By Huzi

Read More
AI
10 Best AI Agents You Can Use in 2025
Meet the 10 digital interns who never sleep—snap them onto your blog, calendar or chai-run and watch the clock rewind itself.

By Huzi

Read More
Business
Outsource This, Not That: A Guide for Small Businesses
A lantern-lit checklist showing small-business owners which tasks to ship out (cheap) and which to keep close (precious). Save cash, keep soul.

By Huzi

Read More
Lifestyle
Authentic Pakistani Haleem Recipe
Haleem is patience in a pot – where grains, meat, and spices surrender to slow fire, becoming one velvet embrace.

By blogs.huzi.pk

Read More