Move my sleep image?

I have an ssd and an hdd in my mbp, and would like to move the sleepimage off the ssd (my boot drive) to the hdd to reclaim 8gb from the hdd.

How do I do this?
Thanks!

Posted on Jan 30, 2012 3:43 PM

Reply
6 replies

Jan 30, 2012 3:53 PM in response to Whitecity

I don't think you can. It is hard coded into the OS to have the sleep image at that location.

But you can delete it and make it never come back.

That is what I have done because I also have a SSD as my boot drive.

Here are a couple of articles on it.

http://www.tuaw.com/2011/08/22/why-hibernate-or-safe-sleep-mode-is-no-longer-nec essary-in-os/


http://www.maclife.com/article/howtos/how_remove_diskhogging_sleepimage_file_you r_mac

Jan 30, 2012 6:35 PM in response to Whitecity

Whitecity wrote:


Thanks - I'm surprised its hard-coded - I would have thought that with multi-disk system becoming more and more common moving it would not be that unusual. I'll have a look at removing it.

You would think so but in Apple world Apple knows best.

It might be movable from the command line. But I have never found a reference to moving it. Just turning it off.

Did you know you also can't customise sounds for different events! Again Apple know best.

Also pull up the help system for any App then try to go back to the App you opened the help viewer from. The help viewer stays on top of the App window and there is no GUI option to make it not be Always On Top.

You have to open terminal and type in a command to make it not always be on top (this is one of the most idiotic features of OS X). In today OSs not to have an option in the Graphical User Interface to turn off such an annoying feature.


It ain't Windows, that's for sure.

Aug 18, 2012 7:26 AM in response to thatdoesntgothere

Interesting. DWFM (Didn't Work For Me)


What worked for you exactly?


I set hibernatefile to a new path successfully:


$ pmset -g | grep hibernate

hibernatefile /Volumes/Mac HD 250 Internal/var/vm/sleepimage

hibernatemode 3



But, after this, I put my system to sleep last night and it rebooted in the AM, instead of waking up.


I'm not surprised; the pmset manpage says: "Image may only be located on the root volume."


What worked for you exactly? (E.g. perhaps changing hibernatefile to /HD/var/vm/sleepimage would work, even though that points to the same file, only via HD, which is a symlink, and has no spaces. Edit: I'm trying this now, though I'll be surprised if it works!)


Did you use a path that was to a different volume on a different disk?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Move my sleep image?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.