1.1 KiB
1.1 KiB
A Void Linux install (Unfinished)
This install is based on the EFI boot stub blog entry of Matthias Totschnig, the Void Handbook and the Void Linux man pages. This guide focuses on a Void Linux x86-64 glibc/musl install. In this install gummiboot is used as bootloader and the root partition will be encrypted.
Provisioning
First off you'll need to partition your drive, possibly with fdisk. It should have atleast two partitions with one EFI System
Partition and one Linux filesystem
partition.
It should look something like this:
Number of partition | Size | Type |
---|---|---|
1 | 1 to 2 GB | EFI System |
2 | Rest of the drive | Linux filesystem |
Then to create the filesystem of the efi partition:
# mkfs.fat -F 32 -n efi /dev/<disk1>
And the encrypted filesystem of the root partition:
# cryptsetup luksFormat /dev/<disk2> --type luks2 --label luks
# cryptsetup open --type luks /dev/<disk2> root
# mkfs.ext4 -L root /dev/mapper/root