Dell Hackintosh, saving space and hibernate

Hibernate does not work on a mini 9 running OSX. But OSX does create the hibernate file which will always be as large as the amount of memory you have.

On a 16GB Drive 2 gig seems an awfully large waste of space (remember as hibernate doesn’t work, the file is completey useless).

Open a terminal, and remove the current hibernate file:

$ sudo rm /var/vm/sleepimage

Use pmset to turn hibernation off:

$ sudo pmset -a hibernatemode 0

I also found that for some reason the system still re-created a hibernate file, though I am no sure why or under what circumstances it would do that.

But to make sure it doesn’t happen simply set the location of the hibernate file to /dev/null:

$ sudo pmset -a hibernatefile /dev/null

You get 2GB back – Yay!

Leave a Reply

Your email address will not be published. Required fields are marked *