Skip to content
Other

Arch Linux

A step-by-step guide to installing Arch Linux, including network setup, disk partitioning, and GRUB configuration.

What you need:

  • A USB flash drive
  • The system ISO file
  • A program to write the ISO image
  • A machine where Arch will be installed

This guide assumes Arch will be the primary operating system.

First, download the system image from the official Arch Linux website using your preferred method. We recommend using a torrent client.

You can write the image with tools like:

  • Rufus
  • Balena Etcher
  • UltraISO

In this example, we use Rufus. After downloading the image, open Rufus and configure:

  • Device: Select your USB flash drive.
  • Boot selection: Choose Disk or ISO image and select the Arch Linux ISO path.
  • Partition scheme: Select MBR.
  • File system: Select FAT32.
  • Cluster size: Leave as default.

rufus_arch

Click Start. In the pop-up window, select the option that mentions ISO.

After the process is complete, connect the USB flash drive to the target machine. Enter BIOS and disable Secure Boot (you can enable it again after installation). Boot from USB, choose Arch Linux install medium, and wait for the system to load.

start_arch

If you are connected via wired Ethernet, test connectivity:

Окно терминала
ping archlinux.org

If you get a response, networking works. If not, required services may not have started. Try restarting or re-creating the installer image.

For Wi-Fi, use iwctl:

Окно терминала
iwctl

iwctl

Then run:

  1. List available wireless devices:

    Окно терминала
    device list

Identify your wireless interface (for example, wlan0).

  1. Scan for networks:

    Окно терминала
    station wlan0 scan
  2. Show available networks:

    Окно терминала
    station wlan0 get-networks
  3. Connect to a network:

    Окно терминала
    station wlan0 connect {network}

Enter the password if prompted.

  1. Check status:

    Окно терминала
    station wlan0 show

Then confirm connectivity:

Окно терминала
ping archlinux.org

Two common partitioning utilities are:

  • fdisk
  • cfdisk

This guide uses fdisk.

First, identify your disk.

List disks:

Окно терминала
fdisk -l

Configure your target disk (example):

Окно терминала
fdisk /dev/nvme0n1

Create three partitions:

Partition Size Type
boot 1G EFI system
swap 8G Linux swap
root Remaining space Linux filesystem

Press p to list current partitions.

Press n to create a new partition. Keep default partition number and first sector, then set last sector to +1G for boot.

Repeat for swap (for example +4G to +8G) and use the remaining space for root.

After creating partitions, press w to write changes.

Now run:

Окно терминала
archinstall

You should see the installer menu.

archinstall

Suggested settings:

Locale

Select your preferred locale (for example en_US or ru_RU).

Disk configuration

  • Select Manual Partitioning.
  • Select your disk (for example nvme0n1).
  • For the 1G partition: assign mountpoint /boot, mark for format, set filesystem to fat32.
  • For the root partition: assign mountpoint /, mark for format, set filesystem to ext4.
  • Select Confirm and exit.

Bootloader

  • Select GRUB.

Hostname

Enter your system name (you can keep archlinux).

Root password

Set and confirm a root password.

User account

  • Add username and password.
  • Confirm superuser privileges (sudo) with Yes.

Profile

  • Select Type.
  • Select Desktop.
  • Choose KDE Plasma.
  • Choose sddm.

You can keep graphics driver as default (All) unless you need a specific one.

Network configuration

  • Choose Use NetworkManager.

Additional packages

Add useful tools, for example:

nano firefox btop

Timezone

Choose your timezone.

Audio

Select pipewire.

Install

  • Select Install.
  • Confirm Yes and wait.
  • When asked to continue setup in chroot, select Yes.

Check if Arch boot entry exists:

Окно терминала
efibootmgr

Install GRUB to EFI:

Окно терминала
grub-install --target=x86_64-efi --efi-directory=/boot --recheck

If successful, you should see Installation finished. No errors reported.

Re-check boot entries:

Окно терминала
efibootmgr

Reboot:

Окно терминала
reboot

If you need to add a Windows boot entry, become root first:

Окно терминала
sudo su

Install os-prober:

Окно терминала
pacman -S os-prober

Edit GRUB defaults:

Окно терминала
nano /etc/default/grub

Uncomment or set:

/etc/default/grub
GRUB_SAVEDEFAULT=true
GRUB_DISABLE_SUBMENU=y
GRUB_DISABLE_OS_PROBER=false

Save and exit (Ctrl+X, then Y, then Enter).

Check for Windows Boot Manager:

Окно терминала
os-prober

Generate GRUB config:

Окно терминала
grub-mkconfig -o /boot/grub/grub.cfg

If there are no errors, reboot:

Окно терминала
reboot
Application Description
Blue Screen of Life Menu styled like the Windows Blue Screen of Death, but family-friendly
Arch Linux Gangster Edition Plymouth theme Windows XP boot screen styled as gangster
macOS Boot Splash Style Apple-style minimal boot splash
Plymouth Themes A pack of multiple boot animations