Jump to content

How to remove hibernate error message and reclaim some disk space


relay
 Share

2 posts in this topic

Recommended Posts

Since the hibernate feature is broken for us hackintoshes, why not just eliminate it completely? If you look under /var/vm, you will find a file called "sleepimage" which if you look at the file size is quite large, about 1.25 times the size of your total physical memory. Ok so lets do a "sudo rm" on the file. Cool, I got some gigabytes back. But after rebooting, WTF? It's back!?

 

Well apparently by default, OSX hibernation mode is set to 3. We need it to be on 0 and here are the commands to make it so:

 

To check the mode you're on. Open up terminal and do the following:

 

pmset -g | grep hibernatemode

 

To set the mode to 0, in the same terminal, do the following:

 

sudo pmset -a hibernatemode 0

 

Then the sleepimage file will not return and your hibernate or sleep error message will not appear during boot up.

 

Enjoy!

Link to comment
Share on other sites

 Share

×
×
  • Create New...