In case you had a laborious experience installing Arch Linux, then someone thought about simplifying the process while still maintaining the lean results that Arch promises. Archfi authored by Matmoul is that solution.

Archfi is just a simple bash script wizard to install Arch Linux after you have booted on the official Arch Linux install media. With this script written by Matmoul, you can install Arch Linux with two simple terminal commands.

Requirements

Internet access to fetch the script


Download and create bootable flash or CD/DVD

Step 1: Download Arch ISO

Use the following link to download the latest Arch Linux ISO file.

Latest Arch Download Link

Step 2: Create bootable installation media

Once the ISO is downloaded, create a bootable USB device using dd Linux command.

sudo dd if=path-to-image.iso  of=/dev/sdX bs=4M

Replace sdX with your device name, e.g /dev/sdb

archfi wizard is made to install minimum packages (Base, bootloader and optionally archdi). At the end of this wizard, you can install or launch archdi (Arch Linux Desktop Install) to install and configure desktop packages.

Step 3: Plug your USB and begin

Boot with the last Arch Linux image with a bootable device (either Flash or DVD). You should see the screen below as it begins the installation process. Choose “Boot Arch Linux” and hit enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-boot-iso-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="457" src="data:image/svg xml,” width=”610″>

Then make sure you have an internet connection on the Arch iso as already discussed in the requirements. You can check that by pinging google.com once you have landed on the terminal.

Step 4: Fetch the wizard file

If everything is okay so far, it is time to fetch the file we are interested in. Type the following to get the installation script. Let it download and proceed to the next step.

wget archfi.sf.net/archfi
<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-fetch-script-2.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="369" src="data:image/svg xml,” width=”633″>

Step 5: Execute the script

After we have downloaded our file, let us go ahead and execute it as illustrated below.

# sh archfi

Hit enter after that.
<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-launch-script-3.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

The command above will load the Wizard which we shall follow to the very end. Be ready and stay put.

Step 6: Configure language, keyboard and, disks

This step focuses on configuring the keyboard, language preferences and preparing the disks (partitioning and formatting)

Select the “Language” option and hit enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-language-4-1024×662.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="443" src="data:image/svg xml,” width=”686″>

That will open up other configurations inside is as shown below. Choose the language you prefer and hit enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-language-4-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="403" src="data:image/svg xml,” width=”679″>

Back to the main menu, highlight “Set Keyboard Layout

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-keyboard-5.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Inside that item, set your preferred keyboard config and press enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-keyboard-5-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" height="459" src="data:image/svg xml,” width=”700″>

Setting the editor is optional, you can set “vim, nano, edit or vi” and others if you would like to.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-editor-6-1024×614.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Choose the one you like and hit enter or “OK”

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-editor-6-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

And onto Partitioning the disks now. Highlight the option and in we go.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-disk-7-1024×635.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

You have four options for you to explore. I will go with “Auto Partitions” but feel free to edit if you would wish to.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-disk-7-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Pick the device to apply a partitioning scheme on and press enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-disk-7-2-1024×620.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Confirm to continue with the operation

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-disk-7-3.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

You should get success messaged similar to the ones below on your terminal. Press any key to return to the place we left off.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-disk-7-4.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Since we have already done what is on the next screen, simply highlight “Back” so that we navigate to the main menu.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-disk-7-5.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Step 7: Select partitions and install

In this step, we are going to format “boot, root and swap” with the right file systems then proceed to install Arch Linux base system. Highlight ” Select partitions and install ” menu item and press enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-select-partition-8.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Simply follow the direction of the wizard, hitting enter on each partition it goes to assign boot, swap, and root.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-select-partition-boot-8-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Setting the swap partition

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-select-partition-swap-8-2-1024×632.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Setting the root partition

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-select-partition-root-8-3.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Assigning home to no partition

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-select-partition-home-8-4-1024×621.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Confirm the selections made and hit enter for yes.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-select-partition-all-8-5.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Step 8: Format the partitions

After we have assigned the partitions to directories, the next step is to create filesystems on top of them. Follow the screenshots below to get them partitions formatted.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-9.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Acknowledge the warning by hitting on “yes

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-9-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Install file system on boot device

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-file-system-boot-9-2-1024×644.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>
<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-file-system-boot-9-3.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Format swap as a swap file system

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-file-system-swap-9-4-1024×585.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>
<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-file-system-swap-9-5.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Install a file system on the root device

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-file-system-root-9-6-1024×635.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>
<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-file-system-root-9-7.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Step 8: Mount filesystems ready for Arch Install.

Everything needed for files to be copied is now ready. All we have to do at this stage is to mount the remaining partitions on directories and make them ready to install Arch Linux.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-mount-10.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>
<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-main-menu-format-and-mount-mount-10-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Step 9: Install Arch Linux

The previous step leads us to the “Installation menu“. Here, you have the opportunity to set Arch mirrors near to you and to thus fetch the latest files for installation. The options presented are straight forward.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-install-menu-edit-mirrors-first-11.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Add mirrors close to you to speed up the downloading of files

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-install-menu-edit-mirrors-first-11-2.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

After you are done, highlight “Install Arch Linux” and hit enter.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-install-menu-edit-mirrors-first-11-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

You can choose the kernel you would like to have from a list of three provided.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-install-menu-kernel-11-1.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

The firmware is optional but prudent to have.

<img alt="" data-ezsrc="https://kirelos.com/wp-content/uploads/2020/03/echo/Archfi-install-menu-firmware-11-2.png" data-ez ezimgfmt="rs rscb8 src ng ngcb8 srcset" src="data:image/svg xml,”>

Sit back, relax and wait for the files as they are being downloaded and installed.

Wait for the installer to complete installation of Arch Linux. Then boot to your new system to start using it.

More Arch Linux guides:

How To Install Podman on Arch Linux / Manjaro

Arch Linux vs Manjaro – Why I Use Arch / Manjaro Linux

How to Install VMware Workstation on Arch Linux / Manjaro

How To Install Snap on Arch Linux / Manjaro