Arch Linux is a lightweight and flexible Linux distribution that provides full customisation options with minimal pre-install configuration options and less bloatware. The installation and setup process, however, is a bit complicated and different than most daily dirving Linux Distros like Ubuntu, Fedora, etc…
Even though there are custom ISOs with GUI installers available, its safer to use the officially released ISOs version. This blog is a walkthrough for steps involved in installation of the OS with the i3-wm
desktop environment. All these instructions can be found on The Installation guide with some difference in commands used.
!!! note The screenshots are from a VirtualBox setup for a clearer demonstration of the process. The installation process is same.
My dotfiles: @externref/dotfiles
To install arch you need to load it into an installation medium like a USB Drive, Optical Disc or any memory device.
.iso
extension from the respective sources.??? screenshot
Restart the System to open the BIOS menu and select the device that was flashed with the Arch ISO.
!!! warning
Make sure to disable Secure Boot
option from your system settings during the installation process, you can re-enable it after installing.
On booting, you should enter into a Grub screen with Arch Linux Installation medium and other options.
Upon booting you should see the arch installation terminal with some instructions.
Before anything, you should be connected to the internet.
Run the iwctl
utility to open an interface to connected to the desired network.
device list
to list all the available devices, if you’re using a WIFI network it should be a wlan network.station [wlan_name] scan
.station [wlan_name] connect [device_name]
.Use the ping
command to check internet connection. It should produce an output like this
You need 2 disk partitions in order to install Arch Linux.
disk | recommended memory | mount point | fs |
---|---|---|---|
boot | 1GiB | /mnt/boot | FAT32 |
root | ~30-40GiB | /mnt | EXT4 |
Use the lsblk
command to check the current memory condition.
Remember the address of the disk where the system is to be installed.
Use the cfdisk
command to create partition. You need an unallocated space of around 40 GiB minimum to install daily driving arch.
Use cfdisk /dev/<disk_name>
to open the cfdisk interface.
You can see the empty patition in the screenshot, we’ll be using this to create our arch patitions.
??? Screenshots
Now, format the partitions into the required filesystem types.
mkfs.fat -F 32 /dev/<boot_partition>
mkfs.ext4 /dev/<root_patition>
This command formats the disks into the required fs types.
Now, we mount the filsystems on the disk.
mount /dev/<root_parition> /mnt
mount --mkdir /dev/<boot_partition> /mnt/boot
This was all the manual configuration, in further steps, we’ll be using the archinstall script for easier installation.
Run the archinstall
command in the terminal. It will open an interface stating various install options with some pre-set ones.
Disk Configuration
option, and use the pre configured mount option from create partitions option. Enter /mnt
as the value and press enter. Confirm and exit.Grub
as the bootloader.Pipewire
or Pulseaudio
for the audio server.NetworkManager
for the network configs./
.We’ll be using i3-wm for this installation, you can choose the desktop environment you want and continue with it.
Profile
and select Desktop
.i3-wm
(using Tab) in the desktop environment options.ly
as the login screen.Save and go back to main screen.
This is what your configs should look like after setting up everything.
Select Install
and press enter and watch the magic happen!.
You should be greeted with this screen once you’re done installing arch.
Enter in prompt if you have anything else to configure.
Your Arch Linux installation is not completed and can be booted into.