• 0 Posts
  • 28 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle







  • My main issue with hibernation in Linux is that it by default uses the same swap as ram overflow, so it fails if ram+swap is close to full - such as having a huge project of some kind in progress which would be a pain to reopen, one of the situations where hibernation would be very helpful.

    This is fixable, I did it on my own laptop, and really wish I wrote everything down because it was a complex and unintuitive process, both getting it to save to a separate swap file from the swap partition (switched on/off in the systemd hibernation scripts), and getting it to boot from said file.

    I really wish this was a supported scenario that was easy to set up. It drives me nuts for a feature where failure can mean data loss to have a failure mode easily reached by regular usage.

    By contrast, Windows has always had separate swap and hibernation files, and generally works if drivers don’t mess it up (which they can on Linux too, Nvidia.)