Arch Linux’s special feature is that it requires a minimum system, which is why it is so popular. Judd Wynette introduced Arch Linux in 2002 with an update to the 64 bit x86 (2006) that is still in use today.
Pacman is a tool used to remove software packages, update any software, and update Arch Linux. Before installing Arch Linux, the main thing to understand is that to install x86_64. First, you need 512 MB RAM, 10 GB free disk space, internet, and a blank DVD or flash drive for installation burn, which is the first step towards installation.
With this, if you use Windows, you can install it by saving the file directly from the internet, in which the use of DVD and flash drive will be saved.
First, download the iso file of Arch Linux from the official website of Arch. Here is the official website link.
Now, download the Etcher GUI tool in the system to create a live USB.
If you are using Linux OS for this process, please use the dd command for creating the live USB. Please make sure you replace /path/to/archlinux.iso with that particular file in which you have saved the ISO file of Arch Linux.
You can easily boot from a live USB by disabling the secure boot. So make sure you disable the secure boot before starting the process.
After creating a live USB, shut down your system and plug the USB. Now boot your system and press F2/F10/F12 keys (it differs according to the manufacturers of the systems) to open the boot settings.
In the options list, select to boot from USB to start booting with your removable device. Now, select Arch Linux, and the system will boot to the login with the root user.
The next step is to partition the disk, create the filesystem, and mount it. So we will use any command line-based partition manager.
Now first execute the below command to list all of the disks and their partitions on the system:
You should label your hard drive as /dev/sda or /dev/nvme0n1. Label your disks according to your system.
Here are the steps for formatting and partitioning the disk:
If there is an existing partition on your disk, you can remove it with command d. If there is no existing partition on your disk, you can create new ones with command n.
If your system is UEFI, please create an EFI partition at the starting of the disk partition process.
Immediately after entering n, you will be prompted to select a disk number. You should enter +512M when prompted for the size of the partition.
It is important to set the EFI partition type to EFI System (rather than Linux).
If you’re interested in seeing the available partition types, you can use L. Create a root partition for both UEFI and legacy systems.
So press n for creating the new partition when you are in the fdisk command. The system will provide partition two automatically.
After that, use the w command for writing the required changes to the disk and then exit the fdisk.
Now you have two different partitions, so create a FAT32 filesystem through the following command:
Once you enter the mkfs command, please create an Ext4 filesystem at the root partition with this command:
Now enter the following command for connecting to the WiFi:
With this command, you will see all of the active connections, so connect with any of them. Please execute the below command because it is a ping command, and it will provide the information about the connection:
Press CTRL and C to stop the ping from the command line.
Now, sync the pacman repository for downloading all the required software:
After that, you can install the reflector as well. The reflector will list all new and fast mirrors.
Once you download the reflector, make a backup of all the mirrors using the below command:
Now you are good to go and start installing Arch Linux utilities in your system.
Having Arch Linux in the system for those who have low-end devices because it provides a compact environment with amazing features. It is simple to install Arch Linux from USB, but be careful while installing it in your system because if you skip any step, it can create huge trouble for your device.