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" ~~~ ~~~