Friday, November 06, 2009
Move Your Home Folder Off Your SSD Boot Drive in OS X
SSD (Solid State Drives) are the future, kids. They are insanely fast, have no mechanical parts to wear out and run cooler than their platter based counterparts. The main problem with SSDs right now is that in order to get a decently sized drive, you have to sell off one or two of your kids just to pay for it.
As of this second, the cheapest 256GB SSD at NewEgg is hovering at around $600. Ouch. Something in the “reasonable” price arena of less than $200 will only fetch you a 64GB drive. Plenty of room for the OS and a load of useful applications, but not a lot of wiggle room for your stuff. Where will you put your giant collection of bagpipe music in iTunes, your scads of text files with truly bad poetry and an iPhoto Library chock full of compromising photos of co-workers? In all likelihood, you won’t be storing much of your data on the thing. You’re going to have to litter your junk around on another drives/volumes. (i.e., your iTunes media, iPhoto, Lightroom, etc.) That’s all well and good and perfectly reasonable, but you have to do a bunch of fiddling within the individual applications to make all that work. (Don’t get started on how persnickety iTunes can be about having its files live on a separate drive.) And you’ll probably customize your Finder sidebar so you’ll have easy access to where you park your files. Well behaved Mac apps expect to plant their “stuff” in the user’s home directory. (Try this: Hit “Open” in any application. The hit Cmd + Shift + D. Where are you? Your Desktop! Where’s your Desktop? Inside your Home folder, silly!)
So while you can work around the speedy, but decidedly cramped quarters of your SSD, what we really want to do is tell the OS that your home folder “lives” on a different drive. After all, 1TB hard drives are way cheap these days, relatively speaking. Plus, you have a MacPro with a zillion SATA bays in it, right? The following instructions tell you how to move your home folder from your spiffy SSD over to less constrained quarters. You’ll still boot off the SSD and run your apps from it, so your computing life will move faster than you ever thought possible, but all those pesky personal bits will be somewhere else.
Step 0): Back up your mojo. Don’t be an idiot, K? This is pretty painless stuff, but make sure you have a working back up of all your files before you dive into this. Pretty please.
Step 1) Create a new account in “System Preferences --> Accounts”
The home folder for this new account will land on the boot volume, which is the expected behavior. Boo. Let’s fix that!
Step 2) Go make a folder on some other volume. Make sure the name of the folder matches the “Account name.” (the lower case username)
Step 3) Fire up the Terminal and issue the following command:
sudo ditto -rsrc /Users/test_account /Volumes/07-Sette-TB/Users_n/test_account/
(This command is basically an über “copy” command. Obviously, your folder structure and account name will be different. The -rsrc” switch tells the “ditto” command to snag resource forks and all that HFS meta-data goodness along with all your precious data. The man page for ditto tells me that this switch is the default behavior since 10.4 so it’s probably not necessary; but I do it anyway, because I’m old skool and I have numerous trust issues which I won’t delve into here.)
Step 4) Now comes the cool part. I’m all aflutter just thinking about it. In the Account Pref Pane, Control + click on the account name. Ooooh baby, you had no idea that was there, huh? Smack that “Advanced Options…” pop up like it was a puppy who peed on a rug that really tied the room together.
You should now choose that folder you created in Step 2 as the location for that account’s Home directory:
Step 5) Reboot. (Since you are the proud owner of an SSD powered machine, this is the quickest step in this whole process. Heh.)
After you’ve rebooted, you can logout of your “normal” account (At the bottom of the Apple menu) and log back in as that new user and shazam on a seesaw, that user’s home folder is somewhere else!
I’ve tested this on Snow Leopard (10.6.1) and it works fine. I suspect these instructions probably work fine for Leopard, too; but I don’t have a Leopard machine handy here at the Deal Family Compound to test. (Update: Jamie emailed me and said me he’d tried it out on 10.5 and it works. He also noted that you should be able to upgrade to 10.6 without any problems (which makes sense to me). Thanks, Jamie!) You’re on your own for 10.4 and earlier. Sorry, and have fun mucking around with NetInfo, you poor dear.
If you’re feeling brave, you could skip creating a brand new account (Step 1) and blast straight to ditto-ing your current account to a new location, changing the Home folder setting in the Accounts Pref Pane and rebooting. Should work perfectly well. Me? I’m a safety nut and like to make sure things work, but I can tell that not only are you a fetchingly attractive specimen of a human being, but you also like to live on the edge. Godspeed, my young Padawan. And! Don’t forget to tell Time Machine to back up both your SSD volume and the drive where you’re parking your files.
You could also go nuts and put your home directory on a removable volume (i.e., a USB or FireWire drive), but I wouldn’t recommend it. Depending on when in the boot process your Mac mounts the removable drive, odd or potentially freaky things could happen. Having said that, I’ve put a Portable Home Directory account on a lowly thumb drive in an Open Directory/Portable Home Directory friendly environment and it’s worked fine. No fuss, no muss. But I can also pull sparkle ponies out of my booty on demand. THAT’S HOW SPECIAL I AM. As with all things, your mileage may vary.
Anyway, just thought I’d share. If anyone needs me, I’ll be back in my hole trying to finish this unholy creation I’ve taken to calling “The Decidedly Mediocre, Taking Forever to Write and Tragically Not So Great American Novel.”
Newegg is currently having a sale on 64GB Kingston drives. That’s what I just picked up. $143.99! Plus a $30 mail in rebate I’ll likely forget to do, because though I have that sparkle pony thing going for me, I’m not actually all that bright.
Good luck and please, for the love of all that is holy in the world, never skip Step 0.
Comments are closed because I borked my blog’s commenting system a couple months ago and haven’t bothered to fix it. (Plus, there’s that whole “not actually bright” thing and I may not posses the necessary skills to fix it.) Feel free to email me if you have something to say. Or be a pal and offer to fix my blog’s code. :-]
Favorite Entries
If you are new around here, the following entries have been reasonably well received. You might want to peruse these.
- Partners
- Correspondence
- Help Wanted
- From the Office of Mis-directed Email
- A Word from the Small Person in the House
- RNT Product Review: Chocolate Mix Skittles Left Me Sterile!
- Jon’s Report Card circa… A Long Time Ago
- Dear Gratuitously Naked Conversationalist at the Gym:
- A Peek Inside the Writer’s Guild and Producers’ Negotiations
- We Regret the Error
- Letters from a Homeowner to His General Contractor
- What I Did There
- Hermaphrodite Administrative Assistants and Receptionists Need Not Apply
- Giving Me an IM Account Was Obviously a Huge Mistake
- Official Ransom Note Typography Vista vs. Mac OS X Shootout
- I Need a Real Hobby
- Beat Down
- Big Fat Lies
- True Love
- Now MY Ovaries Hurt
- Don’t Get Her Started
- Disturbing Trend
- Had to do it
- Mooshy stuff
- Ransom Note Typography End User License Agreement “EULA”
- Diva-licious!
- Just so we’re clear
- PETA may have a point
Holy Crap! Look at all this STUFF down here. It's awesome!
Search
Categories
Recent
- Move Your Home Folder Off Your SSD Boot Drive in OS X
- My Wise Investment
- Fish in the Sea
- Birdhouse Review, For Reals
- New Glasses!
- Mail Call
- Acknowledgments
- Welcome to Funky Town
- Yo, What’s the Deal, Here?
- Learning to Think Before You Speak
- That Domain Is Probably Still Available
- Beta Tester Wanted. Must Have Thin Ankles!
- Hey, He Made a List! (Twitter Favs, 2008 Edition)
- This Is Why People Rarely Do Nice Things for Me
- Who’s That Goofy Guy Standing Next to the Hot Pregnant Woman?
Archives
- November 2009
- October 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- Complete Archives
- Category Archives
Really, I'm glad you made it down here. Almost no one ever comes down here. I'm like in a freaking dungeon down here. I get lonely. But not you. YOU made it all the way to the end of the page. For this I think I've a little crush on you. I don't know, is "love" to strong a word to use in this situation? Well, if it's not "love," then it's very strong "like." I'm totally in like with you for coming down here. You are awesome. Please love me back! I know, I know, I shouldn't be all needy, it's not attractive at all, but you don't know how it is to be stuck down here. Who scrolls all the way to the end of a page anymore these days? Anyway, thanks for shedding some light down here in the depths. I appreciate it. Shoot me an email and I'll send you a dollar, OK?
©2005-2009 Jon B. Deal All Rights Reserved. I'm not kidding around here, I know people who know other people who would be willing to beat you up or similarly infringe on your rights, should you happen to infringe on my rights.
