Skip to main content

ArchBang Linux Install Step by Step Guide with Screenshots

archbang linux install complete

ArchBang Linux, as its name suggests, is an Arch-based Linux distribution. It features the light-weight openbox window manager, conky and a simplified installation process. So rejoice for you guys who have difficulty installing Arch Linux! This tutorial will take you step by step through the installation process of ArchBang Linux.

Oh right, let’s get started.

Step 1: Create a ArchBang Live USB or DVD

First we need to download the ISO image file of ArchBang Linux. Go to the official ArchBang Linux download page. Select the ISO file for your OS architecture (i686 or x86_64). It’s only about 600MB and doesn’t take long to download.

ArchBang Linux download

Once it’s downloaded, you can create a live USB by following the below detailed guide.

How to Install and use Unetbootin to create Linux live USB

When you finished it, come back here and read on. If you like to create a live DVD, then you can use a free burning software called InfraRecorder on a Windows machine. There are many other free disk burners on Linux like Brasero, K3B and more.

Step 2: Reboot Computer from Live USB/DVD

Now let’s begin the installation. Boot your computer from live USB or live DVD. Select the first entry in the boot menu.

ArchBang Linux Install

You will be taken directly to the ArchBang desktop.

Step3: Create and Mount partitions

Before we select Install from the context menu, we need to mount root partition to /mnt directory. Right-click on the desktop and select terminal. This tutorial is demonstrated in VirtualBox, so here I will format /dev/sda as a ext4 file system and then mount it to /mnt directory.

sudo mkfs -t ext4 /dev/sda

sudo mount /dev/sda /mnt

If you need to edit partitions in a graphical user interface, then run this command to launch Gparted and edit partitions.

sudo gparted
archbang edit partitions in gparted

Normally you want to create separate partitions for root file system, home directory and a swap partition. If your computer is UEFI-enabled, then you also need to create a separate /boot partition.

Once done, close Gparted. Create a /home directory under /mnt.

sudo mkdir /mnt/home

Then mount root partition and home partition to /mnt and /mnt/home respectively.

sudo mount /dev/sda1 /mnt
sudo mount /dev/sda2 /mnt/home

The above command assumes /dev/sda1 is the root partition and /dev/sda2 is your home partition.

Step 4: Let the Installation Begin

Now close terminal and select Install from context menu.

ArchBang Linux install in virtualbox

You will be presented with the 10 steps of installing ArchBang.

archbang linux 10 step2 install

And of course, we start with the first step. So enter 1 at the prompt. This is a very fast process.

install archbang linux Next go to the 2nd step by entering number 2 and enter your desired hostname, for example, archbang.

archbang linux install set hostname

In step 3, you need to select your area and then select the city that represents your time zone. For example, select 2 (America) and then 101 (New York) to set EDT as your time zone.

archbang linux install time zone

Enter Y to confirm your time zone.

archbang linux installation time zone settings

Step 4 is about setting hardware clock which is also called real time clock (RTC). Two options are using UTC or local time as hardware clock. You can choose either one and don’t worry too much about this setting because hardware clock is unreliable and you shouldn’t trust it.

archbang install hardware clock setting

In step 5, choose your locale. A locale defines what language your system will be using and what date format, monetary format etc. are used. Here I choose 82 (en_US) as my locale.

installing archbang linux locale

Then in step 6, choose your desired keyboard layout. This tutorial selects 95 US keyboard.

archbang keyboard layout

Step 7 is optional, but normally you would want to configure mirror list in this step. So enter 7 and then press Enter key. The midnight commander file manager will pop up. Navigate to /etc/pacman.d/ directory. Then enter this command to edit mirror list.

sudo nano mirrorlist

By default, all mirrors are comment out. That means no mirror are enabled. To enable a mirror that is close to your area, simply find it in this file and remove the # symbol in front of it.

archbang linux install mirror list

Once that’s done. Save the file. To exit out of midnight commander, press F10 key.

Step 8 and step 9 is about setting root password, creating a standard user.

In step 10, you can choose Grub2 or syslinux as the boot loader. Grub2 is preferred.

archbang linux install grub bootloader

Next, choose automatic.

Once you installed Grub bootloader, press d, then y to reboot your system.

archbang linux grub2

The Grub boot menu reads Arch Linux although it’s really ArchBang. And now you can start using the fresh ArchBang install.

archbang linux install complete

The Final Step

Before you begin installing any packages using pacman, you may need to update your pgp keyring by running the following 3 commands.

sudo pacman-key --init

sudo pacman-key --populate-archlinux

sudo pacman-key --refresh-keys

As always, if you found this post useful,  subscribe to our free newsletter or follow us on Google+,Twitter or like our Facebook page.

Rate this tutorial
[Total: 3 Average: 3.3]