Score:1

Can't get hibernate to work Ubuntu 21.10

us flag

I followed the usual tutorials. swapfile size => UUID / offset => grub / initramfs (+update both) (tutorial)
But it seems that the hibernate function doesn't work.

When I run

sudo systemctl hibernate

The screen display glitches and then the computer shuts down. When I reboot, it's like any start up, the session wasn't saved.
Hibernate does work on Windows on the same computer.
Is it still an issue in Ubuntu 21.10 or did I do something wrong?

Thanks

Score:1
mn flag

It is not configured at all by default. You may want to follow the instructions here

Basically, you will need to:

  1. Create swap file (so memory can be saved there on disk)
  2. Update grab so Ubuntu will load from that file

It did work for me after I completed it.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.