This commit is contained in:
1 parent
3affa18e59
commit
80d0a14452
1 file changed
+10
-6
@@ -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
|
||||
|
||||
~~~
|
||||
|
||||
Reference in new issue
Block a user