MacOS – Booting from SSD in optibay (MacBook Pro mid-2010)

macbook promacosoptical-drivessd

I'm considering putting in an SSD for extra space and faster boot times and such in my MacBook Pro Mid-2010.

Due to losing the sudden motion sensor if I move the existing mechanical HD to the optibay, I'm considering just putting the new SSD there and booting from it.

Is that possible to do? How does bootcamp handle it? And is the hibernation issue still here in Mountain Lion?

Best Answer

I went through a lot of the same questions you were asking and had to search high and low to find my answers.

First of all, this is my setup:

MacBook Pro Mid 2009

Optibay: SSD
HD Bay: Original Mechanical HD
8GB RAM

OS X Boot Disk: SSD
Windows Boot Disk: Original Mechanical HD

SSD: Mac OS X 
Original Mechanical HD: Windows 7 Partition / Mac OS Extended (Journaled) 

Ok, so here is the reasons for the described setup. I, like you, put the SSD in the Optibay because of the motion sensor issue. The Optibay doesn't have a motion sensor and the Original Mechanical HD isn't motion sensor equipped. So I put the SSD in the Optibay and boot into OS X.

The next issue I faced was the fact that Mac's can freeze when trying to do hibernate with an SSD in the Optibay. So I disabled Hibernate. This had a few nice perks, such as faster sleep and resume and the gaining back of 8 GB of SSD space that was wasted by the Hibernate RAM Image that Hibernate will make before your machine runs out of battery. Now obviously, this means that if I was working on something important and my battery dies, then I will have lost it forever. So this is a risk you will have to be willing to take but it is up to you. Personally I only do really important work while the charger is plugged in because of the fact that I am doing that work for 8 hours straight.

Update

Now some searching on the issue recently showed me that as of 10.8.1, this issue of freezing when waking from sleep had been fixed. I have not tested this personally on my machine because of the fact that I am used to having hibernation disabled. I don't like or need hibernation personally and I like the extra space I get from disabling it. Now the article says that it has been fixed but it does not state anything about Optibays, it only states its fixed for the SSDs in the Original HD Bay. I would recommend testing it out though, leaving Hibernation turned on, sleeping your machine while NOT doing any important work, and seeing if it wakes, doing it multiple times, just to be sure. If it does freeze or cause issues, then I would recommend disabling Hibernation.

End Update

You can disable Hibernation with the following command:

# Check Current Hibernation Status

$ sudo pmset -g | grep hibernatemode
hibernatemode   3
# 3 is the default mode, we want to change this to 0 to disable disk writes.

# Disable Hibernation
$ sudo pmset -a hibernatemode 0

# Now we can remove the old sleep image
$ sudo rm /var/vm/sleepimage

Now as for Windows, since I had Windows Installed on a 50 GB partition of the Original Mechanical HD, I just left it there. Installing Windows is a pain the butt and I didn't want to do it again. Also, I am rarely ever on Windows, I only use it to play some games and to do some Windows Development on every once in a while. Also, by keeping it there, you keep windows from having any possible issues with booting from the Optibay (though when I had the Original Mechanical HD in the Optibay as a test, it booted just fine).

Since I use the SSD for pure Apple Stuff, I took the original Mac OS X partition that was on my Original Mechanical HD and just reformatted it to extra space for my Mac. I download and store all my heavy giant waste of space extra files on that partition so I don't take up space on my precious and fast SSD in the Optibay. You could also partition it in a format that both Mac OS X and Windows 7 can access, such as ExFAT, so that they both play nice with the space and you have extra storage that both can share. Very convenient.

Now after you get all your pieces in place, be sure to go to System Preferences > Start Up Disk and set your SSD as the startup disk. If you don't, it might delay your boot time because it thinks it has to look for the disk in the Original HD Bay.

Another tip that you will see all over the place is to enabling TRIM on your SSD. You only need to do that though if your SSD DOES NOT already do it for you. My SSD did not require me to enable TRIM, so I didn't. Enabling it when you don't have to can sometimes slow down performance slightly but it will not hurt anything. Just check your manufacturers website or do a google search on your drive to see if its necessary.

Another thing you see all over the place is people recommending software for doing a copy over to your new SSD. Copying over your SSD is usually no problem, but issues can occur sometimes, especially if you copy over your windows partition as well. I, like many others, will recommend just doing a clean install and copying your data over and reinstalling your programs. Now obviously this could be a huge pain in the butt but it is completely worth it. It will usually allow you to take stock of whats on your drive, and help you trim the fat from your file system and reorganize yourself. I have done both, complete copy and clean install and copy and can say that my machine seemed slightly snappier with the clean install. My boot time dropped by a second or 2 as well.

Doing all of this and taking the precautions with Hibernation, my computer has never been faster. It boots in 6 seconds!

I highly recommend an Optibay if you can, it can make all the difference. I hope that this long answer helps you out and answers your questions about storing your SSD in your Optibay. Personally it was the best choice for my computer and my needs.