On Thu, 26 Sep 2024 09:32:13 -0400
e...@gmx.us wrote:

> On 9/26/24 07:04, Alexander V. Makartsev wrote:
> > On 26.09.2024 14:51, YOYO wrote:  
> >> Hello everyone,
> >> Recently, I need to cut off power supply with all my running tasks
> >> saved. But it seems that the hibernate mode provided in Debian
> >> only allows me to Suspend to Ram(STR, or S3 mode in ACPI).
> >> Is there any way to Suspend to Disk (STD, or S4 Mode in ACPI) in
> >> Debian? Thank you for your replies in advance.
> >>  
> > Do you have a swap partition? It has to be sufficient in size and is
> > necessary for Hibernation to work.  
> 
> While that is the easiest way by far, I was recently told that the
> "resume-from" kernel option can enable hibernation to a non-swap
> area.  I think.  I have not done this.  Look in the archive for a
> thread this month (9/2024) entitled "hibernate area".
> 
https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition

Basically create a swap file and configure it not to swap.

-- 
Joe

Reply via email to