diff --git a/void-desktop-install.md b/void-desktop-install.md new file mode 100644 index 0000000..aa7d350 --- /dev/null +++ b/void-desktop-install.md @@ -0,0 +1,28 @@ +# A Void Linux install (Unfinished) + +This install is based on the [EFI boot stub](https://mth.st/blog/void-efistub/) blog entry of [Matthias Totschnig](https://mth.st/), the [Void Handbook](https://docs.voidlinux.org/about/index.html) 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/ +``` + +And the encrypted filesystem of the root partition: +``` +# cryptsetup luksFormat /dev/ --type luks2 --label luks +# cryptsetup open --type luks /dev/ root +# mkfs.ext4 -L root /dev/mapper/root +``` + +## Installation diff --git a/void-desktop-install.txt b/void-desktop-install.txt old mode 100755 new mode 100644