From 74247e2c94b4cfa372e9d149cb08f584b67eb442 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 22 Jun 2020 14:51:50 +0200 Subject: [PATCH] --- ...ap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md b/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md index 09d4c94..1d20342 100644 --- a/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md +++ b/right-fit-swap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md @@ -107,12 +107,14 @@ HandleLidSwitch=suspend-then-hibernate apt-get install ecryptfs-utils swapoff -a cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 256 /dev/nvme0n1p2 +cryptsetup open /dev/ swapDevice +mkswap /dev/mapper/mkswap /dev/mapper/swapDevice ~~~ edit : /etc/default/grub ~~~ -GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap1" +GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap" ~~~ ~~~