Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im not sure if "software" is the correct subforum for this but I didn't know where else to put it.
I am running debian wheezy 64 bits on a normal desktop pc (so no laptop). I would like to be able to hibernate this pc (I assume that this is possible also for non-laptops?).
I have a swap partition which is big enough to store my ram and have the option to hibernate in my desktop environment and can also initiate it with "sudo pm-hibernate".
First time I tried it, it looked like it actually hibernated but when I started the pc it just did a normal boot instead of resuming.
After googling a bit I found out that I might have to tell grub2 to resume and where to find the swap partition, so i added this to /etc/default/grub:
GRUB_CMDLINE_LINUX="resume=/dev/disk/by-uuid/b9bf1ffa-312b-4576-9e60-d1626bab93fe"
and updated the grub2 configuration.
Now after a hibernate the system seems to try and load something but I only get a blank terminal with a blinking cursor after selecting debian in grub.
I tried waiting for a couple of minutes to see if something would change but it just seems to be stuck.
Do you know your kernel ACPI configuration options? There are several, and if you can rebuild your kernel, you should consider enabling ACPI debug. CONFIG_ACPI_DEBUG. I can't imagine that ACPI is not enabled for most distributions, but one never knows.
When you build your kernel, in the top level of your source, there is the .config file which contains all this information. If you're not building your kernel and are just running, I don't know how to determine how it was configured. It seems like that would be something viewable though. I'll see if I can find that out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.