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.