ubuntu hibernate

https://websiteforstudents.com/enable-hibernation-ubuntu-17-10-desktop/

https://help.ubuntu.com/14.04/ubuntu-help/power-hibernate.html

HOW TO ADD A SWAP FILE TO UBUNTU 

 1. sudo dd if=/dev/zero of=/swapfile bs=1M count=(size in MB) 

2. sudo e4defrag /swapfile (Spinning drives only!) 

3. sudo chmod 600 /swapfile 

4. sudo mkswap /swapfile 

 MOUNTING THE SWAP FILE 

 1. sudo cp /etc/fstab /etc/fstab.old 

2. sudo nano /etc/fstab 

3. add: “/swapfile none swap sw 0 0” to bottom of file. 

 4. Remove existing line for swap partition. 

 5. press Ctrl+O to save, then Ctrl+X to exit

 6. Rebbot to confirm. (‘sudo mount -a’ will NOT work!)

Use Gparted in live session to remove swap partition and resize / partition.

https://fossbytes.com/enable-disable-hibernate-option-ubuntu-power-menu/

https://extensions.gnome.org/

sudo systemctl hibernate

This did not work for me. I try pm-hibernate which did not work for me either until I added missing package uswsusp

sudo apt install uswsusp

------
işe yarayabilir
https://askubuntu.com/questions/1034185/ubuntu-18-04-cant-resume-after-hibernate/1064114#1064114
---



https://askubuntu.com/questions/94754/how-to-enable-hibernation