[Insights](/insights/) / [Engineering Playbooks](/insights/engineering_playbooks/)

# Archlinux fast minimal Installation Guide \[UEFI\]

The simple and modern way to quickly install Arch linux for modern laptops with UEFI mode.

![Ivan Borshchov](https://static.devforth.io/adminusers/avatars/2026/48db9847-d461-40cd-b344-f2bd7b0d98ca-avatar_ivan@devforth.io_f4ce9df9-8363-4314-9345-28753c76a386.jpeg)

Ivan Borshchov

CEO & System Architect @ Devforth

Nov 30, 2023

![Archlinux fast minimal Installation Guide \[UEFI\]](https://static.devforth.io/posts/logo-svg/2026/cfd515c9-10a6-46c1-880b-3f6e0abdf2d3-logo-preview-new.svg)

![Archlinux fast minimal Installation Guide \[UEFI\]](https://static.devforth.io/posts/logo-svg/2026/cfd515c9-10a6-46c1-880b-3f6e0abdf2d3-logo-preview-new.svg)

At Devforth, we primarily use Dell XPS 15 laptops. Since several our developers prefer Arch Linux and we installed it occasionally, I decided to prepare a simplified & fast guide to install Arch Linux with minimal steps. The guide will work for most modern notebooks with enabled UEFI mode (Steps for legacy MBR mode would differ).

Our setup will include installation of KDE Desktop Environment.

### [](#1-prepare)1\. Prepare

ISO file could be downloaded from [official website](https://archlinux.org/download/), we used Torrent way to download. 

Write ISO file to flash drive. You can use UUI tool if you are on Windows or UNetbootin for Linux

### [](#2-connect-to-internet)2\. Connect to Internet

Run `iwctl` tool to connect WiFi

```
iwctl
```

List adapters:

```bash
device list
```

For us it is generally called `wlan0`

Scan networks and connect to your's:

```bash
station wlan0 scan
station wlan0 get-networks

# here we connect to our WiFi network 
station wlan0 connect devforth_5G

# exit to terminal
exit 
```

Check internet:

```bash
ping 8.8.8.8
```

You should see a packets exchange.

Also enable automatic time sync

```bash
timedatectl set-ntp true
```

### [](#3-partition-disk-partitions-and-format-them)3\. Partition disk partitions and format them

First check your disks and partitions list using:

```bash
lsblk
```

For empty fresh SSD NVMe M2 disk it looks like this:

```
NAME     MAJ:MIN   RM   SIZE RO TYPE MOUNTPOINT
nvme0n1      8:0    0 931.5G  0 disk
```

  Anyway even if you have some partitions, we will delete them and recreate partition table.

To work with partitions open gdisk:

```bash
gdisk /dev/nvme0n1
```

Delete all existing partitions:

```bash
Command (? for help): o
```

Confirm questions like a "Do you want to proceed?" with **Y**.

We have to create 2 partitions: EFI 512M and a root partition for rest of the space.

```
# type in gdiskCommand (? for help): n
Partition number (1-128, default 1):<keep empty, press ENTER>
First sector (34-20971486, default = 2048) or {+-}size{KMGTP}:<keep empty, press ENTER>
Last sector (2048-20971486, default = 20971486) or {+-}size{KMGTP}: +512M
Hex code or GUID (L to show codes, Enter = 8300): ef00
```

Then create root partition:

```
# type in gdisk
Command (? for help): n
Partition number (1-128, default 1):<keep empty, press ENTER>
First sector (34-20971486, default = 2048) or {+-}size{KMGTP}:<keep empty, press ENTER>
Last sector (2048-20971486, default = 20971486) or {+-}size{KMGTP}: <keep empty, press ENTER>
Hex code or GUID (L to show codes, Enter = 8300): <keep empty, press ENTER>
```

Write changes:

```
Command (? for help): w
```

Now you should be returned to terminal. Check how partitions look now using

```bash
lsblk
```

Format created partitions:

```bash
mkfs.fat -F32 /dev/nvme0n1p1       # Format the EFI System Partition
mkfs.ext4 /dev/nvme0n1p2          # Format the root partition
```

### [](#4-mount-partitions-and-install-base-packages)4\. Mount partitions and install base packages

```bash
mount /dev/nvme0n1p2 /mnt
mkdir /mnt/boot
mount /dev/nvme0n1p1 /mnt/boot
```

Update the package index:

```bash
pacman -Syy
```

Install base packages:

```bash
pacstrap /mnt base linux linux-firmware
```

### [](#5-mandatory-system-configs)5\. Mandatory system configs

Generate fstab

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

Chroot into a new system

```bash
arch-chroot /mnt
```

Set timezone

```bash
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
```

Sync system and hardware clocks:

```bash
hwclock --systohc
```

Install required packages:

```bash
pacman -S nano vim sudo networkmanager network-manager-applet grub mtools dosfstools git linux-headers bluez-utils bluez pulseaudio reflector xdg-utils xdg-user-dirs cups
```

Enable network manager:

```bash
systemctl enable NetworkManager
```

Config locale:

```bash
nano /etc/locale.gen
```

Save file using **Ctrl+X**.

Search for:

```
en_US.UTF-8 UTF-8
```

Uncomment it and save file using **Ctrl+X**.

Generate locale:

```bash
locale-gen
```

Edit locale:

```bash
nano /etc/locale.conf
```

Write line:

```bash
en_US.UTF-8 UTF-8
```

Save file using **Ctrl+X.**

Edit hostname:

```bash
nano /etc/hostname
```

Write the name of the host, which will be used to identify your pc in the network e.g. **myhost,** and save using **Ctrl+X.**

Edit hosts file:

```bash
nano /etc/hosts
```

Write next content:

```
127.0.0.1	localhost
::1		    localhost
127.0.1.1	myhost.localdomain myhost 
```

Save file.

### [](#6-install-grub-and-bootloader)6\. Install Grub and bootloader

```bash
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
bootctl install
```

### [](#7-create-a-user)7\. Create a user

Use your preferred username instead of **username**:

```bash
useradd -m -G wheel username
passwd username
```

Allow sudoers in system who belong to wheel group. Open visudo editor:

```bash
nano /etc/sudoers
```

Uncomment the line **%wheel ALL=(ALL) ALL** by removing the # character and save file

### [](#8-install-kde)8\. Install KDE:

```bash
pacman -S plasma-meta kde-applications sddm
```

Enable loading of sddm on system load

```bash
systemctl enable sddm
```

### [](#9-finalize-and-boot-into-system)9\. Finalize and boot into system

```bash
exit
umount -R /mnt
reboot
```

Don't forget to eject flash during reboot.

### [](#useful-links)Useful links

1.  [Arch quick installation gist](https://gist.github.com/mattiaslundberg/8620837) from Mattias Lundberg. We did not use it as a base, but we see several exciting commands and aliases that you might find better.

2.  [Official arch installation guide](https://wiki.archlinux.org/title/Installation_guide), pretty complex but sometimes it has a lot of details and explanations that will help you to understand Linux software world

[

Back to insights

](/insights)

[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)[](https://bsky.app/intent/compose?text=Archlinux%20fast%20minimal%20Installation%20Guide%20%5BUEFI%5D%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)[](https://x.com/intent/tweet?text=Archlinux%20fast%20minimal%20Installation%20Guide%20%5BUEFI%5D%20by%20%40ivanborshchov%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)

[

Summarize with AI

](/lab/chat/?prompt=Extract%20main%20points%20from%20post%3A%20https%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)

Table of Contents

-   [1\. Prepare](#_1-prepare)
-   [2\. Connect to Internet](#_2-connect-to-internet)
-   [3\. Partition disk partitions and format them](#_3-partition-disk-partitions-and-format-them)
-   [4\. Mount partitions and install base packages](#_4-mount-partitions-and-install-base-packages)
-   [5\. Mandatory system configs](#_5-mandatory-system-configs)
-   [6\. Install Grub and bootloader](#_6-install-grub-and-bootloader)
-   [7\. Create a user](#_7-create-a-user)
-   [8\. Install KDE:](#_8-install-kde)
-   [9\. Finalize and boot into system](#_9-finalize-and-boot-into-system)
-   [Useful links](#useful-links)

[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)[](https://bsky.app/intent/compose?text=Archlinux%20fast%20minimal%20Installation%20Guide%20%5BUEFI%5D%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)[](https://x.com/intent/tweet?text=Archlinux%20fast%20minimal%20Installation%20Guide%20%5BUEFI%5D%20by%20%40ivanborshchov%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Farchlinux-fast-minimal-installation-guide-uefi)
