How to move the home directory to another partition?

Posted on

Problem :

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/.

Solution :

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.

Leave a Reply

Your email address will not be published. Required fields are marked *