Re: Moving /home to new Parition

2000-03-24 Thread Brian Lavender
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,

Re: Moving /home to new Parition

2000-03-24 Thread Antonio Fiol BonnĂ­n
Assuming you have a /mnt/tmp directory, you can do: mount /dev/hda12 /mnt/tmp cp -dpR /home/* /mnt/tmp Then you check that everything is on the right place, and that I have not given you the wrong cp command (verify symlinks for example). Check also that each file belongs to the right user and ha

Re: Moving /home to new Parition

2000-03-24 Thread Andrew Sullivan
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 mountpoin