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