Enable hibernation in OS X Mountain Lion for quick booting

I’ve said this previously, Lion used to be very quick in booting, much better than that of Mountain Lion. Lately, I’ve been cutting down on startup items, but even that doesn’t make much difference in booting time.

Previously, when I had a Windows laptop, I always used to hibernate rather than shut it down. But when I used OS X, it looked like there’s no hibernate feature in it. As it turns out, you can enable hibernation in OS X, here’s how you do it.

  1. Open the Terminal app, either from Spotlight or Utilities folder in Applications.
  2. Enter the following code and hit enter.
    sudo pmset -a hibernatemode 1
  3. Now as this is a sudo command, which needs root access to your system, you got to enter your system password.
  4. That’s all, now hibernation is enabled on your Mac.

To hibernate your Mac, you hit the Apple icon in menu bar, hit Sleep. Wait for 5-10 seconds and it’ll hibernate.

Internally, what happens during hibernation is, all the cache stored in your RAM is transferred to your hard disk, and when you boot your Mac, all that cache is again transferred to RAM – so you can continue where you left off.