save file and reboot then try again…
I can hibernate suspend on my system without any special configuration aside from adding the two things to my grub… but i have 32Gb RAM so supend is not the problem at all, and my swapfile is 8GB, but it could be in your case also that swap is in use already before hibernating and so space is to small?
you have the pain i do learn on helping you
To make clear:
Hibernating will write to swap/swapfile and then power off system completely, suspend will suspending system to RAM but leaves system running in low power mode.
to be true i do not know how much it needs at minimum to work…
but I would go for 16GB simply to see if it works, you can take also 10GB or 9GB one benefit of swapfile is that you can change the size easy…
the offset should be the same, but not 100% sure… better check it after it you need to rebuild grub.cfg as I mentioned before…
the first one with the two dots behind is the one…
I have posted this up before, if you’re looking to setup hibernate with a swapfile, I use this to follow along because I’m an Arch idiot and can’t remember shit (or I’m probably drinking).
Also. . . since I’m too lazy to even bother doing that anymore, when I setup a system, I just use https://aur.archlinux.org/packages/?O=0&K=hibernator and install it, and I have hibernation setup in like 15 seconds.
neil@neil-hppavilionlaptop15cw0xxx ~ cat /etc/systemd/logind.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#HandleRebootKey=reboot
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodes=400k
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
I don’t know if this makes a difference or not - @joekamprad ?? But I’ve always used
sudo mkinitcpio -p linux
Lowercase -p and then whatever your respective kernel is so mine would be sudo mkinitcpio -p linux-lts for instance. I don’t know the upper from lowercase what the difference would make.
You followed the guide I posted exactly as it says? It should work, I’ve done it many dozens of times now. You can make a change there I believe (although I’ve never done it) after setting up hibernate, I have just used the system power settings. It’s especially easy although I may have missed what DE you have. Plasma it’s right in battery/power management. I can’t recall for others any longer.
and to say someting on top… there are devices simple not supporting powermanagement under Linux at all, or need some drivers activated / kernel parameters set e.t.c.
that’s a thing… can be a little challenge to install it without windows installed…
HP makes it not easy … but is possible… i can have a look but not today
yes i do some research and it seems to be the only secure way to install windows for updating Bios/Firmware…
I do also see nothing related on the latest Bios update file that indicates something updated related to poweroptions… it says only “security fixes”
It can be that you need a kernel option to run on boot, but i still not find any possible ones…