Changed provisioning a bit

This commit is contained in:
nils 2024-05-10 22:24:19 +02:00
parent db86c51caf
commit dfa378df13

View file

@ -31,7 +31,7 @@ Then to create the filesystem on the efi partition.
The root partition of the system is going to be encrypted using `cryptsetup`. First generate a key that will be used to encrypt the device and save it temporarily to the file `/tmp/crypt-key.txt` with:
```
# cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 > /tmp/crypt-key.txt && cat /tmp/crypt-key.txt
# cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 20 | head -n 1 > /tmp/crypt-key.txt && cat /tmp/crypt-key.txt
```
Later on in the guide `clevis` will be used for automatic decryption so this key only has to be entered a few times. However, if any changes are made to the bios or secureboot then this key will be needed again so make sure to write it down.
@ -53,8 +53,8 @@ Now to create a new LVM volume group, choose $n \in \mathbb{N}$ accordingly:
Then create partitions inside the volume group:
```
# lvcreate --name alp_root -L 20G vg<n>
# lvcreate --name alp_var -L 4G vg<n>
# lvcreate --name alp_root -L 24G vg<n>
# lvcreate --name alp_var -L 8G vg<n>
# lvcreate --name alp_nix -L 32G vg<n>
# lvcreate --name alp_home -l 100%FREE vg<n>
```