Michel Le Cocq 2020-06-24 09:41:53 +02:00
parent 6467736bd1
commit 1c4bcc2b7d

@ -10,13 +10,13 @@
* Turn off swap * Turn off swap
~~~ ~~~
swapoff /dev/mapper/cryptswap root@laptop:/root# swapoff /dev/mapper/cryptswap
~~~ ~~~
* Undo the existing mapping. * Undo the existing mapping.
~~~ ~~~
cryptsetup luksClose /dev/mapper/cryptswap root@laptop:/root# cryptsetup luksClose /dev/mapper/cryptswap
~~~ ~~~
* remove your encrypt swap device define in your **/etc/crypttab** * remove your encrypt swap device define in your **/etc/crypttab**
@ -30,19 +30,19 @@ cryptsetup luksClose /dev/mapper/cryptswap
* make your partition a swap * make your partition a swap
~~~ ~~~
mkswap /dev/nvme0n1p2 root@laptop:/root# mkswap /dev/nvme0n1p2
~~~ ~~~
* activate swap * activate swap
~~~ ~~~
swapon -a root@laptop:/root# swapon -a
~~~ ~~~
* remove file */etc/initramfs-tools/conf.d/resume* * remove file */etc/initramfs-tools/conf.d/resume*
~~~ ~~~
rm /etc/initramfs-tools/conf.d/resume root@laptop:/root# rm /etc/initramfs-tools/conf.d/resume
~~~ ~~~
Register these changes. Register these changes.
@ -65,7 +65,7 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=09c1daa8-a572-41b9-8655-c38
~~~ ~~~
~~~ ~~~
update-grub root@laptop:/root# update-grub
~~~ ~~~
Next you need to reboot to enable everything and test it. Next you need to reboot to enable everything and test it.