I recently uploaded a video showcasing my Arch Linux (btw) setup just for fun, and to my surprise, it went viral within the Linux community! Since then, I’ve received numerous messages asking about the installation process. Although I wanted to make a detailed video tutorial, my laptop’s older specs make it difficult to handle both recording and installation simultaneously. So, I’ve decided to write this article to guide you through the installation process using my dotfiles and the installation script from Ja.Kool.It. Below, you’ll find a step-by-step guide to get started.
1. Install ArchLinux With Minimal Configuration
Make a Bootable USB
- First Download ArchLinux ISO from official site : Download Link
- Second Download for Your Operating System Ventoy
- Extract the Ventoy Folder and Write it on your USB.
- Copy ArchLinux ISO into USB. if you Don’t Know how to use ventoy read this article
Boot From USB
- Restart Your Computer and Press the Boot Menu key according to your Computer.
- In Boot Menu Select Your USB
- It will open ventoy and show you all ISO file available in USB
- Select the ArchLinux ISO and Open in Normal Mode.
Connect to Internet
- For wired internet you don’t need to do anyting
- For wireless Command Given Below
$ iwctl
[iwd]#
From the [iwd]# prompt you will need figure out your device name. Then, assuming you know the SSID (service set identifier) of your wireless network, go ahead and connect like so:
[iwd]# device list
# You should see something like this:
#
# Devices
# -------------------------------------------------------------
# Name Address Powered Adapter Mode
# -------------------------------------------------------------
# wlan0 ... on ... ...
[iwd]# station YOURDEVICE connect YOURSSID
For a secured wireless network, you will be prompted for the WiFi password. Once you enter the correct password, you’ll be off to the races!
Making Partition Ready for Archinstall
for that first we will use thecfdisk
to make partitions and thenmfks
for formatting that
$ lsblk
if will show your all partitions and there information
$ cfdisk
it show you all of your information about your drives
You have to make 3 partitions
- EFI boot Partition - Type Must be EFI System
- Swap Partition - Type Must be Swap Partition
- Root Partition - Type Must be Linux File System
after Make Partitions write and exit the cfdisk and Run these commands and just change paths
$ mkfs.ext4 /path/to/root/partition
$ mfks.vfat -F 32 /path/to/efi/partition
$ mkswap /path/to/swap/partition
we will use the pre-mounted disk configuration for that run
$ mkdir /mnt/archinstall
$ mount /path/to/root/partition /mnt/archinstall
$ mkdir /mnt/archinstall/boot
$ mount /path/to/efi/partition/ /mnt/archinstall/boot
$ swapon /path/to/swap/partition
now we are done with partitioning the partitions
Update System and Run ArchInstall
$ pacman -Sy archinstall archlinux-keyring
$ archinstall
Actual Installation Start Here
After running the archinstall
command it will show you something like this.
- Locales : In locales select your keyboard layout, locale language, and endcoding
- Mirrors : In Mirrors select best mirror region according to your location
- Disk Configuration : ->Partitioning->Pre-mounted Configuration-> Enter
/mnt/archinstall
- Swap : Enable it if you made the swap partition
- Boot Loader : Select which boot loader do you need like
grub
,system-d-boot
- Unified kernel images : Enable if you want
- Hostname : Select your hostname what you want
- Root Password : Enter Your Root Password
- User account : make a account for normal user
- Profile : Select->Type->Minimal
- Audio : Select->Pipewire
- Kernels : Select one or many according your need. if don’t know don’t touch it
- Network configuration : Select->Use NetworkManager
- Additional packages : git vim
- Optional repositories : Enable additional repos if you want like
multilib
- Timezone : Select timezone according to your location
- Automatic time sync (NTP) : Leave Enabled
after that just press the install
and wait for installation to be finished
Congratulations🎉!! You have successfully installed the ArchLinux and now you can say that I use Arch btw