> On 4/13/20 9:51 AM, Sreyan Chakravarty wrote: > > After a lot of experimentation, I did manage to get swap file > hibernation to work. > The dracut module for resuming is, for some reason, not enabled by > default. (At least on the minimal install that I tried. Maybe because > I didn't create a swap partition at install time?) These are the steps > I had to do: > Run "filefrag-v /swapfile" to get the offset. > Edit the grub environment to add the resume and resume_offset options to > the command line. > Regenerate the initramfs using "dracut -f -a resume" to get the resume > script included. > Set selinux to permissive. > Run "systemctl hibernate". I can confirm that this is working, but I don't understand if the resume module is not included then how can Fedora resume from a swap partition and not a swap file? Also the SELinux exceptions mentioned in this topic - will they work in this case ? _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx