How to move the home directory to another partition?

I created a partition in my hard disk for my data (documents, multimedia, etc.).
How can I:

  1. Move the /home/ directory to the new partition
  2. Make the OS (Ubuntu Linux) treat that directory as the default /home/.

Answer

Basically, you just move all the stuff in /home to the new partition and then mount that partition at /home by editing the /etc/fstab file.

See here for a walk through.

Attribution
Source : Link , Question Author : lamcro , Answer Author : Neal

Leave a Comment