#[solved] systemctl hibernate causes system to reboot
6 messages · Page 1 of 1 (latest)
on the initramfs boot log, when it say running hook [resume], is there anything abnormal?
[solved] systemctl hibernate causes system to reboot
I can't seem to make my hibernation to work! It's incredibly annoying... it doesn't exactly reboot my system but it fails to resume so it just comes up as if it was shut down but my wifi device gets lost and my bash history gets lost too
This is sudo dmesg | grep -i "swap\|hibernate\|resume":
[ 0.078791] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 1.056235] zswap: loaded using pool zstd/zsmalloc
[ 2.724970] systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[ 2.749163] systemd[1]: Activating swap /swap...
[ 2.760363] Adding 33554428k swap on /swap. Priority:-2 extents:259 across:105644032k SS
[ 2.760484] systemd[1]: Activated swap /swap.
[ 2.761794] systemd[1]: Reached target Swaps.
This the response of free -h:
total used free shared buff/cache available
Mem: 15Gi 4.1Gi 9.8Gi 1.1Gi 2.7Gi 11Gi
Swap: 31Gi 0B 31Gi
And the response of cat /proc/cmdline | grep resume is empty...
I've also added the resume line in the top line of grub config file and remade it using sudo grub-mkconfig -o /boot/grub/grub.cfg:
resume=UUID=50d922a0-0f73-46cc-b1b7-cdcbd58939e9 resume_offset=30629888
And yes, I did grab my root partition UUID and the offset from the appropriate commands, but I don't remember what they were... I manually inserted the block offset though, it was the top offset value.
Please make a new post instead of necroposting on this one