moving home to it's own partition

Michael Beattie mtbeedee at gmail.com
Mon Aug 22 23:56:41 UTC 2005


you might want to use like

mount /dev/hdb7 /mnt/newhome
cp -Rpi /home/ /mnt/newhome
*make sure everything copied correctly*
umount /mnt/newhome
rm -rf /home/*
mount /dev/hdb7 /home

something like that.  Just be REALLY CAREFUL with the rm's and make
sure you have backups.

On 8/22/05, Martin Ericsson <i00marer at island.liu.se> wrote:
> 
> Hi!
> So far I have had my home folder on the root partition, but now I have
> created a new ext3 onto which I wish to move the home folder.
> 
> I tried to simply copy the files from my old home folder to the new
> folder with nautilus but I got an error message for some mozilla-file.
> Is there a some better way to do it?
> 
> And would the following line be OK in fstab once I have copied the files?
> /dev/hdb7       /home       ext3    defaults        0       1
> 
> Regards,
> Martin Ericsson
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>




More information about the ubuntu-users mailing list