Macbook & Two Hard Drives

I have a lot of media on my laptop. Roughly 140GB of music, 40GB of photos, 40GB of games, video and other random stuff on my internal drive alone.

That's my media folder, yup.

Like any computer user, or lazy person, I suppose, I hate to wait. I want a faster internal drive. Of course, SSDs are the answer. Theyā€™re also ridiculously expensive for the drive size I want. The simple solution: replace my Macbookā€™s internal DVD drive with a second hard drive.

I foolishly missed an amazing deal on an SSD from Newegg.ca, so I went and bought an 80GB Intel X25-M from Future Shop instead. I then checked out eBay and bought a $20 hard drive ā€œenclosureā€ of sorts. All I really needed was the proper connector, to bridge proper SATA to the odd variant of SATA (mini-SATA?) that the Macbook and most other laptops use internally for drive connections. I could have bought a cheap $1 connector for this, but the included enclosure holds the drive securely and preventsā€¦ bad things from happening. I think. (and hope.) Note: the adapter didnā€™t come with the little ribbon cable you see on top in the photo. That was from the previous DVD drive in the Macbook.

And that's my SSD!

The adapter I found fits tightly into the space that the old DVD drive took up, and is missing one screw at the back unfortunately. A bit of an odd fit, but with the case on, everything is snug and nothing is under stress. (I donā€™t think so, at leastā€¦)

Now, onto the software and speed aspect.

With two drives, even without an SSD, you can easily partition my system files and media. In preparation for my purchase of the SSD, I had moved all of my music, photos and movies and other large files to my secondary (non-boot) drive, and linked them all from their locations. To identify some of the largest files on my hard drive that I wanted to move, I used the wonderful Mac app GrandPerspective.

And that's my data layout!

I basically moved all of the large blobs that stand out to my second drive, in an effort to cut down on the media and other large files that I donā€™t really use all that often. For example, that huge orange blob in the top right of this screenshot is my iPhoto library. All of the tiny files at left happen to be my iTunes library, but that also got moved.

I tried using Finderā€™s aliases to keep file links from my home folder to my new drive, but a lot of software doesnā€™t follow them properly, for some odd reason. I then turned to the good old Terminal, and ran the **ln **command for every folder I wanted to relocate. After moving, say, ~/Music to my secondary drive and deleting the original, I would run:

ln -s /Volumes/Fry\ HD/Music ~/Music

Now, most of this is unnecessary - I could have just as easily gone into iTunes, gone to Preferences > Advanced > Media Folder Location and changed it from there, but I wanted to keep things as consistent as possible. A handful of other programs though, like Steam, or some music software, have huge files that you canā€™t just change a preference for. I ended up having to go through my /Library/Application Support and /Library/Audio folders to move over all of the huge sample packs I use. If youā€™re not sure about the syntax of the ln command, itā€™s pretty simple:

ln -s /absolute/path/to/new/location /old/location

In experimenting with all of this, I opened iTunes several times to be faced with an empty library. The urge to panic in that situation is hard to resist, but the files are just misplaced somewhere on the drive, and itā€™s easy to relocate them or link them for iTunes to find again.

A couple caveats of this solution:

After running this setup for a couple days so far, everything looks great. Iā€™m sure it helps that my secondary drive is already a Seagate Momentus Hybrid drive (with 4GB of SSD-like cache) but everything is ridiculously fast. Apps are up and running from the dock before they have the chance to bounce once. Booting the machine, which I donā€™t do often anyways, is down to about 5 seconds. The slowest part of the boot process is waiting for my secondary drive to spin up. I decided to force verbose boot all the time (by running sudo nvram boot-args=ā€œ-vā€) to see exactly how fast the system was booting, and itā€™s ridiculous.

Of course, I canā€™t read DVDs now. Oh well, big dealā€¦

Please note: if youā€™re going to try this,

BACK EVERYTHING UP FIRST.

I AM NOT AT ALL LIABLE IF YOU SCREW UP YOUR LAPTOP OR LOSE DATA.

 
7
Kudos
 
7
Kudos

Now read this

Pushed to my Pocket

As soon as I got my shiny new iPhone about six months ago, I set up instant Push email. This remarkably useful feature has really changed the way I use my email accounts and respond to email. Itā€™s also made me reflect on exactly how... Continue →