First mount your new home partition under a different mount point. # mkdir /mnt/home # mount /dev/hda12 /mnt/home # cd /home # find . -xdev | cpio -pm /mnt/home # mv /home /oldhome
Edit your fstab so that it mounts hda12 as home ie /dev/hda12 /home ext2 defaults 0 2 # init 6 This will reboot, and if all works, your new home should be under /dev/hda12 Now you can safely remove /oldhome # rm -rf /oldhome brian On Fri, Mar 24, 2000 at 11:51:25AM -0800, Dzuy M. Nguyen wrote: > I mounted a new partition /hda12 and use the /home as the mountpoint. > When I go: > > mount /dev/hda12 /home > > I end up with an empty directory. How do I move the current contents > of my /home directory into the new mountpoint /home on /dev/hda12? > > thanks. -- Brian Lavender http://www.brie.com/brian/