-   Bodhi (
-   -   Bodhi - suspend and/or hibernate - what do they do? (

Dark Corner 09-29-2012 08:20 PM

Bodhi - suspend and/or hibernate - what do they do?

I am very new to Bodhi. Today, I tried to hibernate my desktop box with Main Menu | System | Hibernate. All I got was a black screen plus mouse cursor and no apparent shut down of box or monitor and no way to recover short of a hard boot. Actually, that may not be true, that's just what I did because I was in a hurry and frustrated.

So, my question is, what is supposed to happen with suspend and with hibernate and how does one recover from each?


TobiSGD 09-29-2012 08:38 PM

Suspend is sending the computer into the standby mode, hibernate is saving the state of the computer to the swap partition and shutting down the machine completely. For hibernate to work correctly you should have a swap partition that is at least the size of your physical RAM. Depending on the amount of actually used RAM and speed of your harddisk the write action may take some time. For example, if your harddisk has a write-speed of 50MB/s and you have actually 2000MB RAM in use the write action will take 40 seconds.

Dark Corner 09-29-2012 09:40 PM

Ah, thank you. I guess "suspend" (standby) is what I had wanted my computer to do. You didn't answer my question about how to recover from either suspend or hibernate, but I assume it is by pushing the power button for both. Since my entire hard disk is one partition, I guess I wouldn't be able to hibernate, but I also don't think I would ever want to.

OK, I tested "suspend"; it shut my computer down very fast. I pressed the power button and the screen was back up very fast, but my wireless mouse wouldn't work. Tried to reset it, but nothing. Had to warm boot. Any suggestions?


TobiSGD 09-29-2012 10:01 PM

Sorry, I don't use wireless input devices.
Having a swap partition is not only reasonable for hibernating, but also its actual use: If your RAM for whatever reason gets used up it gets swapped out. If you don't have a swap partition (or a swap file) the kernel begins to randomly kill processes, which is not something you want.

Dark Corner 09-29-2012 11:03 PM

Thanks. As usual, answering one question raises others. I will need to look into my swap situation.


tuxboom747 02-01-2013 01:54 PM

(...) but my wireless mouse wouldn't work.

maybe you already solved it:

in /etc/hibernate/common.conf have a look at the sections "modules" and "services"
to be stopped and/or restarted while waking up your box from sleeping should make your wireless mouse working.

have fun ;)

Dark Corner 02-01-2013 02:27 PM

Thanks, Tuxboom, but I do not have a directory hibernate under etc.


All times are GMT -5. The time now is 12:09 PM.