Hibernate

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Goldorak
Level 1
Level 1
Posts: 5
Joined: Fri Aug 19, 2022 1:24 am

Hibernate

Post by Goldorak »

I installed Mint 21 on a new system. Partionned with a swap partition twice the RAM. Added another partition twice the RAM for hibernation. I tried to find information on the web on how to enable hibernation. I can click on Hibernate on the Cinnamon Menu. When i do, the system takes a few seconds to hibernate (just like on Windows). But when I boot my system, it boots normally rather than using what was put into hibernation.
Any info on how to enable this last stage?
Thanks
Last edited by LockBot on Sun Feb 19, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: Hibernate

Post by deepakdeshp »

You can try suspend too
Command is

Code: Select all

 sudo pm-suspend
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
cfb
Level 3
Level 3
Posts: 153
Joined: Sun Nov 08, 2015 3:36 am

Re: Hibernate

Post by cfb »

You might be able to find some information here: https://ubuntuhandbook.org/index.php/20 ... ntu-21-10/
The page is actually about Ubuntu 22.04 on which LM21 is based.

My guess is that you need to add the "resume" parameter to Grub.

Note: I have not tried it, so "you are on your own".
Goldorak
Level 1
Level 1
Posts: 5
Joined: Fri Aug 19, 2022 1:24 am

Re: Hibernate

Post by Goldorak »

> My guess is that you need to add the "resume" parameter to Grub.

I already have this in /etc/default/grub :
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=67e00f52-9bb1-44df-9df3-2d52151d1558"

Of course I used "sudo update-grub" after that.
The UUID was copy/pasted from (GNOME) Disks.

Content of /etc/initramfs-tools/conf.d/resume :
RESUME=UUID=67e00f52-9bb1-44df-9df3-2d52151d1558

I also just did a "sudo update-initramfs" but it doesn't resolve the issue.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Hibernate

Post by Cosmo. »

Goldorak wrote: Fri Aug 19, 2022 2:14 am I can click on Hibernate on the Cinnamon Menu.
Astonishing. Where from did this menu entry come?
User avatar
MiZoG
Level 8
Level 8
Posts: 2352
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Hibernate

Post by MiZoG »

Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Hibernate

Post by Cosmo. »

The op uses LM 21.
Goldorak
Level 1
Level 1
Posts: 5
Joined: Fri Aug 19, 2022 1:24 am

Re: Hibernate

Post by Goldorak »

deepakdeshp wrote: Fri Aug 19, 2022 2:20 am You can try suspend too
Command is

Code: Select all

 sudo pm-suspend
That works, but it's not what I need (hibernation).

MiZoG wrote: Fri Aug 19, 2022 6:20 am Sources for LM 20.x
https://fostips.com/enable-hibernate-linux-mint-20/

viewtopic.php?t=357914
It's what I followed yet it does not work.


The only difference with these guides is that I used a separate partition, not the swap partition.
Still no luck enabling Hibernation on Mint 21 :-(
It works on Windows' Desktop ...
Last edited by Goldorak on Sat Aug 20, 2022 5:40 am, edited 3 times in total.
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: Hibernate

Post by deepakdeshp »

Hibernate doesn't work for many including me . The machine doesn't wake up . Good luck for your search.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
igmint
Level 4
Level 4
Posts: 233
Joined: Fri Jan 10, 2020 1:52 pm

Re: Hibernate

Post by igmint »

hybrid sleep mode

Code: Select all

sudo systemctl hybrid-sleep
translated by googlemachine. UTC+3:00
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Hibernate

Post by Cosmo. »

If hibernate does not work, than hybrid sleep cannot work.
Goldorak
Level 1
Level 1
Posts: 5
Joined: Fri Aug 19, 2022 1:24 am

Re: Hibernate

Post by Goldorak »

deepakdeshp wrote: Sat Aug 20, 2022 2:15 am Hibernate doesn't work for many including me . The machine doesn't wake up . Good luck for your search.
It seems (I haven't tested yet) that Hibernate works on Manjaro. Any idea why?
deepakdeshp
Level 20
Level 20
Posts: 12337
Joined: Sun Aug 09, 2015 10:00 am

Re: Hibernate

Post by deepakdeshp »

Goldorak wrote: Mon Sep 05, 2022 5:15 am
deepakdeshp wrote: Sat Aug 20, 2022 2:15 am Hibernate doesn't work for many including me . The machine doesn't wake up . Good luck for your search.
It seems (I haven't tested yet) that Hibernate works on Manjaro. Any idea why?
It differs from hardware to hardware. You can try installing the same kernel as in Manjaro and test.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Hibernate

Post by Cosmo. »

Randomly this can work. But hibernation works with the very same Mint version and the very same kernel on one machine, but not on the next. So it is a trial and error game. (I would bet, that also with Manjaro hibernation does only work on some hardware, not on all.)
Locked

Return to “Installation & Boot”