This commit is contained in:
Michel Le Cocq 2020-06-22 14:58:48 +02:00
parent 3affa18e59
commit 80d0a14452

View File

@ -101,12 +101,6 @@ HandleSuspendKey=suspend-then-hibernate
HandleLidSwitch=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 ## encrypt swap partition
~~~ ~~~
@ -127,6 +121,16 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/swapDevice"
update-grub 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 ### to be solve
~~~ ~~~