From 2364fc71184413de9fc87c9a2e91c922023b27cb Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Sun, 21 Jun 2020 08:07:32 +0200 Subject: [PATCH] --- XPS-13-7390-2-in-1--.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/XPS-13-7390-2-in-1--.md b/XPS-13-7390-2-in-1--.md index 5d3b751..5484638 100644 --- a/XPS-13-7390-2-in-1--.md +++ b/XPS-13-7390-2-in-1--.md @@ -138,9 +138,14 @@ kernel lockdown prevent hibernation : ## encrypt swap partition ~~~ +apt-get install ecryptfs-utils apt install cryptsetup-bin +swapoff -a +cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 256 /dev/nvme0n1p2 ~~~ +[](https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap#Preparation) + # rotate ~~~