Installing Home Folder on Second Drive on OSX Lion
Sat Aug 06 12:04:00 -0700 2011
I have a 15" Macbook Pro, early 2010 model. It had a 500Gb Seagate 7200 RPM Momentus
drive in it, and had been serving me well over the past year but I wanted to give it
a speed boost, so I purchased a 240Gb SSD for the OS drive and new 500Gb Seagate Hybrid
drive with an OWC optical bay mounting kit for the data drive.
Installation was a bit of a pain as my user data was close to 250Gb alone, so it was
impossible to restore this completely to the OS drive.
To handle this I did the following:
- Make sure you have a complete backup before you do this! I hope my instructions are correct, but this post has the standard MIT licence :)
- Create a “restore” user with admin rights
- Replace out the optical drive with the 500Gb Hybrid
- Log in as the “restore” user
- Format the new 500Gb drive as a single big partition calling it “data”
- Make a /Users folder on the data drive
- While logged in as the “restore” user, copy (just using Finder is fine) my home directory in the /Users folder from the internal drive and dump it into the data drive – this can take some time :)
- Once the copy is complete open up System Preferences, accounts and right click on my user account and select “Advanced Options”, in there change the path to the home folder to the new folder on the data volume
- Log out of the “restore” user and log in as your own user again, you should now have the home folder in the new location (the folder will have the home icon in finder)
- Note, when logging back in as yourself, some applications might complain that they can’t find the old folder, Dropbox is one of these culprits as they use an absolute path, not a relative one. Just relink as needed.
- Delete the old home folder in “/Users/yourloginname” (or move it to external storage for safe keeping if you are still in disbelief that everything worked)
Now we are ready to replace the internal OS drive. One thing I found though was that even after I deleted my home folder, the free space didn’t drop! It stayed stuck where it was. This made me think it was some sort of trash or recycle bin, but what I found is that there is a directory called /.MobileBackups on your drive that is like a mini portable time machine. So if you have time machine on, but you are not connected to it when it is time to backup, Lion will take a snapshot of your drive of changes. Neat, but in this case annoying.
So I had to do the following to replace the Internal drive:
- Replace the internal OS drive with the new shiny SSD
- Put the old internal drive into a USB enclosure
- Connect USB enclosure to mac and restart into the recovery mode (Hold down Command-R until you see the apple logo)
- Once in recovery mode, go into Disk Utility and note the name of your old Internal drive that is now connected via USB, it will be called something like “Macintosh HD” or some custom name if you have changed it.
- Quit disk utility and go into the to terminal app.
- Change to the folder where your USB drive is mounted, if your drive is called Macintosh HD then do: “cd /Volumes/Macintosh\ HD”
- Check to see if the MobileBackups folder exists with “ls -al”
- Forcibly delete the MobileBackups folder if it exists with “rm -rf .MobileBackups” – this can also take some time, in my case this folder had over 300gb in it
- Once delete see how much space is left with “df -hi” It will show how many Gb have been used and what is available, make sure your old internal drive now has less used than is available on your new SSD drive.
- Quit terminal and fire up Disk Utility
- Click on your old internal drive connected via USB, and click the “Restore” tab. Then drag the new SSD drive from the sidebar into the Destination box. This will copy the contents of the old Internal drive onto your SSD drive.
- Get this started (the confirmation box here is actually quite good and tells you what is going to happen clearly).
- Come back in an hour or two.
- Now that the SSD drive has everything your old internal drive had, the moment of truth has come, the reboot. Quit time machine, and then restart choosing your new SSD drive as the boot source, for added assurance, I disconnected my USB drive at this point.
- Your mac should now restart on your new internal SSD drive a lot faster than before.
And that’s it!
blogLater
Mikel




Wed May 02 21:35:01 -0700 2012
good article love to read the whole new concept of these fields really nice,
Wed May 02 21:34:46 -0700 2012
good article love to read the whole new concept of these fields really nice,
Tue May 08 05:27:33 -0700 2012
I heard this news when I was in Brisbane to fulfill my dream, I wanted to Drive a v8 supercar on a special track. It`s really sad that Chris got into a car accident, he played very good at Cincinnati Bengals, hope we will see him once again playing as a receiver for one of the best teams in NFL.
Tue May 08 05:27:18 -0700 2012
I heard this news when I was in Brisbane to fulfill my dream, I wanted to Drive a v8 supercar on a special track. It`s really sad that Chris got into a car accident, he played very good at Cincinnati Bengals, hope we will see him once again playing as a receiver for one of the best teams in NFL.
Fri May 11 01:54:58 -0700 2012
No matter what kind of stain occurs on your clothing, quick intervention can keep it from becoming a permanent part on your garment. Most stains, except of those on delicate fabrics such as silk and leather, can be easily removed with three simple steps- rinsing, blotting and laundering.
Fri May 11 02:34:22 -0700 2012
Nowadays, finding a high quality post is really difficult. I’d like also to thank my friend for giving me the url of your blog. Hope you appreciate my short comment though.
Sun May 13 22:12:46 -0700 2012
Anything could be said on this projects but I am bit nervous on using 2nd hard drive with the 1st one to create home folder on the 2nd one.Is it possible to do that in windows 7.
Tue Jan 10 01:53:00 -0800 2012
Seems to be really easy. Thank you for the tutorial. I will try to do it myself even if I am a newbie in this domain.
Tue Jan 17 01:11:04 -0800 2012
I am very enjoyed for this blog. Its an informative topic.It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy.
Sun Jan 29 20:51:53 -0800 2012
Very good post. I realize that I was totally wrong about this issue. I guess you learn something new every day. Lesson learned Ms. Right! Nice website, informative on the road.
Mon Jan 30 05:52:24 -0800 2012
I will follow your tips… I am sure that I can improve something in the near future.
Sun Feb 05 20:16:07 -0800 2012
I am very enjoyed for this blog. Its an informative topic.It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy.
Tue Feb 07 23:52:28 -0800 2012
Lion from OS X editions before Snowfall Leopard The the the apple company organization company started to take purchases for OS X Lion’s USB set up provide makes.
Fri Feb 10 05:41:40 -0800 2012
I will try to follow your tips. Seems to be simple, but I am not sure if I can succeed!
Tue Feb 14 01:21:20 -0800 2012
I saw the you said to format the 500GB in one partition. Why to use just a partition?
Wed Feb 15 06:14:15 -0800 2012
cna training in ct
Wed Feb 22 02:00:08 -0800 2012
It is the best tutorial. I followed your advice and I did it myself.
Tue Feb 28 06:21:10 -0800 2012
The the the apple company organization company started to take purchases for OS X Lion’s USB set up provide makes.
Thu Mar 01 05:41:10 -0800 2012
Now we are ready to replace the internal OS drive. One thing I found though was that even after I deleted my home folder, the free space didn’t drop! It stayed stuck where it was. This made me think it was some sort of trash or recycle bin, but what I found is that there is a directory called /
Sun Mar 04 09:42:32 -0800 2012
maybe I can do it myself. Seems to be a good approach. It is simple
Mon Mar 12 02:35:38 -0700 2012
seems to be really easy to do it. I am sure that I can do it myself.
Thu Mar 15 17:46:46 -0700 2012
I followed your advice and I did it myself.
Sun Mar 18 18:47:23 -0700 2012
Very interesting and informative blog. Hope we get some updates
Sun Mar 18 18:47:33 -0700 2012
Very interesting and informative blog. Hope we get some updates
Mon Mar 19 07:29:32 -0700 2012
I understand how to do it. This seems to be the best approach. I really like this style.
Mon Mar 19 23:43:39 -0700 2012
This is such a deep blog! What can I say, you’ve hit the nail right on the head! You even added some videos to make it seem so much more real. You’ve got a great way of communicating with the reader, a great way of making me feel like what you have to say is just as important to me as it is to you.
Fri Mar 23 04:06:19 -0700 2012
Seems to be a good alternative. I am sure that many will have the same opinion.
Sun Mar 25 03:35:41 -0700 2012
As long as you are willing to extend your eyes to this blog, you can absolutely derive a lot of useful information which will benefit you a lot in pursuing fashion trend and maintaining unique taste and noble elegance.
Sun Mar 25 12:19:04 -0700 2012
This is a really good read for me. Must admit that you are one of the best bloggers I have ever read. Thanks for posting this informative article.
Sun Mar 25 12:19:55 -0700 2012
This is a really good read for me. Must admit that you are one of the best bloggers I have ever read. Thanks for posting this informative article.
Wed Mar 28 07:04:14 -0700 2012
Thanks for this fantastic blog, i love it
Wed Mar 28 07:04:39 -0700 2012
Thanks for this fantastic blog, i love it
Wed Mar 28 07:03:17 -0700 2012
Thanks very much, took me time to read all the comments, but I really enjoyed the article.
Wed Mar 28 07:04:47 -0700 2012
Thanks for this fantastic blog, i love it
Wed Mar 28 07:04:57 -0700 2012
Thanks for this fantastic blog, i love it
Mon Apr 02 00:37:08 -0700 2012
Great writing, I have not heard about that before,but I would like to give it a read.keep it up.
Mon Apr 02 00:38:56 -0700 2012
It is useful blog for everyone and i have got many new ideas and information with this blog.Thanks for sharing wonderful information.
Mon Apr 02 00:43:16 -0700 2012
Wow. Thank you for this, I was trying on my own but didn’t have any success until now. When I tried first time I had the same problem with the free space that didn’t go down, but second time I fixed it and everything is working.
Thu Apr 05 23:43:59 -0700 2012
This tutorial is very much helpfull
Fri Apr 20 04:49:52 -0700 2012
Very good post. I realize that I was totally wrong about this issue. I guess you learn something new every day.
Thu Apr 26 23:55:25 -0700 2012
Great post. I like that you have most of the information that I needed on here, and I won’t have to go somewhere else to find it.
Thu Apr 26 23:56:03 -0700 2012
Great post. I like that you have most of the information that I needed on here, and I won’t have to go somewhere else to find it.
Fri Apr 27 05:03:41 -0700 2012
I don’t understand what you mean here but I don’t think there are plenty of good topics here.Thanks for the nice blog. It was very useful for me. Keep sharing such ideas in the future as well.
Fri Apr 27 05:04:23 -0700 2012
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept.