How to enable hibernation with swap partition on Linux Mint 19

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
rene
Level 10
Level 10
Posts: 3369
Joined: Sun Mar 27, 2016 6:58 pm

Re: How to enable hibernation with swap partition on Linux Mint 19

Post by rene » Sun Apr 14, 2019 6:30 pm

Yes, that's "suspend" rather than "hibernate". The latter is the actual same as powering down the system fully just with an image of your RAM saved to, in the case of Linux, the swap space. On powering up again the kernel detects the image and rather than boot normally loads it into RAM directly. The former keeps at least your RAM powered so as to keep it from losing its contents; still uses (more) actual power, that is.

User avatar
BG405
Level 7
Level 7
Posts: 1838
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: How to enable hibernation with swap partition on Linux Mint 19

Post by BG405 » Sun Apr 14, 2019 9:06 pm

TI58C wrote:
Sun Apr 14, 2019 12:34 am
When I close the laptop, everything goes down. USB-sticks are powered down and can be safely removed.
After re-opening, have to hit power-button to start again.
I hope you replace those USB devices before powering back up? Otherwise you may lose data which was cached but not yet committed to the device.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

TI58C
Level 4
Level 4
Posts: 312
Joined: Tue Jul 18, 2017 5:57 am

Re: How to enable hibernation with swap partition on Linux Mint 19

Post by TI58C » Mon Apr 15, 2019 4:57 am

@Rene, BG405,

Thanks. Understand the difference now. As for USB-sticks, alway use sync and wait until blinking led stops, then suspend. And do replace them. Just for transport it's easier if these things are nog "sticking out". But I like the way I can just close laptop, go somwhere else and have it back up in a few seconds. Could never get that to work reliably on 17.3.

Will read more about hibernation and give it a try

Robert
Linux is like my late labrador lady-dog: loyal and loving if you treat her lady-like, disbehaving princess if you don't.

rene
Level 10
Level 10
Posts: 3369
Joined: Sun Mar 27, 2016 6:58 pm

Re: How to enable hibernation with swap partition on Linux Mint 19

Post by rene » Mon Apr 15, 2019 1:30 pm

TI58C wrote:
Mon Apr 15, 2019 4:57 am
Will read more about hibernation and give it a try
If you do, be aware that it's not enabled in Ubuntu and Mint by default for a reason. Has significant issues especially in the (nvidia) graphics card context. Basically, works if you're lucky, does not and lets you experience the joys of closed source, binary drivers first hand if you're... well, also "lucky", even if now in a different manner :)

TI58C
Level 4
Level 4
Posts: 312
Joined: Tue Jul 18, 2017 5:57 am

Re: How to enable hibernation with swap partition on Linux Mint 19

Post by TI58C » Tue Apr 16, 2019 6:42 am

@rene,

OK, thanks for the "heads up!"

Robert
Linux is like my late labrador lady-dog: loyal and loving if you treat her lady-like, disbehaving princess if you don't.

ablaszczyk
Level 1
Level 1
Posts: 4
Joined: Thu Mar 28, 2013 11:23 am

Re: How to enable hibernation with swap partition on Linux Mint 19

Post by ablaszczyk » Tue Apr 23, 2019 2:54 pm

@goebbe Thank You. Works perfectly.

Post Reply

Return to “Tutorials”