How to get it?
Eh, which desktop environment?
Is this an upgrade, a clean install?
Does the issue exist for a newly created user?
Had the same issue with a clean install, because I forgot to mount the swap partition into the tree. So please open in Yast the tool for partitioning and have a look, if there is a partition for swap.
Besides this, hibernate did not work with the orginal kernel and I installed 4.16, which did it. 4.17 as well.
I’m assuming that this is KDE (based only on your mention of “Power/Session”).
When I check, I do have a hibernate option.
As far as I know, hibernate requires:
- you have swap configured (usually a swap partition), and it is large enough;
- there is a “resume=” option on the kernel boot line.
You can setup a swap partition with Yast partitioner. And then you can make sure that it there as the “resume=” parameter on the kernel command with Yast bootloader.
Fresh KDE installation.
Swap partition was not mounted!
But with original kernel hibernate doesn’t work, drops to reboot.
May be a revision is coming?
Many thanks to everybody advising me.
I definitely enabled it during installation
but it isn’t appearing for me either on a new installation on a laptop. Do you know whether YaST provides any option to retroactively enable it, or any commands I could run to avoid needing to manually resize my drive? I’m a little scared to do so.
I don’t really know the answer for that.
I notice the “hibernate” is available on some systems, but not on others. And I’m not sure what makes the difference. I normally don’t hibernate, so I have not bothered to investigate.
If you are using secure-boot, then perhaps hibernate is blocked by kernel lockdown.
I five years old thread. And you still think people are active watching it?
I don’t know what that means, @hcvv.
When one really wants that as many people (who may be able to help you) see one’s problem, then one starts a new thread with a good title (that draws attention of those who are knowledgeable in the subject).
One does not hang a new question at the end of an old thread that most probably is about a former version of the software and that nobody is active watching anymore.
Sometimes doing this provides more eyes, because those already subscribed to a near-identical topic are a more useful audience. I’m thankful for the advice, but both choices have advantages and disadvantages, and I’m in no rush, so I’ll try both.