Thanks for the reply.
Is that guide really from 2007? It’s very outdated if so.
Yes, but I doubt it is outdated as it is still up and hosted in the offical website of the Linux kernel (I think).
I had a look at the documentation for the
resume kernel parameter (which is also what is mentioned in the link that you mentioned) and decided to edit the defaults in
/etc/default/grub file to include it along with the UUID of my swap partition, now it looks something like this (only the
GRUB_CMDLINE_LINUX="resume=UUID=e5f1f037-0eee-4c48-8be6-d4e098163695 rhgb quiet"
You can find the UUID of your swap partition using a program like GNOME Disks.
Don’t forget to regenerate your grub configuration after you finish editing the defaults, I borrowed these commands from the link in the previous post which will do that for you:
For BIOS computers:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
For UEFI computers:
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
I just tested it and it works! Even though waking up from hibernation is slow, and each application is a bit clucky after hibernation and it takes some time for it to become normal. Not a big issue, at-least it is working now