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

Linux

14579 readers
91 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
[–] frongt@lemmy.zip 2 points 1 day ago (2 children)

Are we talking physical servers like Poweredge or Proliant? Those take a long time to boot, especially with lots of RAM. Why can't you use suspend/resume?

And modern servers don't really consume a lot of power while idle. You can configure them to downclock the CPU and GPU while idle just like a desktop or laptop.

But if you really wanted it, you could boot an immutable distro and mount user partitions tmpfs. Or use a portable distro and discard the state. Or a filesystem with snapshots and roll back on each shutdown or boot. But none of those are really going to get you instant boot. Linux boots pretty quick, but not instant.

[–] Fmstrat@lemmy.world 1 points 17 hours ago (1 children)

Desktop woth GPUs. I've tried immutable, but that really doesn't impact boot speed. It's still the same startup procedure. And I use ZFS, so I could roll back (or use tmpfs), but that still requires the full boot process.

[–] hirihit640@sh.itjust.works 1 points 9 hours ago

What's your use case or broader goal? In some specific cases you might be able to use a VM instead of a bare metal server. The host would be idling all the time, but the VM can start from a snapshot near instantly

[–] HelloRoot@lemy.lol 1 points 21 hours ago* (last edited 21 hours ago) (1 children)

Linux boots pretty quick

I never managed to make linux boot faster than windows (on the same device ofc).

And to this day I don't understand why.

Out of the 3 desktop OSes (lin, win, mac) linux was always the slowest one in my experience.

[–] Fmstrat@lemmy.world 2 points 17 hours ago

Fast boot most likely. Windows can shut down user processes and then hibernate the kernel/system processes. Because the system only changes on updates, it doesn't have to wrote the hibernate file every time, only on update. Never understood why distros didn't look to replicate that. If they had this would probably be a non-issue for me.