How to completely disable hibernation?

Hello, hibernation is broken on my laptop, even after setting everything up according to openSUSE docs (swap file, resume argument in GRUB). While the contents of RAM seems to be partially saved, the laptop gets stuck somewhere in the process and never shuts down, not responding to any inputs. I assume it’s a hardware compatibility problem, I tried many things but just couldn’t figure out how to fix it.

While this by itself wouldn’t be an issue, as I can just not press “hibernate” in the KDE Kickoff menu, however I have a suspicion that my laptop automatically tries entering hibernation after sleeping for a long periods of time, as it shows the same symptoms. And I need to forcefully shut my laptop down in order for me to be able to use it again.

I would like to completely disable hibernation in the kernel itself, if possible, and see if that fixes my sleep issues. Is there a way to completely disable hibernation?

hibernate=no on kernel command line should do it.

2 Likes

Where should I put this argument? In grub using the “e” key, YaST bootloader configuration, or will I need to manually modify the grub config myself?

Nevermind seems like Yast is enough. Thanks for the help. I hope this makes sleep work properly.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.