Arch Linux Installation Guide
Arch Linux Installation Guide
How to Install
Arch Linux
8 minutes read
Arch Linux is a x86-64 general-purpose Linux distribution which
has been popular among the DIY enthusiasts and hardcore Linux
users. The default installation covers only a minimal base system
and expects the end user to configure and use it. Based on the
KISS – Keep It Simple, Stupid! principle, Arch Linux focus on
elegance, code correctness, minimalist system and simplicity.
I’m using Arch Linux right now, I’ve configured it in a way I like,
and for my use. The official installation guide is available here.
Minimum Requirement
* A x86_64 (i.e. 64 bit) compatible machine.
* Minimum 512 MB of RAM (recommended 2 GB).
* At least 1 GB of free disk space (recommended 20 GB for basic
usage).
* An active internet connection.
* A USB drive with minimum 2 GB of storage capacity.
Pre-Installation
1. Download the ISO
You can download the ISO from the official website. Arch Linux
requires a x86_64 (i.e. 64 bit) compatible machine with a
minimum of 512 MB RAM and 800 MB disk space for a minimal
installation. However, it is recommended to have 2 GB of RAM
and at least 20 GB of storage for a GUI to work without hassle.
2. Create a live USB of Arch Linux
We will have to create a live USB of Arch Linux from the ISO you
just downloaded.
If you are on Linux, you can use dd command to create a live USB.
On Windows, there are several tools, like Rufus, to create a live
USB.
3. Boot from the live USB
Plugin your USB and boot your system. While booting keep
pressing F12, F10 or F2 (dependinging upon your system) to go
into boot settings. In here, select to boot from USB or removable
disk.
Once you select that, you should see an option like this:
NOTE: If your system has both Intel and Nvidia GPU, you should
blacklist nouveau.
You can blacklist it, by pressing e in above step and type-
modprobe.blacklist=nouveau . In some system it may happen that
lspci command freezes the system while installing. Above step can
resolve it.
4. Partitioning Disk and Other stuffs to know.
root@archiso ~ # <command_you_type>
# ls /sys/firmware/efi/efivars
# wifi-menu
# ping 8.8.8.8
* Format the Partition
To list the partitions.
# lsblk -o name,size,type,mountpoint,fstype
# mkfs.ext4 /dev/sdxr
# mkfs.ext4 /dev/sdxh
# mkfs.ext4 /dev/sdxs
Find out if your computer uses UEFI or not. The best way is to
verify whether you have a vfat partition (in most cases
/dev/sda1). If yes, then:
# mkdir /mnt/boot
# mkdir /mnt/home
# mount /dev/sdxh /mnt/home
# mount /dev/sdxe /mnt/boot
* Chroot
Change root into the new system:
# arch-chroot /mnt
* Time zone
Set the time zone (for example Asia/Kolkata for India):
# ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/local
* Locale
Open /etc/locale.gen using nano:
# nano /etc/locale.gen
#en_US.UTF-8 UTF-8
LANG=en_US.UTF-8
* Hostname
Create the /etc/hostname file. A hostname is a name for your
pc (You can set that to anything consisting of only letters):
myhostname
* Root password
Set the root password:
# passwd
# pacman -S intel-ucode
# passwd <username>
# visudo
Reboot
Exit the chroot environment by typing exit or pressing Ctrl+D .
Optionally, unmount all the partitions with:
# umount -R /mnt:
Post-installation
See General Recommendations for system management
directions and post-installation tutorials (like setting up a
graphical user interface, sound or a touchpad).
For a list of applications that may be of interest, see List of
applications.
Congratulations, you have installed the ARCH LINUX, oohh
wheeee!
Thank you guys for reading this article, I’ll hope you enjoy it.
ALSO ON HTTPS://SHUBHSHERL.GITHUB.IO/
5 ye
0 Comments 1 Login
LOG IN WITH
Name
Subscribe Privacy