On Mon, Oct 29, 2001 at 10:32:30AM -0500, [EMAIL PROTECTED] wrote: > hey, > > my problem is this: I had previously installed a 7.1 system w/ 2 disks (hda > & hdb) now the hdb disk has a single partition (/home), now what I would > like to do is remove an unnecessary extra partition that I added on the hda > disk and move /home to hda.---I need and extra disk :-( > > Before I screw up the whole system.. > /etc/fstab lists /home as "LABEL=/home". > do I just > 1) rename /home to something else temporarily > 2) remove /mypartition and /fstab references > 3) mke2fs -L /home -c /dev/hda'n > 4) move over old contents of /home and reclaim my extra drive > I assume all youi want to do is move the contents of the /home partition on hdb disk to a directory called /home on the hda disk. This will just be a directory on hda not a new partition. So this should work: 1. crerate a directory on hda called /newhome for example. 2. Copy the contents of /home on hdb to this new directory using cp or tar. 3. umount /home 3. remove the /home entry from fstab. 4. rename /newhome directory to /home and you should be all set.
Step 4 and 3 might be reversed to avoid any interim errors where no /home directory exists. -- ------------------------------------------- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200 telephone: (210)-999-7484 email:[EMAIL PROTECTED] _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list