I found so many others asking very similar questions to this. But I tried almost all of the solutions but it doesn't seem to be working for me.
When I enter sudo systemctl hibernate it gives me this error
Failed to hibernate system via logind: Not enough swap space for hibernation
and this what I get when I enter free -h
total used free shared buff/cache available
Mem: 7.7Gi 2.8Gi 982Mi 915Mi 3.9Gi 3.7Gi
Swap: 8.0Gi 0B 8.0Gi
as you can see there is enough space left in the swapfile but I am not able to hibernate it. If there is any more details or information I have to provide?
resume_offsetto be listed in GRUB afterresume=UUIDhttps://askubuntu.com/questions/1290326/how-to-enable-hibernate-on-ubuntu-20-04-lts – C.S.Cameron Jan 23 '21 at 08:33/swapfile– an4s911 Jan 23 '21 at 09:56resume=UUIDandresume_offsetlisted? – C.S.Cameron Jan 23 '21 at 10:31sudo reboot. My PC is stuck on Boot. Before reaching this screen it showed some text including “Failed to activate swap /swapfile” and “Dependency failed for Swap”. What do I do? – an4s911 Jan 23 '21 at 10:33