1. ARCH LINUX INSTALLATION

Pre-requisites:

  • x86_64-compatible machine with a minimum of 512 MiB RAM

  • According to arch installation guide: A basic installation should take less than 2 GiB of disk space

  • Internet connection for installing packages from a remote repository

  • Patience and curiousity.

1. Pre-Installation

1.1 Installation image:

Downlaod archiso from https://archlinux.org/download/

1.2 Verifying the signature

1.3 Prepare an installation medium:

USB flash drive or a virtual machine. Here for demonstation purposes I am gonna be using KVM virtual machine. Here, we have prepared the virtual machine. For details on how to prepare one recommeneded to read this blog: /posts/virtual-machines/

  • 1.4 Boot the live environment

Selecting first option. Arch boot process starts: pic

Here opens arch CLI or tty where we will be entering our commands for installation: pic

1.5 Set the console keyboard layout

ls /usr/share/kbd/keymaps/**/*.map.gz

:pic: Output:

set acc to your own preference.

1.6 Verify the boot mode ??

ls /sys/firmware/efi/efivars

If the command shows the directory without error, then the system is booted in UEFI mode. If the directory does not exist, the system may be booted in BIOS (or CSM) mode. If the system did not boot in the mode you desired, refer to your motherboard’s manual.

1.7 COnnect to Internet

Ensure your network interface is listed and enabled, for example with ip-link

check your connection using:

ping google.com

Update the system clock

systemd-timesyncd is enabled by default and time will be synced automatically once a connecton to internet is established

TO ensure the system clock is accurate:

timedatectl status

1.9 Partition the disks

disks are assigned to a block device such as /dev/sda, /dev/nvme0n1 or /dev/mmcblk0 ???

TO identify these devices use lsblk or fdisk -l

1.10 Format the partitions

1.11 Mount the file systems

2. INSTALLATION

2.1 Select the mirrors

2.2 Install essentail packags

3 COnfigure the system

https://wiki.archlinux.org/title/Installation_guide