On Wed Mar02'22 02:08:13PM, Samuel Sieb wrote:
From: Samuel Sieb samuel@sieb.net Date: Wed, 2 Mar 2022 14:08:13 -0800 To: users@lists.fedoraproject.org Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: enabling hibernate on a new F35 installation
On 3/2/22 13:56, Ranjan Maitra wrote:
My approach to enabling hibernate on Fedora since F20 has been to create a swap partition and then do the following:
sudo vi /etc/default/grub
add --> resume=UUID="****" <-- to the line GRUB_CMDLINE_LINUX=
where the uuid is obtained using blkid, and then for efi-based systems do:
sudo bash -x grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
and then use:
systemctl hibernate
However, this approach no longer works for me. It goes down all right, but comes back into a newly booted system.
Check the logs both for the shutdown and for the bootup to see what's happening. You might find the reason there. Do you have secure boot enabled? I thought hibernation was disabled in that case.
Sorry, I have secure boot disabled. So, hibernate should work out of the box now? I must have misread what I was reading about hibernation and F34+. I read that ZDRAM or whatever makes it have different hoops to jump.
OK, I will check the logs to see if I can find anything, thanks!
Best wishes, Ranjan