parent
3affa18e59
commit
80d0a14452
|
@ -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
|
||||
|
||||
~~~
|
||||
|
|
Loading…
Reference in New Issue