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