Void Linux - Installation Guide

⚠️ This guide is based on the void-installer command, so it only works with the x86-64 or i686 architecture.

void linux screenshot

Void Linux is a general-purpose Linux distro. It’s independent and has its own package manager, build system, and use runit as init system.


Table of Contents


Download Void Linux

Void Linux download page

Download Link: https://voidlinux.org/download/

Live image: Base vs XFCE4

Void Linux offers two image options:

Recommendation: If you’re new to Linux, choose the XFCE4 image!

Live image: glibc vs musl

Void Linux offers two versions of its images based on different C libraries (libc):

Recommendation: If you’re unsure which to choose, go with glibc!


Create a bootable media (USB)

Rufus logo

After downloading the Void Linux live image, create a bootable USB.

Windows (Rufus)

Rufus window

Download Link: https://rufus.ie/

To create a bootable USB on Windows, use Rufus.

Steps:

  1. Insert your USB drive.
  2. Open Rufus.
  3. Select your USB under Device.
  4. Click SELECT under Boot selection and choose the Void Linux .iso file.
  5. Click START.
  6. ACCEPT EVERYTHING!!
  7. Wait 😊.
  8. Your bootable USB is ready!

Linux (Command Line)

Linux terminal with commands

To create a bootable USB on Linux, use Terminal. 😎

Steps:


Installation

After creating a bootable USB from the live image, insert it, restart your computer, and boot from the USB.

GNU GRUB

Void Linux GNU GRUB

After booting from the USB, you will see the GNU GRUB menu of Void Linux. You will be presented with a few options, but the most important ones are:

Recommendation: If you have enough RAM, choose RAM!

Running void-installer

Depending on the Void Linux live image you chose, the steps to start the void-installer vary.

Base

Void Linux Live System

XFCE4

Void Linux XFCE4 Live System

Void Installer

Void Linux void-installer

Once you execute the void-installer command, the Void Linux installation menu will appear, guiding you through the setup process.

Keyboard

void-installer Keyboard

Select the keymap for your keyboard.

Network

void-installer Network

Select your primary network interface. Use DHCP for automatic IP configuration. If you’re connecting via Wi-Fi, enter the following details:

Recommendation: Most modern routers use WPA encryption. If unsure, use WPA!.

Source

void-installer Source

Select installation source:

⚠️ If you are installing the desktop environment from the XFCE4 image, you MUST choose Local for the source!

Mirror

void-installer Mirror

Choose a mirror for the package manager (XBPS).

Mirror Tiers:

Recommendation: Choose a Tier 1 mirror geographically close to you.

Hostname

void-installer Hostname

Set a hostname for your computer. (that is all lowercase, with no spaces.)

Recommendation: voidlinux

Locale

void-installer Locale

Select your locale.

Timezone

void-installer Timezone

Select your timezone.

RootPassword

void-installer RootPassword

Enter the root password.

UserAccount

void-installer UserAccount

Create your user account by entering the following details:

BootLoader

void-installer BootLoader

Select the disk to install the bootloader and decide whether to use a graphical terminal.

Recommendation: If you plan to customize GRUB (themes), use graphical terminal.

Partition

void-installer cfdisk partition

Disk partitioning is done manually. The Void installer provides two tools for this purpose:

⚠️ The first partition must be the boot system.
https://docs.voidlinux.org/installation/live-images/partitions.html

Partition Table

A partition table organizes a device’s storage into sections called partitions.

There are two main types:

Recommendation: Use GPT if your motherboard supports UEFI.

void-installer fdisk

To modify the partition table, select the disk and use fdisk.
To create a specific partition table, use one of the following commands:

After making changes, run the w to write the changes and exit.

TypeSizeMount Point
BIOS boot1M
Linux swapEqual to the amount of RAM
Linux root12% to 20% of available disk space/
Linux filesystemRemaining available disk space/home

TypeSizeMount Point
EFI System256M/boot/efi
Linux swapEqual to the amount of RAM
Linux root12% to 20% of available disk space/
Linux filesystemRemaining available disk space/home

Filesystems

void-installer filesystems

After partitioning your disk, the next step is to assign the appropriate filesystem to each partition.

Boot System (First Partition)
Swap

For swap partition, format it with swap filesystem.

Root

For root partition, format it with your preferred filesystem and mount it to /.

Home (optional)

If you have created a separate partition for your home directory, format it with your preferred filesystem and mount it to /home.

Recommendation: Use ext4 for root and home partitions.

Install

void-installer Install

If everything is okay, the installation process will begin. Once completed, you will be presented with a menu to select or deselect services (daemons). After that, reboot your system, and Welcome to the Void!

ko-fi icon Support me