On 26/02/2005, at 4:04 PM, Paul Kitchener wrote:

---- Original Message ----
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: Running out of disk space
Date: Sat, 26 Feb 2005 15:17:59 +0800

Email me if you're interested or if you think
the group would find it useful.

I'm buying an ATA Controller card soon so I'm quite interested in
this.


The basic procedure is detailed here:

http://www.macosxhints.com/article.php?story=20040716153639236

I wanted to make it slightly simpler, orient it towards User data, and less technical, so:

1. Initialize your second drive as Users, and copy over any existing Users directories over to it. You can use ditto or drag/drop from the Finder if you logged on as that user, just make sure the permissions follow those of the existing Users directory. 2. As a fall-back plan, empty out the existing Users directory on your old drive. Just leave the minimum files and directories for the main user there. (You can do this after 5, if step 5 didn't work, but you have to fix up the fstab to see the original directories again.) 3. Restart your OS X system with the second drive attached. When reboot is OK, check the log through the Console app for the UUID of the second drive. This is a combination of letters and numbers like this 299D6731-AAAA-BBBB-B090-9B0D4508FFFF, is unique and assigned when the disk is initialized.
4.      Edit the /etc/fstab file. Add a line which says:

UUID=299D6731-AAAA-BBBB-B090-9B0D4508FFFF /Users hfs rw 1 2

That's spaces before /Users and between /Users, hfs, rw, 1 and 2.

5. Reboot again. This time the system should be picking up your home directories from the second drive.

This procedure is good for any sort of partitition you want, e.g. for Applications, or for swap space like the original article wanted, or even something funky like /Users/glenlow/Music for your iTunes stuff. And if the fstab trick ever fails, you still have the intact, minimal directories on your old drive. If you're daring and have a few Macs available, you might try sharing a Firewire disk between them in this fashion (no I haven't tried that last scenario so don't sue me if your data is fried...)



Cheers, Glen Low


---
pixelglow software | simply brilliant stuff
www.pixelglow.com