First Experience with Arch Linux!

Last updated on August 31, 2026 pm

This article is currently an experimental machine translation and may contain errors. If anything is unclear, please refer to original Chinese version. I am continuously working to improve the translation.

Preface

Installed and configured Arch Linux — my first attempt, and I picked up a lot of interesting experience along the way!

Installation

Here's how this article was written: I took the chat history between my phone and GPT from when I was installing the system (which contains lots of images), converted that conversation into a Work conversation in Codex, had it read the content, summarize it, and write an article, and then I polished it afterward.

A Second-hand SSD

Long story short, I wanted to set up a dual-boot system on my computer. After a quick check of my machine's specs, I went to Xianyu (a second-hand marketplace) and picked up a used AirDisk 512GB SSD — as it happened, my computer still had a spare M.2 slot.

The original Kingston 1TB drive holds the Windows 11 I use every day; this AirDisk came with a complete Windows installation left behind by its previous owner — EFI, system, data, and recovery partitions all included. Since there was nothing on it worth keeping, I could wipe the whole thing.

In short, my goal was to isolate the two systems as much as possible. More specifically, what I wanted was:

  • Kingston keeps its own EFI and Windows Boot Manager, and remains the default boot drive;
  • AirDisk gets a new EFI of its own, holding only Arch and its bootloader;
  • Normally, pressing nothing at boot goes into Windows; only when I want Arch do I manually select AirDisk;
  • If either drive is unplugged, the other should ideally still be able to boot on its own.

At first I thought I could achieve "the two drives being invisible to each other," but I later found that this simply isn't possible when both NVMe drives are plugged in. Linux's lsblk will still see the Kingston, and Windows' Disk Management will see the Linux drive. The isolation that's actually achievable is: not sharing the EFI, not auto-mounting each other's partitions, and not letting one side's boot depend on the other drive.

The EFI System Partition is usually abbreviated as ESP. It's typically a small FAT32 partition containing the .efi boot programs that the motherboard's UEFI executes. The operating system itself does not live here. With each SSD having its own ESP, each can keep its own boot chain.

Entering the Live Environment

I had already prepared the Arch installation USB drive using Rufus in DD mode. Shut down, plugged in the drive, and mashed F7 to get into this screen:

The photo came out pretty blurry, but there are plenty more like it later on.

Selecting the first option: Arch Linux Install Medium (x86_64, UEFI). After booting from the USB drive, once you see root@archiso, you've officially entered Arch's Live environment.

root@archiso after entering the Arch Live environment

The Live environment can be understood as "a temporary Arch running from the USB drive." At this point, the actually installed system isn't running yet; partitioning, formatting, mounting, and even the later GRUB repair are all done using this temporary system. As long as you don't format anything, the installation USB can also serve perfectly well as a rescue drive.

First, confirm which drive you're actually going to operate on. At the time, what I checked first was:

lsblk -d -o NAME,SIZE,MODEL,SERIAL

The first time I entered the Live environment, the result was roughly:

nvme0n1  476.9G  AirDisk 512GB SSD
nvme1n1  953.9G  KINGSTON OM8PGP41024N-A0

So in this round, the drive slated to be wiped was /dev/nvme0n1. After entering cfdisk, I deleted all five of AirDisk's original partitions and created just two new ones: a 1 GiB EFI System Partition, and a Linux filesystem taking up the remaining space.

The five original Windows partitions of the AirDisk shown in cfdisk
Verifying both SSDs with lsblk after repartitioning

Never identify a drive by "it was Disk 0 in Windows" or "last time it was called nvme0n1." What's truly reliable is the model, capacity, and serial number. Especially before commands like cfdisk and mkfs, you can never double-check too many times.

Tearing It Down and Switching to Btrfs

After partitioning, I quite naturally formatted the large partition as ext4 at first, and mounted the root partition and AirDisk's own EFI at /mnt and /mnt/boot respectively. There was actually nothing wrong with this setup.

First time completing ext4 formatting and mounting

Then I looked back and saw that the tutorial I planned to follow used Btrfs throughout, and even created subvolumes. Since I was just getting started, I couldn't be bothered to keep translating the tutorial's paths into ext4 equivalents later on, so I simply unmounted the partitions, deleted the freshly formatted ext4 once more via cfdisk, and started over.

In the end, AirDisk's main body is still just a single Btrfs partition, but with two subvolumes inside it:

@      → /
@home  → /home

The EFI is mounted separately at /efi. These subvolumes look like partitions, but they actually still belong to the same Btrfs filesystem; the benefit is greater flexibility later on when taking snapshots, rolling back, or managing the root and home directories separately.

Re-confirming the Btrfs @ and @home subvolumes during rescue

"Mounting" doesn't mean copying files into some folder; it means attaching a filesystem onto Linux's directory tree. For example, mounting @ at /mnt means that what you see below /mnt comes from that subvolume; mounting the ESP at /mnt/efi means that boot files written to /efi afterward will actually land on AirDisk's EFI partition.

For the kernel I chose linux-zen, but I also installed an LTS version, so at the GRUB menu you can choose which one to boot.

The rest of the process isn't worth recounting in much detail — ArchWiki covers it all: following the tutorial, I completed the configuration of base packages, networking, users, the desktop, and GRUB. The part that truly took the longest to wrestle with came after the first reboot.

After the Reboot, Only Windows in the BIOS

Finished the tutorial, typed reboot. I originally expected to see GRUB next, so I mashed F7 at boot — but nothing happened, and the machine went straight into Windows.

Left with no choice, I pressed F2 to enter the BIOS, and under Boot Option there was still only the Windows Boot Manager on the Kingston.

The BIOS Boot Option page
Only Kingston's Windows Boot Manager appears in the hard drive boot entries

My first reaction, of course, was: did GRUB simply not get installed?

Fortunately, no reinstall was needed here. I plugged the installation USB back in and entered the Arch Live environment again — it went from being an installation medium to a rescue environment. All that remained was to remount the system already installed on AirDisk to /mnt, then go in and check the bootloader.

After re-entering the Live environment, first confirm UEFI and the file system

The NVMe Numbering Problem

As it turned out, the truly dangerous thing happened first: during the first installation, AirDisk was clearly /dev/nvme0n1, but after this reboot, the numbering of the two NVMe drives had actually swapped:

/dev/nvme0n1  → Kingston 953.9G
/dev/nvme1n1  → AirDisk 476.9G
Re-checking the model, serial number, and partitions during the rescue phase

Thankfully I double-checked the models once more before continuing; otherwise, following the old records to mount — or even format — /dev/nvme0n1 would have been a disaster.

This time, AirDisk's actual layout was:

/dev/nvme1n1p1  FAT32  → /mnt/efi
/dev/nvme1n1p2  Btrfs
  ├─ @                 → /mnt
  └─ @home             → /mnt/home

So the core process of remounting was roughly:

mount -o subvol=@ /dev/nvme1n1p2 /mnt
mkdir -p /mnt/home /mnt/efi
mount -o subvol=@home /dev/nvme1n1p2 /mnt/home
mount /dev/nvme1n1p1 /mnt/efi
The root, home, and EFI mount relationships in the original system's fstab

After confirming that /mnt, /mnt/home, and /mnt/efi all pointed to AirDisk, I used arch-chroot /mnt to enter the already-installed Arch on the hard drive.

It's a bit like "shuttling" from the Live environment into the original system: the current display doesn't change, but the root directory, software, and configuration have all switched over to the set on AirDisk.

So eris Was There All Along

After remounting, I checked /efi/EFI, and it actually already contained:

/efi/EFI/eris/grubx64.efi

And efibootmgr -v also showed a UEFI boot entry named eris, pointing precisely to AirDisk's EFI partition. eris is the name I gave the bootloader when installing GRUB — actually, the tutorial named it that, so I just followed along.

eris's grubx64.efi, efibootmgr entries, and linux-zen kernel files

In other words, Arch wasn't broken, GRUB's .efi file existed, and even the boot record in the motherboard's NVRAM had been registered successfully. The only problem was that this motherboard's BIOS setup page wasn't displaying it properly.

Adding a UEFI Fallback

Later I recalled that the tutorial mentioned some motherboards don't handle custom paths like EFI/eris/grubx64.efi very well, but will actively look for the standard fallback path defined by the UEFI convention:

EFI/BOOT/BOOTX64.EFI

So instead of reinstalling the system, I simply performed an additional --removable installation of the existing GRUB inside the chroot:

grub-install \
  --target=x86_64-efi \
  --efi-directory=/efi \
  --boot-directory=/boot \
  --removable \
  --no-nvram \
  --recheck

After that, AirDisk's ESP had two entries at the same time:

EFI/eris/grubx64.efi
EFI/BOOT/BOOTX64.EFI

The name --removable is a bit misleading — it doesn't require the drive to actually be a removable device. The most important effect here is writing the bootloader to the standard EFI/BOOT/BOOTX64.EFI. Even if the motherboard loses the NVRAM entry named eris, as long as it's willing to scan the fallback path, AirDisk still has a chance to boot on its own.

Pressed the Wrong Key

After finishing the fallback, checking the files, and regenerating grub.cfg, I shut down and unplugged the USB drive. I had been mashing F7 the whole time, but could never bring up the one-time boot menu. After some searching, I discovered that the Boot Menu on the Mechrevo Yilong 15 Pro is actually F10.

So I rebooted, mashed F10, and it worked on the first try.

Windows, eris, and UEFI OS in the F10 one-time boot menu

The menu finally showed all of these at once:

Windows Boot Manager (KINGSTON...)
eris (AirDisk 512GB SSD)
UEFI OS (AirDisk 512GB SSD)
Enter Setup

Both eris and UEFI OS ultimately lead to the GRUB on AirDisk, but their entry points are different:

  • eris comes from that custom boot record in the motherboard's NVRAM, pointing to EFI/eris/grubx64.efi;
  • UEFI OS is the name the motherboard gives after scanning the standard fallback file, pointing to EFI/BOOT/BOOTX64.EFI;
  • Enter Setup just returns to the BIOS setup screen.

So the way I use it now finally matches my original plan: normally, pressing nothing at boot goes into Windows from the Kingston; when I want Arch, I press F10 at boot and select eris. UEFI OS serves as a backup entry.

Windows Inside GRUB

After successfully entering GRUB, besides Arch Linux, there was an extra entry: Windows Boot Manager (on /dev/nvme0n1p1).

os-prober made Windows Boot Manager appear in the GRUB menu

This is because os-prober was enabled during installation. It scans for operating systems on other disks, and when grub-mkconfig is executed, it writes the results into /boot/grub/grub.cfg. Therefore, GRUB on AirDisk can also chainload to the Windows Boot Manager on the Kingston.

This does not mean it modified Windows' EFI — it just lets GRUB know "there's another Windows next door" and adds an entry to its own menu.

In terms of boot independence, Windows can still boot directly without going through AirDisk, and Arch has its own ESP; os-prober is merely a menu-level cross-reference and doesn't break this structure.

At this point, the truly troublesome part of this installation was finally over. Looking back, Arch itself wasn't nearly as mystical as the legends make it out to be — what was most nerve-wracking were actually those details in multi-SSD scenarios that tutorials tend to gloss over: device names can change, mount points determine which drive files actually get written to, the existence of an EFI file doesn't mean the BIOS is willing to show it, and even the key for the motherboard's boot menu might need to be looked up first.

fastfetch

Shortcuts for the Installation Part

Honestly, the manual installation was just me wanting to torture tinker with myself. If you want to install Arch Linux the easy way, there are two options:

  1. After entering the live environment, type the archinstall command, and you can complete the entire installation through a hand-holding TUI guide.

  2. After entering the live environment, connect to the network first, and once online, directly install an opencode (via a shell script) and let it do the installation.

    At first I thought that a bare-bones Arch Linux with nothing installed couldn't do anything at all — I never expected it could actually run a Coding Agent...

    The only thing to watch out for is the disk issue — absolutely do not format the wrong drive; double- and triple-check this part. I don't think anything else is a problem; if you mess up, just redo the live environment.


First Experience with Arch Linux!
https://blog.wendain.ing/en/posts/first-experience-of-arch-linux/
Author
wendaining
Posted on
August 31, 2026
Updated on
August 31, 2026
Licensed under