added markdown install guide

This commit is contained in:
Luc Bijl 2023-04-05 22:06:19 +02:00
parent 6b1a92e419
commit 57c6d7630d
2 changed files with 28 additions and 0 deletions

28
void-desktop-install.md Normal file
View file

@ -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/<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
```
## Installation

0
void-desktop-install.txt Executable file → Normal file
View file