Today I am going to show you how to install Arch Linux on your system.
Well, go ahead and download the latest version from the following location.
As of writing this tutorial, the latest version was 2016.02.01.
After downloading the ISO, make the bootable USB or DVD and boot up your system using the installation media.
You'll be greeted with the following installer screen. You can either choose 32 bit or 64 bit installation depending upon your hardware. I am going to install 64 bit version, so I chose 'Boot from Arch Linux' (x86_64) .
![Arch Linux [Running] - Oracle VM VirtualBox_002](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-Running-Oracle-VM-VirtualBox_002.jpg)
Once your system is booting, you'll be automatically logged in as root user by default.
![Arch Linux [Running] - Oracle VM VirtualBox_003](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-Running-Oracle-VM-VirtualBox_003.jpg)
As I mentioned before, you must need Internet connection in order to install Arch Linux. Check if your Internet connection is working:
ping google.com
![Arch Linux [Running] - Oracle VM VirtualBox_004](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-Running-Oracle-VM-VirtualBox_004.jpg)
Internet is working. Let us go ahead and partition the hard drive.
To check the partition table, run:
fdisk -l
![Arch Linux [Running] - Oracle VM VirtualBox_005](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-Running-Oracle-VM-VirtualBox_005.jpg)
As you see above, I have 20GB hdd. Let us go ahead and partition the hard disk. You can either use 'Fdisk' or Cfdisk'.
I am going to use cfdisk.
We're going to create three partitions.
- Root partition, /dev/sda1, as primary bootable with size 10 GB and ext4 formatted.
- Swap partition, /dev/sda2, as primary with size 2xRAM size.
- Logical partition, Home, /dev/sda5, rest of the space and ext4 formatted.
Type cfdisk in the command prompt. You should see the following screen.
cfdisk
Select label type as dos.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_022](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_022.jpg)
Table of Contents
1 Create Primary partition
Select 'New'.
![Arch Linux [Running] - Oracle VM VirtualBox_007](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-Running-Oracle-VM-VirtualBox_007.jpg)
Enter partition size, in our case it is 10GB. You can specify size in MB using letter 'M'.
![Arch Linux [Running] - Oracle VM VirtualBox_008](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-Running-Oracle-VM-VirtualBox_008.jpg)
Then, we need to choose the type of the partition, primary, logical, swap etc. As I mentioned earlier, we make this partition as primary with bootable and ext4 formatted.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_024](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_024.jpg)
Next select 'Bootable' to make this partition as bootable partition.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_025](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_025.jpg)
Then, select 'Write' using left/right arrow button to write the partition changes.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_001](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_001.jpg)
Type 'Yes' to save the changes.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_002](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_002.jpg)
2. Create Swap partition
Select the free space using up/down arrow and select 'New'.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_003](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_003.jpg)
Enter Swap partition size, 2XRAM size. I have 1GB RAM, so I assigned 2048M as my swap partition size.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_004](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_004.jpg)
Select partition type as 'Primary'.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_005](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_005.jpg)
Select 'Write'.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_006](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_006.jpg)
Type 'Yes' to save the changes.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_007](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_007.jpg)
3. Create Logical (Extended) partition
Again, select the free space using up/down arrow key. And select 'New'.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_008](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_008.jpg)
Enter the partition size. Since It's my last partition, I want to assign the entire free space for this partition.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_009](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_009.jpg)
Hence It's my logical partition, so I chose 'Extended' option.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_010](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_010.jpg)
Then select the free space using down arrow for the Home partition and select 'New'.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_011](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_011.jpg)
Again partition size for the Home.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_012](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_012.jpg)
Finally save the partition changes by selecting the 'Write' option.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_013](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_013.jpg)
Type 'Yes' again to confirm the changes.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_014](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_014.jpg)
After creating the necessary partitions, select 'Quit' option and exit the partition manager.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_015](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_015.jpg)
You can verify the partition details using command:
fdisk -l
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_016](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_016.jpg)
4. Format partitions
We have created the necessary partitions, but we didn't format them yet.
Format the primary partition using command:
mkfs.ext4 /dev/sda1
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_017](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_017.jpg)
Similarly, format the logical partition using ext4 file system.
mkfs.ext4 /dev/sda5
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_018](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_018.jpg)
Then format and activate the Swap partition using the following commands:
mkswap /dev/sda2
swapon /dev/sda2
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_020](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_020.jpg)
5. Installing Arch Linux base system
We have created necessary partitions and formatted them. Now, we need to mount them in order to install Arch Linux base system.
I am going to mount Primary partition (/dev/sda1) in /mnt and Home partition in /mnt/home.
mount /dev/sda1 /mnt
mkdir /mnt/home
mount /dev/sda5 /mnt/home
Now, it is time to install Arch Linux base system.
pacstrap /mnt base base-devel
This will take while depending upon your Internet speed.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_021](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_021.jpg)
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_024](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_024-1.jpg)
After base system installation, create fstab file using command:
genfstab /mnt >> /mnt/etc/fstab
Then verify the fstab entries using command:
cat /mnt/etc/fstab
Sample output:
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_025](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_025-1.jpg)
6. Arch Linux basic Configuration
Now, let us switch to the newly installed Arch Linux base system using command:
arch-chroot /mnt /bin/bash
The next step is to configure the system language.
To do that, edit /etc/locale.gen file:
vi/etc/locale.gen
Uncomment en_US.UTF-8 UTF-8, as well as other needed localisations.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_026](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_026.jpg)
Save and close the file.
Then, generate the new locales using command:
locale-gen
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_027](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_027.jpg)
Create /etc/locale.conf file,
vi /etc/locale.conf
Add the following line:
LANG=en_US.UTF-8
Save and close the file.
Then, we need to assign system's timezone.
List out the available timezones using command:
ls /usr/share/zoneinfo/
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_028](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_028.jpg)
Since my time region is Asia/Kolkata, I ran the following command:
ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
Set the time standard to UTC using command:
hwclock --systohc --utc
Set 'root' user password with command:
passwd
7. Network configuration
Edit /etc/hostname file,
vi /etc/hostname
Set your Arch linux system name:
server
Save and close the file. Then, edit /etc/hosts file and set the hostname as well. Be mindful that you need to set the same hostname in the both files.
Then make Network connections persistent using commands:
systemctl enable dhcpcd
8. Grub installation
We reached the final stage. Now, we need to install the boot loader for the newly installed Arch system.
To do that, run:
pacman -S grub os-prober
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
Finally, exit from the chrrot, unmount the partitions and reboot your Arch Linux. Make sure you have removed the installation media too.
exit
umount /mnt
umount /mnt/home
reboot
Select Arch Linux from the boot menu.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_030](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_030.jpg)
Log in to your newly installed Arch system as root user and password that you made during installation.
![Arch Linux 2016 [Running] - Oracle VM VirtualBox_033](https://ostechnix.com/wp-content/uploads/2016/02/Arch-Linux-2016-Running-Oracle-VM-VirtualBox_033.jpg)
Congratulations! The Arch Linux system is ready to use.
In our upcoming articles, we will see more about Arch Linux.
Refer our next article to know about hat are the basics things to do, after Arch Linux fresh installation.
If you find this tutorial useful, please share it on your social networks and support our site.
Thanks for reading!
If you are a beginner, then Arch Linux installation will be bit bit difficult for you. No worries, there is an another distro, called Arch anywhere, that has a graphical installer script that allows the users to easily install Arch Linux with a simple menu system.
Reference:

10 comments
Too complicated , totaly unnecessery … Serbian is the best , maybe and Crunchbang/Bunsen …
Yes. However, there are many alternatives. One of them is Arch anywhere. It has a graphical installer with simple menu system.
https://ostechnix.com/arch-anywhere-an-easy-way-to-install-a-fully-custom-arch-linux-system/
mount /dev/sda1 , where is /mnt ? similarly you missed /mnt/home , easier way to install is to use architech linux , gui installer.
Thanks. Corrected now.
Thanks!
Thank you!!!!
Hands down the best Arch beginners guide I’ve came across. Very excellent job.
THANKS
Very well written and so easy to follow; this guide made the installation of of Arch Linux in VirtualBox on my laptop a snap! Thank you so much.
You’re very welcome. It means a lot to me.