13

This question already has an answer here:

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.

marked as duplicate by Braiam, user117103, Kevin Bowen, chronitis, Warren Hill Oct 14 '13 at 10:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

25

Check out the howto: https://help.ubuntu.com/community/Partitioning/Home/Moving

The basic steps are as follows:

  1. Setup your new partition.
  2. Backup and edit your fstab file (/etc/fstab) to mount the new partition as /media/home (just for the time being) and reboot.
  3. Use rsync to migrate all data from /home into /media/home.
  4. Edit fstab again so the new partition mounts as /home instead of /media/home but not reboot just yet.
  5. Move /home to /old_home and reboot.
  6. Delete /old_home.
  • 1
    Thank you, your answer is pretty simple and yet so explanatory. – Gustavo Ganso Nov 10 '11 at 1:15
  • I know nothing about the fstab, could you detail what I need to do on it? – Tom Brito Jul 5 '13 at 17:42
  • You need to learn what fstab is, and how to edit it. It's really not that hard. – mikewhatever Jul 5 '13 at 20:45
  • Thanks. Your answer made that linked article less daunting!! – Phani Sep 19 '14 at 15:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.