This commit is contained in:
Michel Le Cocq 2020-06-22 10:32:01 +02:00
parent dc96df29b3
commit 8ae61e2cc1

View File

@ -1,11 +1,14 @@
# right fit swap for laptop hibernation Ubuntu 20.04 full ZFS install
## sources
* [rephlex.de - How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption](https://rephlex.de/blog/2019/12/27/how-to-hibernate-and-resume-from-swap-file-in-ubuntu-20-04-using-full-disk-encryption/)
## bios setup
You have to disable secure boot in bios to permit Hibernate because of *kernel lockdown prevent hibernation* see links bellow :
* [](https://unix.stackexchange.com/questions/591488/why-does-the-kernel-lockdown-prevent-hibernation)
* [](https://rephlex.de/blog/2019/12/27/how-to-hibernate-and-resume-from-swap-file-in-ubuntu-20-04-using-full-disk-encryption/)
* [stackexchange - Why does the kernel lockdown prevent hibernation?](https://unix.stackexchange.com/questions/591488/why-does-the-kernel-lockdown-prevent-hibernation)
## create swap partition to permit Hibernate