parent
dc6122c368
commit
9f26e70e8c
@ -66,12 +66,22 @@ swapoff /dev/mapper/cryptswap1
|
|||||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2"
|
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/nvme0n1p2"
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
~~~
|
||||||
|
update-grub
|
||||||
|
~~~
|
||||||
|
|
||||||
* edit /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line.
|
* edit /etc/initramfs-tools/conf.d/resume. Replace the existing RESUME line with the following line.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
RESUME=/dev/nvme0n1p2
|
RESUME=/dev/nvme0n1p2
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
Register these changes.
|
||||||
|
|
||||||
|
~~~
|
||||||
|
update-initramfs -u -k all
|
||||||
|
~~~
|
||||||
|
|
||||||
* make your partition a swap
|
* make your partition a swap
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
@ -84,6 +94,8 @@ mkswap /dev/nvme0n1p2
|
|||||||
swapon -a
|
swapon -a
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## to be solve
|
## to be solve
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user