This commit is contained in:
parent
311ace56f1
commit
f434801791
@ -19,14 +19,26 @@ swapoff /dev/mapper/cryptswap
|
|||||||
cryptsetup luksClose /dev/mapper/cryptswap
|
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**
|
||||||
|
|
||||||
* ajust /etc/fstab to use your real swap partition
|
* ajust **/etc/fstab** to use your real swap partition
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
/dev/nvme0n1p2 none swap discard 0 0
|
/dev/nvme0n1p2 none swap discard 0 0
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
* make your partition a swap
|
||||||
|
|
||||||
|
~~~
|
||||||
|
mkswap /dev/nvme0n1p2
|
||||||
|
~~~
|
||||||
|
|
||||||
|
* activate swap
|
||||||
|
|
||||||
|
~~~
|
||||||
|
swapon -a
|
||||||
|
~~~
|
||||||
|
|
||||||
/!\ le point ci-dessous est sans doute inutile
|
/!\ le point ci-dessous est sans doute inutile
|
||||||
|
|
||||||
* Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to point to your real partition
|
* Change your /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT to point to your real partition
|
||||||
@ -51,16 +63,4 @@ Register these changes.
|
|||||||
update-initramfs -u -k all
|
update-initramfs -u -k all
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
* make your partition a swap
|
|
||||||
|
|
||||||
~~~
|
|
||||||
mkswap /dev/nvme0n1p2
|
|
||||||
~~~
|
|
||||||
|
|
||||||
* activate swap
|
|
||||||
|
|
||||||
~~~
|
|
||||||
swapon -a
|
|
||||||
~~~
|
|
||||||
|
|
||||||
Next you need to reboot to enable everything and test it.
|
Next you need to reboot to enable everything and test it.
|
||||||
|
Loading…
Reference in New Issue
Block a user