💾 Archived View for darknesscode.xyz › linux › void-linux-install.gmi captured on 2024-08-18 at 17:25:31. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-05)
-=-=-=-=-=-=-
Firs you need the iso of **Void Linux**
https://alpha.de.repo.voidlinux.org/live/current/void-live-x86_64-20191109.iso
Then boot your system with your usb
You need to start the live session, i always use root:
user: root pass: voidlinux
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:
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.
Start the installation with:
void-installer
The installation for **Void Linux** is easy follow the instructions for:
Select the keymap for your keyboard; standard "qwerty" keyboards will generally use the "us" keymap.
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.
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)
Set a hostname for your computer remembering that hostnames should be all lower case, with no spaces.
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.
Set your timezone based on standard timezone options.
Enter and confirm the password used for the root account on your new Void installation. The password will not be shown on screen.
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.
Determine whether you'd like to use the installer to automatically install GRUB2 to the disk.
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.
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 |
Before installing, it is generally a good idea to review the installation settings. Arrow right from the main menu to select settings and use <enter> to review.
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!
----------
----------
© DarknessCode