#!/linuxSucks/Install a vanilla Void Linux

Nov 29, 2020

Firs you need the iso of Void Linux (download ISO). Then boot your system with your usb.

Void Linux live session

You need to start the live session, i always use root:

user: root
pass: voidlinux

Internet

If you are using a cable ethernet you should have internet out of the box. Just make a ping to what ever website or ip.

If you’re usgin a laptop and you don’t have ethernet, you need to set up the wifi:

wpa_supplicant

Open and edit the wpa_supplicant.conf and add your wifi:

sudo vi /etc/wpa_supplicant/wpa_supplicant.conf

then add and change it for your settings:

network={
	ssid="WIFI_NAME"
	psk="WIFI_PASS"
	key_mgmt=WPA-PSK
}

Save and close. Wait for a few second then just make a ping to see if you have internet access.

Installation

Start the installation with:

void-installer

The installation for Void Linux is easy follow the instructions for:

Keyboard

Select the keymap for your keyboard; standard “qwerty” keyboards will generally use the “us” keymap.

Network

Select your primary network interface. If you use DHCP on your network, select that option, otherwise the installer will prompt for IP Address, Netmask, and Gateway.

If you intend to use a wireless connection during the installation, you might have to configure it manually using wpa_supplicant and dhcpcd before running void-installer. Simply follow the instructions given here.

Source

Choose whether you want to install from a local source (the packages that are included in the ISO) or from the network (in which case packages are downloaded from the Void remote repositories). Installing from the network allows you to install the most up-to-date packages available from the official repositories. Note that installing from local will also install any desktop included in the ISO (eg xfce)

Hostname

Set a hostname for your computer remembering that hostnames should be all lower case, with no spaces.

Locale

Configure your default locale settings, this will be used to set the libc locale in a glibc environment.

The locale setting does not currently respond with the musl installer. Locales are not currently supported natively in musl.

Timezone

Set your timezone based on standard timezone options.

Root Password

Enter and confirm the password used for the root account on your new Void installation. The password will not be shown on screen.

User Account

Choose a login (default void) and a descriptive name for that login (default Void User). Then enter and confirm the password for this default user. Finally you may choose to modify the group memberships for the user or go with the defaults.

BootLoader

Determine whether you’d like to use the installer to automatically install GRUB2 to the disk.

Partition

This is the critical part of any installation. I allways do four partitions (UEFI), let’s say the disk is 252G:

If your system is UEFI make sure your select GTP when cfdisk start.

sda1 600M (ufi)
sda2 50GB (root)
sda3 4GB  (swap if needed)
sda4 180GB (home)

Make sure you choice the correc disk when you do the partitions. After you set up your particions exit cfdisk.

Filesystem

The installer will pront to mount and format the partitions, remember to select the correct partition:

| Partitions | Format | Descritions          | You Need to write |
| :--------- | :----- | :------------------- | :---------------- |
| /boot/ufi  | vfat   | FAT32                | /boot/ufi         |
| /          | ext4   | Linux ext4 (journal) | /                 |
| swap       | swap   | Linux swap           |                   |
| /home      | ext4   | Linux ext4 (journal) | /home             |

Review Settings

Before installing, it is generally a good idea to review the installation settings. Arrow right from the main menu to select settings and use to review.

Install

This step of the installer creates the filesystems specified in the previous step, then downloads all of the base packages (if configured to install via Network) and copies them to the target partition/partitions configured in the previous steps. After that, the installer generates an initramfs and installs GRUB2 to the bootable partition.

After the installation is successfully completed, you can reboot into your new Void Linux install!

Home  Linux  Notes  Blog Spot