For me the resume module needed to be included for swap files not for swap
partitions.

Good that you figured it out.

On Tue, May 12, 2020 at 12:51 PM fedora <fed...@ayni.com> wrote:

> I did the following steps to activate hibernate/resume on fedora 32:
>
> 1. changed the kernel command-line so that it looks now like (added
> log_level=debug):
>
> [root@caprioli ~]# grub2-editenv - list
> saved_entry=966c5755b3384d1192dbf3d3658c1e29-5.6.11-300.fc32.x86_64
> kernelopts=root=UUID=3f218a1e-7f30-48b1-add4-fb17bff5a6b5 ro
> resume=UUID=0d51db0e-8463-4741-8bbe-d907fb2b1cb2 systemd.log_level=debug
> boot_success=1
> boot_indeterminate=0
> [root@caprioli ~]#
>
> 2. systemctl reboot
> 3. systemctl hibernate
> 4. resumed from hibernate, which failed
> 5. journalctl -b 0
> 6. within the above searched for "hibernat", which gave me (between others)
> "May 12 07:53:48 caprioli.dyn.lan
> systemd-hibernate-resume-generator[661]: Not running in an initrd,
> quitting"
> 7. edit /usr/lib/dracut/dracut.conf.d/50-nss-softokn.conf , so that it
> now looks like (i.e. added resume to the module-list):
>
>
> add_dracutmodules+=" nss-softokn resume "
>
> 8. dracut -fv
> 9. systemctl reboot
> 10. systemctl hibernate
> 11. resumed from hibernate, which succeeded
>
> To make long things short: the resume modeule is not included in initrd,
> but in order for hibernate/resume to work, it must be there.
>
>
> suomi
>
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
>


-- 
Regards,
Sreyan Chakravarty
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to