From dfa378df13cf5b3edc3b5c949c9924a182876496 Mon Sep 17 00:00:00 2001 From: nils Date: Fri, 10 May 2024 22:24:19 +0200 Subject: [PATCH] Changed provisioning a bit --- docs/alpine-desktop-setup/provisioning.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/alpine-desktop-setup/provisioning.md b/docs/alpine-desktop-setup/provisioning.md index be04a0c..5c62030 100644 --- a/docs/alpine-desktop-setup/provisioning.md +++ b/docs/alpine-desktop-setup/provisioning.md @@ -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 -# lvcreate --name alp_var -L 4G vg +# lvcreate --name alp_root -L 24G vg +# lvcreate --name alp_var -L 8G vg # lvcreate --name alp_nix -L 32G vg # lvcreate --name alp_home -l 100%FREE vg ```