Can I change the /home folder after ubuntu installation? [duplicate]
I had installed Ubuntu 11.10 on a clear 40gb hd, but now i have a 100gb partition that i want to use as a /home folder, is there a problem to simple use fstab to change the mounting point?
I'm thinking to copy/paste all the archives in actual /home folder to this 100gb partition and then change the mounting point in fstab.
Edit: I will not make this because this 100gb partition is ntfs type, so no donuts for me.
Check out the howto: https://help.ubuntu.com/community/Partitioning/Home/Moving
The basic steps are as follows:
- Setup your new partition.
- Backup and edit your
fstab
file (/etc/fstab
) to mount the new partition as/media/home
(just for the time being) and reboot. - Use
rsync
to migrate all data from/home
into/media/home
. - Edit
fstab
again so the new partition mounts as/home
instead of/media/home
but not reboot just yet. - Move
/home
to/old_home
and reboot. - Delete
/old_home
.