Thanks for this!

On Wed Mar02'22 03:01:44PM, Samuel Sieb wrote:

> I just tried this out in a VM.  I did an install of F35 with a swap
> partition and it setup everything for hibernating including the kernel
> command line parameter.  "systemctl hibernate" does the full hibernating
> process, but resuming doesn't work.  This seems like a rather unfortunate
> bug.  Why set everything up so that you can hibernate, but not resume?

Yes, I had this same experience and thought. Where should a bug report be filed 
in this case? Funny if no one else has reported this yet.

> The fix is to run "dracut -a resume -f".  This will update the initramfs to
> include the bits that let resume work.  In order for this to continue
> working with kernel updates, you need to add a dracut config file with the
> module.

How do I add a dracut config file?

>
> There appears to be a systemd hibernate resume generator, but it doesn't
> seem to be working.  Maybe that is what was supposed to handle the resume,
> but it doesn't.
>
> zram and zswap don't make any difference, other than a swap partition is not
> necessarily created now for an install.  Hibernation will use the physical
> swap partition that has enough space.

I see, thanks!

Best wishes,
Ranjan
_______________________________________________
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
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to