You are not logged in.
Hello everyone
today I finally added a swap file to my system, and tried the "new" functionality «suspend to disk». I searched the web and found that suspending to a swap file is somewhat different from suspending to a swap partition [in fact, the first time I tried it only complained "swap header not found"] and so, according to ArchWiki https://wiki.archlinux.org/index.php/Swap I added the parameter resume_offset to the kernel.
Now, if I try to suspend to disk it actually DOES something, and the computer eventually turns off. So «Halfway done!».
The problem is that when I later press the power botton on my computer to resume the session, it simply boots as it usually does. And I can't figure out why XD
Some details: my Arch is fully updated, the swap file is /mnt/swapfile1, created according to ArchWiki, 5 GiB big [versus 4 GiB of RAM], I use KDE 4.9.4.
Any help greatly appreciated,
Massimiliano
Offline
Any chance you forgot to add the normal resume= to the kernel line or accidentally overwrote it?
Also the resume hook might be missing from your mkinitcpio....
Or maybe you just forgot to rebuild the grub config or initrd image (again after the last change)?
Did you go through "https://wiki.archlinux.org/index.php/Hibernate" again to see if you forgot something?
Last edited by whoops (2012-12-08 09:31:36)
Offline
Cool, I followed the guide at your link and it works now!
The hook in mkinitcpio.conf was missing, now it seems to work fine
Thanks a lot, man!
Offline