On Sat, 3 Nov 2018 09:01:19 -0500
Ranjan Maitra <maitra(a)email.com> wrote:
I tried the following:
systemctl hibernate
and I get:
Failed to hibernate system via logind: Resume not configured, can't
hibernate
I have never previously had to configure anything on an upgraded
system already capable of hibernating (once hibernated). Has
something changed? What do I do to fix this issue?
There was a discussion on the devel list a few months ago about this.
I think the idea was to disable it because it isn't supported for all
architectures. I thought it was delayed, but it might have been
implemented for f29. You need to add a resume option to the kernel
line in your grub.cfg.
It needs to point to the swap partition you are using for hibernate in
the kernel line. UUID is probably easiest. From the kernel
documentation:
resume= [SWSUSP]
Specify the partition device for software suspend
Format:
{/dev/<dev> | PARTUUID=<uuid> |
<int>:<int> | <hex>}