Creating /home partition
Clive Menzies
clive at clivemenzies.co.uk
Fri Jun 16 14:28:13 UTC 2006
On (16/06/06 14:35), Yorvik wrote:
> Clive Menzies wrote:
> >Format the new partition using fdisk or cfdisk
> >
> >Mount the new partition as something like newhome.
> Done that
> >
> >Copy (or rsync) all files and directories to newhome
> Do I copy the home folder and it's contents or just it's contents?
>
Just the contents
> >
> >Edit /etc/fstab to mount the new partition as /home
> >
> >either reboot or unmount newhome and then do
> >
> ># mount -a
> >
In your other reply you wanted to know about deleting the existing
contents; it's probably not strictly necessary but I would. However, I
would check the new partition works before doing so.
Once you've tested the new setup:
# comment out the line in /etc/fstab which mounts the new partition as
# /home
reboot
make sure the new partition isn't mounted (if you've commented it
correctly it shouldn't be)
Delete all the files in /home
Uncomment the line in /etc/fstab and then:
# mount -a
and you should be hot to trot :)
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
More information about the ubuntu-users
mailing list