How to make the Users Directory a different partition in Snow Leopard?

16,078

Solution 1

Copy your home directory to the new location/partition. The go in the System Preferences -> Accounts, right-click on your user icon and select Advanced Options. There you can set the Home Directory to the new path.

Solution 2

  1. Log into a different account from the one you want to move.
  2. Use the Finder to copy the home directory to the new location (Finder preserves all metadata)
  3. Go to System Preferences -> Accounts, right click on account, and select Advanced Options.
  4. Set the Home directory to the new location
  5. Remove or archive the original account's folder

Steps 1 and 5 are the additions that prompted my posting of a separate answer from knweiss's largely correct, but incomplete, answer. They are important in that it can be darned confusing if the change doesn't stick or your account is reverted for some reason (re-install and migration has done it to me).

This works just fine under Snow Leopard; I have been running with this configuration throughout the development of Snow Leopard. It even works with FileVault.

Solution 3

To permanently move the entire Users folder you will have to get your hands dirty in the terminal!

Assuming your first partition is called HD1 second partition is called HD2:

sudo bash [enter password]
mv /Users /Volumes/HD2/Users
ln -s /Volumes/HD2/Users /Users

We simply move the contents of the Users folder to the second partition and create a soft symbolic link to the location. The advantage here is that you only have to do it the once for as many accounts as you need.

Once you have reinstalled and reformatted just do:

sudo bash
rm -rf /Users
ln -s /Volumes/HD2/Users /Users

OS X may not like having the users folder moved so you may have to do it in target disk mode from another Mac.

Share:
16,078

Related videos on Youtube

Tiago Veloso
Author by

Tiago Veloso

"The Wizard's First Rule: People are stupid; given proper motivation almost anyone will believe almost anything." - Zeddicus Zu'l Zorander

Updated on September 17, 2022

Comments

  • Tiago Veloso
    Tiago Veloso over 1 year

    How do I set up Snow Leopard so that my user's folder resides in a separate partition?

    I want to do this so that when I format my main partition i don't have to backup and restore the user directory.

  • Tiago Veloso
    Tiago Veloso over 14 years
    Is that safe in 10.6? I have noticed the options in Leopard, but did never tried them. But they say it's unsafe and whatnot...
  • knweiss
    knweiss over 14 years
    Why don't you try it? You can always go back. Personally, I've just updated to SL today and did not try it myself on 10.6 yet. But I would not expect problems because on Unix-based systems a non-standard home directory path is nothing unusual. If an app breaks it really is broken...
  • Tiago Veloso
    Tiago Veloso over 14 years
    I will thanks. I don't try it because my SL order didn't came in yet, and i was doing my research in advance.
  • Tiago Veloso
    Tiago Veloso over 14 years
    But is there a way to make the "Users" folder, where all users folders are, a partition by itself?
  • bbum
    bbum over 14 years
    Sure; initialize a volume and name it Users and stick all user directories on it.
  • bbum
    bbum over 14 years
    Don't delete the original /Users/ folder, just the user in it.
  • Robert S Ciaccio
    Robert S Ciaccio over 13 years