Arch Linux Installation
Arch Linux Installation
This a guide to perform basic installation of an ARCH Linux distribution. Arch Linux
is one of the most “Vanilla” distributions out of the many distributions available
today.So the installation is not vey straight forward as other Linux
distributions(Unless you know what you’re doing). This guide walks you through the
installation of Arch Linux on a VMware workstation, but the installation steps should
not differ on other virtualization platforms.
Index
1. Downloading the ISO.
2. Booting from the ISO.
3. Pre-Installation steps.
4. Installation.
5 Post-Installation steps.
Once the VM is created similar to the above settings, attach the Arch linux ISO and
boot it. You’ll see a screen similar to this one:
Select “Boot Arch Linux (x86_64)”, you’ll now see a screen similar to this one:
4. Installation.
Now, that we’ve take care of most of the pre-requisites, without further ado, let’s start
the installation.
4.1. check the HDD added using the “fdisk -l” command. Using “fdisk” command
create 2 partitions one for root(/), the other for swap.
4.2. Format the “Linux” partition with ext4. And the swap partition using the
“mkswap” partition.
Earlier, the “base” respository used to install the kernel and related packages, but now
it does not hence it’s necessary to install the packages separately as shown above.
For the next steps we need to chroot to /mnt, so that it becomes our root. Use the
below command.
arch-chroot /mnt
We’re pretty much in a state where we can boot the system. Reboot the system and
check if it’s booting. Next we’ll complete the post-installation steps (In the Post–
Installation steps section) setting the hostname, Keyboard layout, keymap, locale
setting,Time-zones, persisting the network configuration files.For now, let’s exit
from the chrooted environment and reboot it.
5.2 Next we’ll set the hostname. I have used the hostnamectl command.
5.6 Take a reboot to verify if everything’s fine and settings we made persists accross
reboots.
We’re now done with the installation and minimum settings required for a server to
be up and running.