Mirabella, Mathew J said:
> I have an rh8 installation with the / being mounted on /dev/hda5 and the
> only other main partition apart from a 2gb swap is the /home on /dev/hdb6.
> / and /home are about 20gb each.
> but now i want to use /dev/hdb6 for something else.  how can i assign
> /home to be mounted in /dev/hda5 that is, inside the /.  what i want is to
> use one partition for the lot (except the swap of course). how can i now
> do this with a minimum of fuss and data loss.

log out of all non-root accounts
login as root(preferably at the console rather then X)
make a new mountmount (mkdir /home.old)
umount /home ; mount /dev/hdb6 /home.old
cp -a /home.old/* /home/
umount /dev/hdb6
rmdir /home.old

remove /home entry from /etc/fstab

resume normal operations

nate





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to