From 80d0a1445285c5ea6aca531627dbac84e6ffc2e9 Mon Sep 17 00:00:00 2001 From: Michel Le Cocq Date: Mon, 22 Jun 2020 14:58:48 +0200 Subject: [PATCH] --- ...-hibernation-Ubuntu-20.04-full-ZFS-install.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 9f14040..3b8b173 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 @@ -101,12 +101,6 @@ HandleSuspendKey=suspend-then-hibernate HandleLidSwitch=suspend-then-hibernate ~~~ -Now ajust /etc/fstab to use your mapper, replace your swap UUID device to : - -~~~ -/dev/mapper/swapDevice none swap discard 0 0 -~~~ - ## encrypt swap partition ~~~ @@ -127,6 +121,16 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/swapDevice" update-grub ~~~ +Now ajust /etc/fstab to use your mapper, replace your swap UUID device to : + +~~~ +/dev/mapper/swapDevice none swap discard 0 0 +~~~ + +~~~ +swapon -a +~~~ + ### to be solve ~~~