On 9 Feb 2017 5:26 pm, "Patrick O'Callaghan" <pocallaghan@gmail.com> wrote:
On Thu, 2017-02-09 at 18:07 +0100, Massimo Canonico wrote:
> Hi all,
> do you guys were able to hibernate your Fedora 25.
> In my previous fedora pm-hibernate worked perfectly but now it seems
> much more complicate.
> I tried to install this extension for gnome:
> https://extensions.gnome.org/extension/755/hibernate-status-button/
> but probably I have something more to do.
> Any suggestion is more than welcome.

pm-suspend and pm-hibernate are deprecated. Now it's done via systemd
(isn't everything?). I expect the Gnome extension just calls that but I
use KDE so I wouldn't know (the KDE hibernate/suspend does work).

See 'man systemd-suspend.service'.

One thing to check: you must have enough free space in swap or the
hibernation will fail (though suspend should still work). Use 'free' to
see how much free space there is and add some more if it's not enough.
How do you know how much is enough? It depends on your workload so you
basically guess, which is pretty much what you do with swap space

There's also still the outstanding bug where anaconda is not adding the resume= arguement to the kernel args to point at the swap partition so the system can never resume.