Skip to content
All install guides

The cleanest system

Arch Linux next to Windows: a first install with archinstall + Pentad

Step by step, nothing skipped: preparing Windows, the USB stick, BIOS, archinstall for dual boot, GRUB with Windows in the menu, Hyprland and the Pentad desktop.

≈ 1 hourWindows stays▶ 9:25Updated December 3, 2026

This guide is for people installing Linux for the first time who do not want to lose Windows. At the end you will have:

  • Windows still in place, booting exactly as before;
  • Arch Linux next to it, with a GRUB menu at power-on to pick the system;
  • Arch with Hyprland and the Pentad desktop, your keyboard layout, and every Pentad feature ready.

The screenshots come from a virtual machine: Windows 11, a 100 GB disk, 50 GB given to Linux. On a real PC the screens are the same; only the BIOS and the disk names differ.

Time: 1–1.5 hours, about 20 minutes of which is just waiting for downloads. You need: a USB stick of 4 GB or more (it will be wiped), internet (a cable is easiest), and at least 50 GB of free space on the Windows disk.

Want fewer steps? There are two easier routes: CachyOS (graphical installer, Hyprland included) and EndeavourOS. Each has its own video and article. Arch via archinstall gives the cleanest system, with only what you chose.

1. Prepare Windows

Everything in this section happens in Windows, before the USB stick.

1.1. Back up

Partitioning is safe in itself, but one mistake at “which disk to format” costs all your data. Copy anything important to an external drive or the cloud.

1.2. Check that the PC runs in UEFI mode

Win+R → msinfo32 → Enter. The BIOS Mode line must say UEFI.

msinfo32: BIOS Mode UEFI

If it says Legacy, stop: this guide is written for UEFI. PCs made after 2015 are almost always UEFI.

1.3. BitLocker

Open Command Prompt as administrator (Start → cmd → right-click → “Run as administrator”) and type:

manage-bde -status C:

manage-bde: Fully Decrypted, Protection Off

  • Fully Decrypted / Protection Off: all good, carry on.
  • Encrypted / Protection On: save your recovery key (Settings → Privacy & security → Device encryption, or aka.ms/myrecoverykey for a Microsoft account). Otherwise, after the boot loader changes, Windows may ask for that key and will not let you in without it. The simplest option is to turn encryption off for the install: manage-bde -off C: and wait for Fully Decrypted.

1.4. Turn off Fast Startup

In the same window:

powercfg /h off

powercfg /h off

This turns off hibernation and Fast Startup with it. With Fast Startup on, Windows never fully shuts down and leaves the disk “in use”; Linux could then damage those files or not see them.

1.5. Free up space for Linux

Win+R → diskmgmt.msc. Find the disk that holds C:.

Disk Management: before shrinking

Right-click C: → Shrink Volume….

Shrink Volume

In “Enter the amount of space to shrink in MB” type the size in megabytes: 51200 is 50 GB. 50 GB is a comfortable minimum; if you have room, take 100 GB or more.

Shrink dialog

After “Shrink”, a black Unallocated bar appears next to C:. Do nothing with it and do not create a partition: the installer will partition it.

50 GB of unallocated space

If Windows lets you shrink less than you need, the page file or restore points are usually in the way. Turn them off for a while, reboot and try again.


2. The bootable USB stick

  1. Download the ISO from archlinux.org/download, from a mirror near you. The file is called archlinux-2026.12.01-x86_64.iso or newer, about 1.4 GB.
  2. Write it to the stick:
    • Rufus: choose the stick and the ISO, partition scheme GPT, target system UEFI, and DD write mode if Rufus asks.
    • Ventoy: install Ventoy on the stick once, then just copy ISO files onto it. Handy if you want to try several distributions.

Everything on the stick will be erased.


3. BIOS: Secure Boot and booting from USB

  1. Restart the PC and enter the BIOS/UEFI. It is usually Del or F2 right after power-on; laptops sometimes use F1, F10 or Esc.
  2. Find Secure Boot (Boot or Security tab) and set it to Disabled. The official Arch image is not signed for Secure Boot, so it simply will not boot with it. Windows runs fine without Secure Boot.
  3. Save (F10) and restart.
  4. Open the Boot Menu: F12 (Dell, Lenovo, Gigabyte), F8 (ASUS), F11 (MSI, ASRock), Esc (HP). Pick the stick marked UEFI.

On some Intel laptops the disk runs in RST/RAID mode and Linux cannot see it. Then SATA Mode in the BIOS has to be switched to AHCI. Before doing that, search “AHCI switch Windows safe mode” for your model, or Windows will stop booting.


4. The live system: internet and disks

In the boot menu choose the first entry, Arch Linux install medium. After about a minute you get the root@archiso ~ # prompt.

If the text is too small (a 2K or 4K screen), make the font bigger:

setfont ter-132b

Internet

  • Cable: just works.
  • Wi-Fi:
    iwctl
    station wlan0 scan
    station wlan0 get-networks
    station wlan0 connect YourNetwork
    exit
    (If wlan0 is not found, device list shows the adapter name.)

Check the connection and look at the disks:

ping -c 3 archlinux.org
lsblk -o NAME,SIZE,FSTYPE,LABEL,PARTLABEL

ping and lsblk in the live system

Find the Windows disk: it has an ntfs partition the size of your C: and a small vfat of 100–300 MB. That is the EFI partition both systems boot from. Here it is sda; on NVMe drives the name looks like nvme0n1.


5. archinstall step by step

archinstall

The archinstall main menu

Controls:

  • arrows move the cursor, Enter opens an item or confirms a choice;
  • in multi-choice lists Space ticks an entry ([X] appears) and Enter saves;
  • / searches a long list;
  • Esc goes back without changing anything;
  • Ctrl+C inside an item resets it to the default.

Trap: in a multi-choice list, if nothing is ticked and you press Enter, archinstall takes the line under the cursor. That is how you accidentally add, say, firmware you do not need. Fix: open the item, press Ctrl+C and confirm Yes.

Go through the items from top to bottom.

Archinstall language, Locales

Leave them as they are (English, us layout, en_US.UTF-8). Your own language and layout come later, in the desktop; English system messages are actually handier, because errors are easier to search for.

Mirrors and repositories

Select regions → / → your country → Space → Enter. Nearby mirrors make downloads faster.

Mirror region selected

Disk configuration: the item that matters most

Partitioning → Manual Partitioning.

Manual Partitioning

Never choose “Use a best-effort default partition layout” when Windows is on the disk: that option wipes the whole disk.

Select the Windows disk (Space, then Enter). The Free space column should show your unallocated room, 50 GiB here.

Choosing the disk

The partition table opens. You need two actions.

1) Use the Windows EFI partition, but do NOT format it. Put the cursor on the small fat32 partition (flag esp, 100 MiB) → Enter → Assign mountpoint → /efi → Enter. Leave Mark to be formatted alone: formatting would delete the Windows boot loader.

EFI partition mounted at /efi without formatting

2) Create the Linux partition in the free space. Cursor on the free row → Enter → keep the default size (all free space) → file system ext4 → mount point /.

New ext4 partition at /

Check the table. The Windows partitions (ntfs, MSR, recovery) must stay unchanged: no create, no “formatted”. Then Confirm and exit.

Confirming the layout

The next question is about disk encryption. Skip it for a first install.

Why ext4 and not btrfs? ext4 is simpler and the easiest to rescue. Btrfs gives you system snapshots, but that is a topic for later.

Swap

Keep zram: compressed swap in memory, no separate partition needed.

Bootloader

Bootloader → Grub. GRUB is the one that finds Windows by itself and adds it to the menu.

Bootloader: Grub

There are two more items under Grub, and both need checking:

  • Unified kernel images → No.
  • Install to removable location → No (the summary should say “Will install to custom location with NVRAM entry”). Yes puts GRUB in the “fallback” boot loader location, which Windows overwrites during updates. We want a normal entry in the UEFI menu.

Install to custom location with NVRAM entry

Kernels

Keep linux.

Additional firmware

Leave it empty. These packages are only for rare network cards. The usual drivers (linux-firmware) are installed by archinstall anyway.

Hostname

The computer’s network name in Latin letters, for example pentad-pc.

Authentication

  • Root password: you can leave it empty; admin tasks will go through sudo from your user.
  • User account → Add a user → a lowercase Latin name → password (twice) → “Should … be a superuser (sudo)?” → Yes. Without it you cannot install programs.

A user with sudo rights

The password does not show while you type, not even as asterisks. That is normal.

Profile

Type → Desktop → / → Hyprland → Space → Enter.

Hyprland profile

Then:

  • seat access → systemd-logind;

  • Graphics driver: All open-source for AMD/Intel/VMs. For NVIDIA RTX 20xx and newer pick Nvidia (open kernel module…); for older NVIDIA cards read the Arch Wiki first;

    Graphics driver

  • Greeter → sddm (a graphical login screen).

    Greeter: sddm

Applications

  • Bluetooth → Yes (if you have it);
  • Audio → pipewire.

Network configuration

Use NetworkManager (default backend): Pentad’s network menu works with it.

NetworkManager

Additional packages

Find each with / and tick it with Space:

Package Why
git to download Pentad
base-devel to build the Pentad package
noto-fonts fonts for apps
noto-fonts-emoji emoji

os-prober, which older guides recommend, is not needed: GRUB adds Windows to the menu by itself (see section 6).

Timezone, NTP

Timezone → / → your city. Automatic time sync (NTP) → Yes.

Install

Move to Install and check the summary on the right once more: Grub, Manual layout, Hyprland, sddm, NetworkManager, your packages.

Ready to install

Enter → archinstall shows the config as JSON (check "removable": false, "uki": false) → Yes. The install takes 3–15 minutes, depending on your internet speed.

Installation completed


6. Reboot

On the “What would you like to do next?” screen choose Reboot system. When the screen goes dark, pull out the USB stick.

Nothing else needs configuring. GRUB 2.16 picks up the entries from the UEFI menu, so Windows is already in its menu.


7. First boot

The GRUB menu

GRUB menu

  • Arch Linux boots by default after 5 seconds;
  • Windows Boot Manager (EFI BootNext) starts Windows;
  • UEFI Firmware Settings opens the BIOS;
  • the other (EFI BootNext) lines are other UEFI menu entries (the disk, GRUB itself); ignore them.

Check right away that Windows is alive: pick Windows Boot Manager (EFI BootNext) with the arrows and press Enter. The PC restarts for a moment and boots Windows.

The Windows entry in GRUB

Windows boots from GRUB

Windows clock a few hours off? Linux keeps the hardware clock in UTC, Windows in local time. The simplest fix, in Windows: admin cmd → reg add "HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /t REG_DWORD /d 1 /f, then reboot.

Reboot and choose Arch Linux.

Login

SDDM shows your user. The session at the top left: Hyprland (uwsm-managed). Enter your password.

SDDM

Hyprland

First Hyprland start

  • Close the welcome window with Thanks, but I don’t need help.
  • The yellow banner at the top (“autogenerated config”) stays for now; Pentad removes it.
  • Super+Q opens a terminal (Super is the key with the Windows logo).

8. Installing Pentad

In the terminal:

git clone https://github.com/maxxxbond/pentad.git
cd pentad/packaging/arch
makepkg -si

makepkg builds the package and installs it. Along the way it asks a few things:

  1. [sudo] password: your password (for Quickshell and other dependencies).

  2. Proceed with installation? [Y/n]: Enter.

  3. There are 2 providers available for cargo: 1) rust 2) rustup: Enter (that is, rust).

    Choosing the cargo provider

  4. Proceed with installation? [Y/n] again: Enter. The build tools (Node.js and Rust) take about 144 MB.

  5. The build takes a few minutes, followed by one last [sudo] password.

Stay near the PC: if sudo gets no password for 5 minutes, it gives up and you see Failed to install built package(s). No harm done: run makepkg -si again and it installs the already built package without rebuilding.

Lines like gdb-add-index: No index was created… during the build are not errors.

Package installed

pentad setup

cd
pentad setup

Pentad shows exactly what it will change:

  • it notices that notifications are currently handled by dunst (installed by the Hyprland profile) and offers to switch its service off (systemctl --user mask dunst.service), because Pentad handles notifications from now on;
  • it adds a line to ~/.config/hypr/hyprland.lua that loads Pentad, and comments out the line that caused the yellow banner.

pentad setup shows its changes

Apply these changes? [y/N] → y. The yellow banner disappears at once, and backups of the files are kept (undo everything with pentad setup --undo).

Switch to Pentad now instead of at the next login? [y/N] → y.

Switching to Pentad

First-run setup

Pentad starts and opens a short five-step introduction:

  1. Interface language → your language.

    Welcome to Pentad

  2. Appearance: dark, light or automatic, and an accent color.

  3. Keyboard and clock → “Add layout” → press the first letter of your language to jump to it → pick it.

    Layout added

    “Switch layouts” → Alt+Shift (or Caps Lock, whichever you like). Without it, the layout only switches by clicking the panel.

    Layout switching keys

  4. A few keys worth knowing: Super (search), Super+Tab (workspace overview), Alt+Tab (windows), Super+/ (every shortcut).

  5. Start using Pentad.

    Pentad is ready

Extra features: pentad doctor –install

Screenshots, screen recording, clipboard history, text recognition, PDF tools and so on need small helper programs. Pentad shows what is missing and installs it with one command:

pentad doctor --install

pentad doctor –install

Install them now…? [y/N] → y → password → Enter at “Proceed with installation”.

If pacman asks “There are 128 providers available for tessdata”, type 30 (tesseract-data-eng, English) and press Enter. The default (1) is Afrikaans. Add other languages separately, e.g. sudo pacman -S tesseract-data-ukr. (Newer Pentad versions no longer ask this.)

Choosing the tesseract language pack

Check:

pentad doctor

Everything should be ok. A possible exception is LocalSend: it is not in the official repositories and is only needed to send files to a phone (install it from the AUR).


9. Checks and tips

Reboot (reboot), log in, and Pentad starts by itself.

After a reboot

Hyprland may show a “Hyprland updated to …” window once. Click Thanks.

Things to try first:

  • Super: Spotlight — apps, files, emoji and web search. Just start typing.

    Spotlight

  • Super+Tab: the workspace overview; drag windows between workspaces.

    Workspace overview

  • Super+/: a cheat sheet with every shortcut.

    Shortcut cheat sheet

  • On the right of the panel is the control center: sound, network, Bluetooth, settings.

Updating the system

Every week or two:

sudo pacman -Syu

Updating Pentad:

cd ~/pentad/packaging/arch
git pull
makepkg -si

If something went wrong

Problem What to do
No Windows entry in GRUB Run sudo grub-mkconfig -o /efi/grub/grub.cfg (/efi, not /boot as in the wiki: we mounted the EFI partition at /efi). If that does not help, install os-prober, uncomment GRUB_DISABLE_OS_PROBER=false in /etc/default/grub and run the command again
The PC boots straight into Windows, no GRUB In BIOS → Boot order put GRUB (or “arch”) first. Some laptops move Windows back to the top after a Windows update
Windows asks for a BitLocker key Enter the recovery key from section 1.3
It will not boot from the USB stick Is Secure Boot off? Did you pick the stick marked UEFI?
No Wi-Fi after the install nmcli device wifi connect YourNetwork --ask, or the network menu in the Pentad panel

Other routes