#132 Hibernation in Fedora Workstation
Closed: scheduled 2 years ago by rlengland. Opened 2 years ago by w4tsn.

A post that turns a gist by eloylp on github into a FedoraMagazine post about how to configure hibernation on FedoraWorkstation. The consent of the author of that gist has been given to use it as source material.

The draft is mostly done and only needs some refinement for the wordpress formatting. Please let me know if this is a desired topic for the magazine.

A caveat in the approach highlighted here is the manual download, compilation and execution of a c snippet provided in the arch wiki to calculate some physical disk offset which I was not able to calculate otherwise. If the magazine does not approve such a method the snippet could be maintained as fedora package, or maybe there is another way for this calculation still to be found.


Metadata Update from @w4tsn:
- Issue assigned to w4tsn

2 years ago

Issue tagged with: article

2 years ago

Metadata Update from @rlengland:
- Issue tagged with: needs-image

2 years ago

The gist is written for Fedora Linux v35. It would be good to verify this on v36 before publishing, just in case and to be as current as possible.

I already took care of that :) I'm operating F36 with this at the moment. Also others have already provided their two cents about necessary changes for F36 in the comments of the gist

Metadata Update from @rlengland:
- Custom field preview-link adjusted to https://fedoramagazine.org/?p=36859&preview=true

2 years ago

@w4tsn Hey Alexander, any ETA for this article?

I've uploaded the current state of the draft to worpress: https://fedoramagazine.org/?p=36859&preview=true&preview_id=36859

I'll need two to three days to finish it, including the FedoraMagazine format guideline. Depending on the comments / actionable review items I guess another day for reacting to it integrating changes.

What you have looks OK to me. One thing that I think should probably be noted is that hibernation isn't always 100% compatible with all Linux hardware drivers. So depending on the particular hardware in your system, your mileage may vary. For example, you might experience glitches like WiFi not working after your system resumes or the display not coming back on. Some sort of "what to do if you discover this doesn't work on your system" section would seem appropriate since I'm sure there will be a percentage of people for whom this will not work.

Thanks.

I added a section on "Expectations" before the main article and a "Troubleshooting" section at the end. I'm not sure what to do in such a scenario myself, so I described quite general things. Do you have anything more to add or maybe an approach on how to come up with something more sophisticated?

As long as it doesn't auto-activate in any way (e.g. after a certain period of being idle), I think what you have is fine. If you did something like having the user replace the shutdown target with the hibernate target, then you would need to tell the user how to undo that. But it doesn't look like you did anything like that.

So if you are happy with it, then I guess we are happy with it. Are you ready for this to go out? Also, do you have any ideas for a cover image?

Thanks!

I'm done with writing and did the following changes:

  • opted for usage of grubby instead of grub mkconfig
  • added a note on interference of the changes
  • added a section on which steps to take to reverse the changes

From my side this article can continue in the workflow.

As of an image, I'm thinking of something like a power-nap at the office style picture or something? Or maybe a closed notebook lid. Or a lid with sleepy eyes.

Metadata Update from @rlengland:
- Custom field editor adjusted to rlengland

2 years ago

Metadata Update from @rlengland:
- Custom field image-editor adjusted to rlengland
- Custom field publish adjusted to 2022-08-10

2 years ago

Big fan of the chosen image, thanks!

Issue status updated to: Closed (was: Open)
Issue close_status updated to: scheduled

2 years ago

There is a new rather severe caveat to this article: if Secure Boot is enabled and kernel boots in Lockdown mode hibernation does not work as long as the Kernel does not support signed hibernation images. I guess it would be nice to add this note at the top of the article.

Done. Let me know if I over did the styling. Or if you want anything else changed.

Login to comment on this ticket.

Metadata