this post was submitted on 06 Aug 2026
22 points (100.0% liked)

Linux

14579 readers
105 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS
 

Hi all,

Is there a method out there that can "save a hibernate state" to disk, and just permanently boot immediately into that state every time?

It would be OK to lose data used after this point. And ot would also be OK if it required building a custom image based on the hardware, similar to embedded systems.

The goal is to be able to, as quickly as possible, spin up a GPU server when needed, but without using suspend/resume.

Thanks.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Sims@lemmy.ml 4 points 19 hours ago (1 children)

Just for the record, Linux can do with less swap-space than the memory you have, also for hibernation. The system doesn't write every byte to swap, and it uses compression. With 32gb I would choose a default swapsize of ~10gb max, but test it first as it depends on the specific content of your ram, and usage patterns oc. However, its an instant time-saver during boot.

[โ€“] HelloRoot@lemy.lol 1 points 17 hours ago

Didn't work for me, it would cancel the hibernation saying there is not enough space in swap.

Do you have a guide for that?