This commit is contained in:
parent
055536ae8b
commit
74247e2c94
@ -107,12 +107,14 @@ HandleLidSwitch=suspend-then-hibernate
|
|||||||
apt-get install ecryptfs-utils
|
apt-get install ecryptfs-utils
|
||||||
swapoff -a
|
swapoff -a
|
||||||
cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 256 /dev/nvme0n1p2
|
cryptsetup luksFormat --cipher aes-xts-plain64 --verify-passphrase --key-size 256 /dev/nvme0n1p2
|
||||||
|
cryptsetup open /dev/<device> swapDevice
|
||||||
|
mkswap /dev/mapper/mkswap /dev/mapper/swapDevice
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
edit : /etc/default/grub
|
edit : /etc/default/grub
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap1"
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap"
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user