On Sat, 2 Aug 2003 01:39 am, Werner Guttmann wrote:
Can somebody please point me to a good resource for relocating /home to a separate partition.
Zentata replied: It's pretty simple. 1. Mount your new partition somewhere, like /mnt 2. Copy the entire contents of your current /home to /mnt midnight commander makes this easy 3. Change your /etc/fstab to reflect that /home is on /dev/hda? It should look something like this: /dev/hda8 /home ext2 defaults 1 2 4. Reboot or init 1 then back up. I'd add a step 0, backup the entire contents of /home to cd or something. To actually get the disk space back you have to delete the old copy of /home back to a bare empty directory. Yes, scary, see step 0. If you just mount over the top of it it will be invisible, frozen under the surface and will still take up disk space. So as a step 3a, rm -r /home/* -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166