In this Guide I will show you how to Install Arch Linux first of all you will need to go to Arch Linux Official website and download the correct .ISO image for your CPU Architecture you can download these files via HTTP in your web browser or by Torrent using a Torrent Client.
In this guide I will use the .Torrent download as I find its more stable and can download a lot fast due to independent seeders if you don’t have a Torrent client installed you may like to try Deluge a free and Open-Source Torrent Client.
After your .ISO File has finished downloading Burn it to a CD/DVD or USB Stick you can also set your .ISO up in a virtual machine if your prefer.
Boot in to the Arch Linux OS.
[email protected] ~ # cfdisk -l
After the prompt shows select dos from the drop down menu you will now see a table of your hard drive partitions click on New and enter a size for your partition and select “Primary” and make your partition “Bootable” when your have finished go to “wirte” to makes changes.
Below you will see another drop down of what free space is remaining click on free space and create a new partition and make it a primary partition as you did in the last section you should now have 2 partitions called /dev/sda1 & /dev/sda2.
Now with the free space remaining create a third partition but this time make it “extended” and write your new partition and go to “quit”.
Now type in your terminal
[email protected] ~ # mkfs.ext4 /dev/sda5
This will tell the partition what partition format to use now type the following commands.
[email protected] ~ # mkswap /dev/sda2
[email protected] ~ # swapon /dev/sda2
Now mount sda1 using the following command.
[email protected] ~ # mount /dev/sda1 /mnt
How you will need to make a home directory we will do this by typing.
[email protected] ~ # mkdir /mnt/home
Now mount /dev/sda5 to your newly created directory.
[email protected] ~ # mount /dev/sda5 /mnt/home
Now we will download packages to our new /mnt directory.
[email protected] ~ # pacstrap /mnt base base-devel
[email protected] ~ # genfstab /mnt/ >> /mnt/etc/fstab
[email protected] ~ # arch-chroot /mnt /bin/bash
[email protected] ~ # pacman -S nano
[email protected] ~ # nano /etc/locale.gen
[email protected] ~ # nano /etc/locale.conf
[email protected] ~ # ls /usr/share/zoneinfo/
[email protected] ~ # hwclock --systohc --utc
[email protected] ~ # nano /etc/hostname
[email protected] ~ # systemctl enable dhcpcd
[email protected] ~ # pacman -S grub os-prober
[email protected] ~ # grub-install /dev/sda
[email protected] ~ # grub-mkconfig -o /boot/grub/grub.cfg
[email protected] ~ # umount /mnt
[email protected] ~ # pacman -Syu
[email protected] ~ # pacman -S xorg xorg-server
[email protected] ~ # pacman -S lxdm
[email protected] ~ # systemctl enable lxdm.service
Now install your Desktop Environment there are many great environments in this guide I will use XFCE4.
[email protected] ~ # pacman -S xfce4