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
Download the latest Arch ISO from the official website.
Create a bootable USB using Rufus (Windows) or
dd
(Linux/macOS).Disable Secure Boot in UEFI settings.
Boot into the USB and open the terminal.
2. Connect to the Internet
Ethernet
You're likely already connected.
Wi-Fi
Use iwctl
:
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
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