Home

Installing Void linux



Grab your old laptop


Unless you want to install it on your main machine, I mean, you do you.



BIOS Settings


You can disable UEFI if you want though I noticed that my pc boots a bit faster with UEFI, so it might be the case for you.
Check if you have optimized settings for Windows that you can disable, depends on the motherboard.
If you are using a laptop you'll probably have to stick with UEFI.



Glibc or Musl?


Well Musl supports less proprietary softwares such as Nvidia drivers for a major example so keep that in mind. If you want a fully Libre OS, any should be fine but, between you and me, choose the "right path" and get Musl.
Here are some documentation to illustrate my bias: here and here



Make a USB Flash Drive


Go to the Voidlinux website and download an ISO file that suits you (I chose the xfce4 musl one)
flash the ISO on a USB drive with Balena etcher (or anything you prefer)
If you choose the base version, bless your heart, you have the same steps to follow.



Booting


You checked BIOS settings so I assume you know how to boot to a USB drive but be careful your pc might detect your USB drive twice one with UEFI one without. Choose the one that suits you.
Then choose the first option on the bootloader that popped.
Login as root with "voidlinux" as the password. Check your disks first, do what you gotta do but once you're ready to install type:
void-installer
This is actually pretty easy.



The MENU



That's it, just navigate each option and set them to your liking.
For the "source" choose "network" and for "UserAccount" keep the default groups unless you know what you're doing.
For the partitioning choose the same disk as the one you chose to install the bootloader in, and choose fdisk. Depending on wether you're doing a BIOS or UEFI install you:


BIOS
press o to create a msdos partition table.
Make a new partition with a bootable flag of 128M Then you can use everything else in another partition so your whole system is in the same place.
Detailed steps here:



Press p to see your partition table


If it looks like that you're all set. Then press w to confirm the changes.



UEFI
Press g to create a gtp partition table
Make a new partition of 128M and change its type to 1 aka EFI partition. Then you can use everything else in another partition so your whole system is in the same place.
Detailed steps here:



Press p to see your partition table


If it looks like that you're all set. Then type w to confirm the changes.



As for the filesystems it goes as follows:

BIOS
Make /dev/sdX1 as an ext4 filesystem and the mount point /boot
The rest as another ext4 filesystem with / as the mount point.



UEFI
Make /dev/sdX1 as an FAT32 filesystem and the mount point /boot/efi
The rest as another ext4 filesystem with / as the mount point.



Now hit install and let it run everything for you


This is what the confirmation dialogue should look like if you followed this guide with a BIOS installation



Rebooting


Login and update the system (it's probably already done)
xbps-install -Su
updating stops services that undergo an update so you gotta restart them yourself, well not anymore they made a command to restart what was stopped xcheckrestart



Check the void linux documentation, it's really good.



Now you should have a very cool minimal distro to have fun with.