3

I know this question has already been asked but none of those methods worked for me. I tried

sudo systemctl hibernate

but it shuts down my pc. I know this means hibernate isn't supported but I could hibernate on this pc itself on Ubuntu 16.04 before i upgraded to 18.04. So I'm pretty sure that hibernate is supported.

$ swapon --summary

Filename                Type        Size    Used    Priority
/dev/sda6                               partition   4194300 0   -2
Pablo Bianchi
  • 14,308
  • 4
  • 74
  • 117
Zkp
  • 39
  • 4
  • 1
    Do you have a swap file or a swap partition setup to allow for hibernation? Edit your question and include the output of `swapon -s`. Thank you! – Terrance Jul 28 '18 at 21:20
  • Hibernation involves the system shutting down and turning off, though it should look different from the usual shutdown process. If you get a clean boot when you switch on again, you may need to set a kernel parameter for resume. See [How can I hibernate on Ubuntu 16.04?](//askubuntu.com/q/768136) – Zanna Jul 30 '18 at 09:45
  • On my 18.04 Hibernation is grayed out - Suspend seems to work all right, I have a swap file a bit larger than the ram! – Ken Mollerup Aug 09 '18 at 17:46
  • I have increased my ram. Will that affect this? – Zkp Aug 09 '18 at 17:47
  • 4
    Possible duplicate of [Ubuntu 18.04 can't resume after hibernate](https://askubuntu.com/questions/1034185/ubuntu-18-04-cant-resume-after-hibernate) – Mihai Capotă Jan 30 '19 at 18:24

1 Answers1

3

Try this way.

sudo apt-get install hibernate

After that just type in terminal sudo hibernate This way work for me

Roby
  • 31
  • 4
  • By this system get hibernate but start in black screen, I wait few minutes but had to power off/on pc :( – Irfan Ashraf Dec 29 '18 at 17:42
  • I installed this app but it just went black for a few seconds and then the screen came back.not even power down. Nothing accomplished. – Bhikkhu Subhuti May 30 '19 at 18:21
  • Same happened to me - i.e. got stuck on black screen and pc was unresponsive to all inputs - had to resort to long push-down-on-Power-button to reboot. Hmmmmm – Duncan Sep 30 '20 at 10:38