LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   can't resume after suspend (http://www.linuxquestions.org/questions/linux-general-1/cant-resume-after-suspend-750310/)

newbiesforever 08-26-2009 03:12 AM

can't resume after suspend
 
My system can't resume after suspending to RAM; I have no idea why. While booting, it says that it can't find a resume image and has to do a normal boot. Any ideas?

w1k0 08-26-2009 06:52 AM

I'm not sure I understand your question...

To suspend to memory you use a command such as:

Code:

sync ; sync ; echo -n mem > /sys/power/state
The machine in suspend mode needs the power to maintain that state. After suspending to memory you resume by touching a key or opening the lid.

To hibernate to hard disk you use a command such as:

Code:

sync ; sync ; echo -n disk > /sys/power/state
The machine in hibernate mode doesn't need the power to maintain that state. After hibernation to hard disk you resume by pressing power on button.

Assuming your swap partition is /dev/hda4 to enable hibernation you have to add to append option in your /etc/lilo.conf a parameter:

Code:

resume=/dev/hda4
It seems you mixed up in your question suspending (``...after suspending to RAM'') and hibernation (``While booting...'').


All times are GMT -5. The time now is 03:31 PM.