Michel Le Cocq 2020-06-22 10:42:05 +02:00
parent 256c032c42
commit 7b7b9b4167

@ -5,6 +5,11 @@
* [doc.ubuntu-fr.org - Comment activer l'hibernation](https://doc.ubuntu-fr.org/tutoriel/activer_hibernation) * [doc.ubuntu-fr.org - Comment activer l'hibernation](https://doc.ubuntu-fr.org/tutoriel/activer_hibernation)
* [](https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap#Preparation)
* [](http://tlbdk.github.io/ubuntu/2018/10/22/encrypted-swap.html)
* [](https://forums.linuxmint.com/viewtopic.php?t=287015)
## bios setup ## bios setup
You have to disable secure boot in bios to permit Hibernate because of *kernel lockdown prevent hibernation* see links bellow : You have to disable secure boot in bios to permit Hibernate because of *kernel lockdown prevent hibernation* see links bellow :
@ -110,10 +115,6 @@ 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
~~~ ~~~
[](https://help.ubuntu.com/community/EnableHibernateWithEncryptedSwap#Preparation)
[](http://tlbdk.github.io/ubuntu/2018/10/22/encrypted-swap.html)
[](https://forums.linuxmint.com/viewtopic.php?t=287015)
~~~ ~~~
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap1" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=/dev/mapper/cryptswap1"
~~~ ~~~