You are not logged in.
Pages: 1
Hi!
I set up suspend to disk with this (uswsusp).
When I run
s2disk
ram is copied to disk then screen shuts down and hdd stops spinning but the LEDs are still ON and I'm forced to
unplug/replug the pc to fully shutdown.
Then when I reboot (after replugging the power cable), everything works OK. ("boot" is really really fast )
So I followed this
mkdir /etc/systemd/sleep.conf.d
touch /etc/systemd/sleep.conf.d/hibernatemode.conf
where I added the following:
[Sleep]
HibernateMode=shutdown
Doesn't work.
So I tried uncomenting:
HibernateMode=platform shutdown
in
/etc/systemd/sleep.conf
doesn't work :')
I'm out of solutions now
I have 8G of ram and a swap partition of 10G
(This is my very first time installing arch linux and it rocks)
(I have KDE plasma working, apart from hibernate)
Thanks for your time
Offline
Found the solution by uncommenting
HibernateMode=shutdown
in
/etc/systemd/sleep.conf
(I removed "platform" in HibernateMode=platform shutdown)
Then I added
resume=/dev/sdXN
in kernel parameters where sdXN is my swap partition.
So hibernate works with
systemctl hibernate
instead of using uswusp (s2disk)
Offline
Pages: 1