Arch Linux Installation Guide

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.

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.

Posted At

Programming

Posted On

May 22, 2025

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. Boot into Arch ISO

  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.

2. Connect to the Internet

Ethernet

You're likely already connected.

Wi-Fi

Use iwctl:

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

Test the connection:

3. Update the System Clock

4. Partition the Disk

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

Create the following partitions:

  • EFI - 512MiB (type: EFI System)

  • Swap - (RAM size + 0.5GiB)

  • Root - Remaining space

5. Format the Partitions


6. Mount the Filesystems


7. Install Base System

8. Generate fstab

9. Chroot into the System

10. Set Time Zone and Localization


11. Set Hostname and Hosts File

cat <<EOF >

12. Set Root Password

13. Install GRUB (for UEFI)


14. Enable NetworkManager

15. Create a New User with Sudo Privileges


Inside the visudo file, uncomment this line:

16. Exit and Reboot


Extra steps

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.


Stay Informed with Wedoes Blog

Explore Insights, Tips, and Inspiration

Explore Insights, Tips, and Inspiration

Dive into our blog, where we share valuable insights, tips, and inspirational stories on co-working, entrepreneurship, productivity, and more. Stay informed, get inspired, and enrich your journey with Wedoes.

Dive into our blog, where we share valuable insights, tips, and inspirational stories on co-working, entrepreneurship, productivity, and more. Stay informed, get inspired, and enrich your journey with Wedoes.

Jun 4, 2025

A practical guide for newcomers to the tech world on how to navigate and explore various domains like development, cloud, cybersecurity, data science, and more

Jun 4, 2025

Explore the differences between RESTful API design and FastAPI, a powerful Python framework for building APIs. Learn which to use for your next backend project.

Jun 1, 2025

Setting up the Huion graphic tablet on Arch Linux with a window manager with the help of xsetwacom, as the Huion tablet package from the AUR repo is not working correctly.

May 28, 2025

Learn what FOSS licenses are, why they matter, and the differences between popular open-source licenses.

Jun 4, 2025

A practical guide for newcomers to the tech world on how to navigate and explore various domains like development, cloud, cybersecurity, data science, and more

Jun 4, 2025

Explore the differences between RESTful API design and FastAPI, a powerful Python framework for building APIs. Learn which to use for your next backend project.

Jun 1, 2025

Setting up the Huion graphic tablet on Arch Linux with a window manager with the help of xsetwacom, as the Huion tablet package from the AUR repo is not working correctly.

Jun 4, 2025

A practical guide for newcomers to the tech world on how to navigate and explore various domains like development, cloud, cybersecurity, data science, and more

Jun 4, 2025

Explore the differences between RESTful API design and FastAPI, a powerful Python framework for building APIs. Learn which to use for your next backend project.

Jun 4, 2025

A practical guide for newcomers to the tech world on how to navigate and explore various domains like development, cloud, cybersecurity, data science, and more

Jun 4, 2025

Explore the differences between RESTful API design and FastAPI, a powerful Python framework for building APIs. Learn which to use for your next backend project.

Jun 1, 2025

Setting up the Huion graphic tablet on Arch Linux with a window manager with the help of xsetwacom, as the Huion tablet package from the AUR repo is not working correctly.