...

Michel Le Cocq 2020-06-23 14:18:54 +02:00
parent bde59ea303
commit 60e43d7fd2
3 changed files with 142 additions and 135 deletions

@ -74,3 +74,4 @@ Run ubiquity to start the installer and install as normal, selecting “Use enti
## questions to be solves
* what happen if zpool passwd is not given at boot shutdown ?
* find a way to shut it down pass a delay

@ -12,7 +12,7 @@
* Turn off swap
~~~
swapoff /dev/mapper/cryptswap1
swapoff /dev/mapper/cryptswap
~~~
* Undo the existing mapping.
@ -64,3 +64,5 @@ mkswap /dev/nvme0n1p2
~~~
swapon -a
~~~
Next you need to reboot to enable everything and test it.

@ -1,3 +1,7 @@
## prerequisite
* all command bellow are run has root
## encrypt swap partition
sources :
@ -8,7 +12,7 @@ sources :
apt-get install ecryptfs-utils
swapoff -a
cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 256 /dev/nvme0n1p2
cryptsetup open /dev/<device> cryptswap
cryptsetup open /dev/nvme0n1p2 cryptswap
mkswap /dev/mapper/cryptswap
~~~