You are not logged in.

#1 2014-06-13 09:45:19

Sevis
Member
Registered: 2014-06-13
Posts: 9

[Solved] Can't resume from hibernate with "systemctl hibernate"

Hi everyone,
this is my first post here, sorry if this isn't the right place to post, I didn't really know where to post this
I moved from Ubuntu to Arch about a month ago, but I didn't get hibernate function to work yet...

when I run systemctl suspend, everything is fine, but when I try systemctl hibernate, the computer goes down, and when I reboot it creates a new session, and does not resume the one I hibernated
I already added the "resume=path" kernel parameter to GRUB2 through grub-customizer (Ubuntu)
I found many posts talking about this, but they all seem to use pm-utils, and the wiki says it is deprecated, so I didn't follow any of these instructions
The instructions in the wiki didn't help more

Thank's in advance

Last edited by Sevis (2014-06-13 10:55:00)

Offline

#2 2014-06-13 09:48:39

fungle
Member
Registered: 2014-05-01
Posts: 81

Re: [Solved] Can't resume from hibernate with "systemctl hibernate"

You need to add the resume hook onto your initramfs. Read this whole section from the wiki

Offline

#3 2014-06-13 10:02:29

Sevis
Member
Registered: 2014-06-13
Posts: 9

Re: [Solved] Can't resume from hibernate with "systemctl hibernate"

Yes, I already tried this, but it didn't seem to change anything
I modified both /etc/default/grub and /etc/mkinitcpio.conf

Offline

#4 2014-06-13 10:03:14

Sevis
Member
Registered: 2014-06-13
Posts: 9

Re: [Solved] Can't resume from hibernate with "systemctl hibernate"

by the way, thanks for the very quick reply

Offline

#5 2014-06-13 10:54:39

Sevis
Member
Registered: 2014-06-13
Posts: 9

Re: [Solved] Can't resume from hibernate with "systemctl hibernate"

Well thanks, I finally found, I was just missing the mkinitcpio -p linux-custom-kernel
I use a custom kernel, so "mkinitcpio -p linux" didn't work

Offline

Board footer

Powered by FluxBB