How to Install Arch Linux in 2021

Tuesday, April 6, 2021

Seriously, why are you even here

It is the year 2021. In this post-COVID world, Arch Linux is deemed critical for the survival of humanity. Therefore, every responsible human should enlighten themselves with the knowledge of Arch Linux, an elegant way of wiping Microsoft Office completely from your computing devices, and restoring things to its natural order.

For your information, Arch Linux is an operating system for people with enough power to despise Debian, but have too few beard to compile Gentoo.

It is actually quite flexible, fitting both servers and desktops. However, I will only show the method to install Arch Linux CLI-only.

Before getting excited about installing the future of humanity, bear in mind that Arch Linux is quite selective:

  • Modern computer, e.g. Core 2 Duo
  • A whooping 512MB RAM
  • A hard drive
  • UEFI, you can use BIOS though
  • Internet
  • USB drive

Download and write the ISO

You will lose all data in the USB drive!!

I cannot believe you do not know where to download Arch Linux .

After obtaining the ISO, use Linux’s dd command to write it to your USB drive.

Assuming your USB drive is mounted at \dev\sdX:

dd if=/path/to/arch-linux.iso of=/dev/sdX bs=16M status=progress oflag=direct

You don’t have a Linux computer? Too bad. Linux has some sort of “border-control”, which only allows computers with Linux installed to distribute it.

Actually, you can. Balena Etcher does this job perfectly. It even has tutorials.

Boot into Live ISO

This is easy. A nice trick to boot into live ISO is to, actually, hold Shift while opening Microsoft Windows' startup menu and click reboot. It allows selecting next boot devices.

Actually Install Arch Linux

You will lose all data in your computer!!

You are wiping Windows(and everything with it), just so you know. So please, take backups in case you cannot endure the force of Arch Linux.

After booting into Live ISO, you will be greeted with a hacker console. This is where you will be doing most operations.

Fortunately for you, Arch Linux has lowered the entry difficulty. It now includes a tool, archinstall, to make installations faster.

python -m archinstall guided

There will be a few steps:

  • keyboard languages: us
  • package mirror: 51 (United States)
  • installation disk: /dev/nvme0n1 for NVMe disk, /dev/sda for hard drive
  • main partition filesystem: btrfs
  • encryption password: <whatever you want>
  • hostname: <your desired , e.g. my-computer>
  • root password: skip
  • required super user with root: <your username>
  • additional user: <not necessary>
  • profile name: gnome for GNOME 3, skip for CLI-only
  • additional packages: skip
  • network interface to config: 0
  • network mode: 0 for DHCP
  • timezone: Americs/Los_Angeles for Los Angeles

It will begin installation automagically.

After everything is done, reboot your computer.

Congratulations! You have installed Arch Linux and became the savior for humanity.

CC BY-SA 4.0

How to enable butter-smooth Hardware-accelerated Graphics on Raspberry Pi

Dedicated IPv6 address per Shadowsocks Instance

comments powered by Disqus