From 57c6d7630d71a4b1ac20626b81886bdb10011243 Mon Sep 17 00:00:00 2001 From: Luc Date: Wed, 5 Apr 2023 22:06:19 +0200 Subject: [PATCH] added markdown install guide --- void-desktop-install.md | 28 ++++++++++++++++++++++++++++ void-desktop-install.txt | 0 2 files changed, 28 insertions(+) create mode 100644 void-desktop-install.md mode change 100755 => 100644 void-desktop-install.txt 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