Introduction: Why ArchBang?
ArchBang is like a gourmet sandwich: you start with the rock-solid foundation of Arch Linux, add a dash of Openbox minimalism, sprinkle in speedy performance, and voila—you get a nimble desktop that’s equally at home on a rice cooker or a gaming rig. If you crave total control over your system without drowning in complexity, buckle up. We’re going on an installation adventure.
Prerequisites: What You’ll Need
- A computer with 64-bit support (sorry, vintage calculators).
- At least 1 GB of RAM (2 GB recommended for smooth sailing).
- 5–10 GB free disk space minimum (20 GB if you hoard multimedia).
- USB stick or DVD for bootable media.
- Internet connection (for packages, drivers, and endless memes).
- Basic comfort with terminal commands we’ll hold your virtual hand.
Step 1: Downloading the ArchBang ISO
Head over to the official site: https://archbang.org. Choose the latest ISO image. Check the MD5/SHA256 sum to avoid corrupt downloads. Nothing’s worse than halfway through an install only to discover missing bytes.
Step 2: Creating Bootable Media
You have two main options:
- USB (recommended):
- Use
ddon Linux:sudo dd bs=4M if=archbang.iso of=/dev/sdX status=progress oflag=sync - Use Rufus on Windows.
- Use
- DVD:
- Burn at low speed to avoid coasters.
Step 3: Booting the Live Environment
Plug in your media, reboot, and select it in your BIOS/UEFI menu. You’ll land in a live session with a black terminal on a white background—arch tradition.
If you see a command prompt like root@archbang, congratulations: you’re ready to party.
Step 4: Preparing Your Disk
Time to carve out partitions. We’ll use cfdisk for simplicity.
- List disks:
lsblkorfdisk -l - Run
cfdisk /dev/sdXand create:
| Partition | Size | Type | Mount Point |
|---|---|---|---|
| /dev/sdX1 | 512 MiB | EFI (if UEFI) | /boot/efi |
| /dev/sdX2 | 4–8 GB | swap | swap |
| /dev/sdX3 | Rest | Linux filesystem | / |
Tip: Adjust sizes to taste—no one’s judging your swap fetish.
Step 5: Formatting and Mounting
- Format root as ext4:
mkfs.ext4 /dev/sdX3 - Format EFI:
mkfs.fat -F32 /dev/sdX1 - Initialize swap:
mkswap /dev/sdX2 swapon /dev/sdX2 - Mount root:
mount /dev/sdX3 /mnt - Create mount EFI:
mkdir -p /mnt/boot/efimount /dev/sdX1 /mnt/boot/efi
Step 6: Installing the Base System
With your filesystems in place, install essentials with pacstrap:
pacstrap /mnt base linux linux-firmware nano sudo networkmanager
This grabs the kernel, shell utilities, editors, network management, and more. You’re halfway to a functioning OS.
Step 7: Configuring fstab and chroot
Generate /etc/fstab so your partitions mount on boot:
genfstab -U /mnt gtgt /mnt/etc/fstab
Enter the new system:
arch-chroot /mnt
Step 8: Time, Locale, and Hostname
- Set timezone:
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime - Sync hardware clock:
hwclock --systohc - Edit
/etc/locale.genand uncommenten_US.UTF-8 UTF-8(or your favorite locale), then runlocale-gen. - Create
/etc/locale.conf:echo LANG=en_US.UTF-8 gt /etc/locale.conf - Set hostname:
echo myarchbang gt /etc/hostname - Edit
/etc/hosts:127.0.0.1 localhost ::1 localhost 127.0.1.1 myarchbang.localdomain myarchbang
Step 9: Setting the Root Password
Run passwd and choose a strong password (no password123, please).
Step 10: Installing a Bootloader (GRUB)
Install GRUB and EFI support:
pacman -S grub efibootmgr
Then:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ArchBang grub-mkconfig -o /boot/grub/grub.cfg
If you live in Legacy BIOS land, swap to --target=i386-pc /dev/sdX.
Step 11: Installing ArchBang Meta-Packages
ArchBang provides a neat bundle:
pacman -S archbang-keys archbang-menu archbang-skel
This includes the Openbox session config, themes, icons, and default applications. It’s like unpacking a gift from the Arch Fairy.
Step 12: Exiting chroot and Rebooting
Finish up:
exit umount -R /mnt reboot
Remove installation media and cross your fingers. If all went well, you’ll see the GRUB menu and boot into your new ArchBang system.
Step 13: First Boot Post-Install Tweaks
- Login as root (or your new user).
- Enable NetworkManager:
systemctl enable --now NetworkManager - Create a normal user:
useradd -m -G wheel -s /bin/bash yourusername passwd yourusername - Edit
/etc/sudoers(usevisudo) to allow members of wheel group tosudo. - Enable graphical login:
pacman -S lightdm lightdm-gtk-greeter systemctl enable lightdm - Install video drivers:
- Intel:
pacman -S xf86-video-intel - AMD:
pacman -S xf86-video-amdgpu - NVIDIA:
pacman -S nvidia nvidia-utils
- Intel:
- Install audio:
pacman -S alsa-utils pulseaudio pavucontrol
Step 14: Customizing Openbox and Tint2
Your ArchBang desktop uses Openbox and the Tint2 panel. Look in ~/.config/openbox and ~/.config/tint2 to tweak menu entries, themes, keyboard shortcuts, or panel layout. Google is your friend when it comes to snazzy config examples.
Step 15: AUR Helper (yay)
The Arch User Repository (AUR) is where third-party magic lives. To simplify usage, install yay:
pacman -S --needed base-devel git cd /opt git clone https://aur.archlinux.org/yay.git chown -R yourusername:yourusername yay cd yay makepkg -si
Now you can yay -S packagename to grab community packages.
Troubleshooting Tips
- If networking fails, check
systemctl status NetworkManager. - GRUB doesn’t boot? Re-run
grub-installand verify your EFI path. - Locale issues? Revisit
/etc/locale.genand/etc/locale.conf. - Openbox crashes? Inspect
~/.cache/ob-autostart.logand~/.config/openbox.
Conclusion: You’ve Arrived!
Give yourself a pat on the back—you just installed ArchBang, the perfect blend of Arch Linux power and Openbox finesse. Keep exploring, tweak your configs, and join the community at forum.archbang.org. Remember: the Arch journey never ends. Happy hacking!
Leave a Reply