• Is there any way to STD in Debian?

    From =?ISO-8859-1?B?WU9ZTw==?=@21:1/5 to All on Thu Sep 26 12:10:01 2024
    This is a multi-part message in MIME format.

    SGVsbG8gZXZlcnlvbmUsDQpSZWNlbnRseSwgSSBuZWVkIHRvIGN1dCBvZmYgcG93ZXIgc3Vw cGx5IHdpdGggYWxsIG15IHJ1bm5pbmcgdGFza3Mgc2F2ZWQuDQpCdXQgaXQgc2VlbXMgdGhh dCB0aGUgaGliZXJuYXRlIG1vZGUgcHJvdmlkZWQgaW4gRGViaWFuIG9ubHkgYWxsb3dzIG1l IHRvJm5ic3A7DQpTdXNwZW5kIHRvIFJhbShTVFIsIG9yIFMzIG1vZGUgaW4gQUNQSSkuDQpJ cyB0aGVyZSBhbnkgd2F5IHRvIFN1c3BlbmQgdG8gRGlzayAoU1RELCBvciBTNCBNb2RlIGlu IEFDUEkpIGluIERlYmlhbj8NClRoYW5rIHlvdSBmb3IgeW91ciByZXBsaWVzIGluIGFkdmFu Y2UuDQoNCg0KQmVzdCBSZWdhcmRzLA0KUmljaGFyZA==

    PG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNo YXJzZXQ9R0IxODAzMCI+PGRpdj5IZWxsbyBldmVyeW9uZSw8L2Rpdj48ZGl2PlJlY2VudGx5 LCBJIG5lZWQgdG8gY3V0IG9mZiBwb3dlciBzdXBwbHkgd2l0aCBhbGwgbXkgcnVubmluZyB0 YXNrcyBzYXZlZC48L2Rpdj48ZGl2PkJ1dCBpdCBzZWVtcyB0aGF0IHRoZSBoaWJlcm5hdGUg bW9kZSBwcm92aWRlZCBpbiBEZWJpYW4gb25seSBhbGxvd3MgbWUgdG8mbmJzcDs8L2Rpdj48 ZGl2PlN1c3BlbmQgdG8gUmFtKFNUUiwgb3IgUzMgbW9kZSBpbiBBQ1BJKS48L2Rpdj48ZGl2 PklzIHRoZXJlIGFueSB3YXkgdG8gU3VzcGVuZCB0byBEaXNrIChTVEQsIG9yIFM0IE1vZGUg aW4gQUNQSSkgaW4gRGViaWFuPzwvZGl2PjxkaXY+VGhhbmsgeW91IGZvciB5b3VyIHJlcGxp ZXMgaW4gYWR2YW5jZS48L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PkJlc3QgUmVnYXJkcyw8 L2Rpdj48ZGl2PlJpY2hhcmQ8L2Rpdj4=

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [email protected]@21:1/5 to Alexander V. Makartsev on Thu Sep 26 15:40:02 2024
    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".

    But yes, I use hibernation every night.

    --
    "It can be shown that for any nutty theory, beyond-the-fringe political
    view or strange religion there exists a proponent on the Net. The proof
    is left as an exercise for your kill-file." -- Bertil Jonell

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe@21:1/5 to [email protected] on Thu Sep 26 20:40:01 2024
    On Thu, 26 Sep 2024 09:32:13 -0400
    [email protected] 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)