From 083e39326b744ae021f9d0d0af28aa44914eb390 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 5 Sep 2018 13:50:57 +0200 Subject: [PATCH] README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index a662154..b004ed9 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,23 @@ $ sudo ./mkimage.sh /dev/disk/by-path/pci-…-usb… - reboot - remove stick +The first boot takes longer as the system tries to bind the LUKS to the TPM2 on the machine. It also populates /var with the missing directories. + +You can always clear the data partition via: +``` +# wipefs --all --force /dev/ +``` +and then either make a xfs +``` +# mkfs.xfs -L data /dev/ +``` +or luks +``` +# echo -n "zero key" | cryptsetup luksFormat --type luks2 /dev/ /dev/stdin +``` + +On the media created with mkimage.sh, this is partition number *4*. + ## Post Boot ### Persistent journal