From dad30467befbcb189c79fd1a66e46727f4defe39 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 22 Jun 2020 20:47:09 +0200 Subject: [PATCH] --- ...ap-for-laptop-hibernation-Ubuntu-20.04-full-ZFS-install.md | 4 ++++ 1 file changed, 4 insertions(+) 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 c9ce055..4ee7f4f 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 @@ -170,6 +170,10 @@ Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2" ~~~ + Edit the file /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line. + + RESUME=/dev/mapper/cryptswap1 + ~~~ mkswap /dev/nvme0n1p2 ~~~