Arch Installation
Arch installation is very easy since archinstall. This post shows a simple installation in a VM.
I went to the downloads page and selected to download the ISO from a mirror of my choice which was mirrorservice.org. Follow the instructions on this page if you want to verify your download.
If installing on hardware, write the ISO to a flash drive as described in the arch wiki and select to boot from the flash drive.
When booted up, select first option on the GRUB menu (arch linux install medium (x86_64, BIOS)). When I reach the tty and it is ready to type into, I type archintall
.
Options
Archinstall language: English
Keyboard layout: uk
Mirror region: United Kingdom
Locale language: en_GB
Locale encoding: utf-8
Drive(s): Selecting /dev/vda
Disk layout: Wipe all drives and use a best-effort default partition layout (filesystem ext4)
Disk encryption: password (partition encryption)
Bootloader: grub-install
Swap: False
Hostname: arch
Root Password: password
User account: Add a user
Enter username: diyar
Password for user "diyar": password
Should "diyar" be a superuser (sudo)? Yes
Confirm and exit
Profile: minimal
audio: No audio server
Kernels: linux-hardened
Additional packages: neofetch
Network configuration: Use NetworkManager
Timezone: Europe/London
Automatic time sync (NTP): True
Optional repositories: multilib
Save configuration
Save all
.
Install
Woudld you like to chroot into the newly created installation and perform post-installation configuration? No
reboot
Remove the ISO file / flash drive and you should reach the arch GRUB menu for your installation. I select the first option “Arch linux”. Username “diyar” and password typed in when prompted.
It isn’t always the best idea to but you may optionally want to easily install AUR packages with yay.
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay/
makepkg -si
#installing with yay like this
yay -S package secondpackage
Like usual, you should read the documentation to learn more about how to use arch instead of automatically going to ask for help on the arch forums. Just because the installation is easier than it used to be isn’t a good reason to not read the fine manual.