Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried to create a separate /home partition for all my linux distros and separate all home directories as per the name of the distros i am using like



now, I have copied all the neccessary files to this new location and modified the /etc/fstab to mount this new location as the /home directory

I added this line at the last of the file

/dev/sda10/ubuntu /home ext4 nodev,nosuid 0 2

But the folder is not mounting. I am pretty much just a newbie,so please help me out.

share|improve this question

Instead of adding /dev/sda10/ubuntu /home ext4 nodev,nosuid 0 2 to your /etc/fstab you can add these two lines:

/dev/sda10 /all-homes ext4 nodev,nosuid 0 2
/all-homes  /home none bind 0 0

You need to make the directory with sudo mkdir /all-homes and be sure that there is no other fstab entry that mounts in /home

The bind type in fstab (and as an mount option) makes the kernel "mirror" one folder in to an other and it seems to me that what just what you wanted (btw this approach should work on all modern linux's, as far as I remember from kernel version 2.6 and forward..)

share|improve this answer
Worked like a charm in ubuntu, but not in debian.... there is something wrong with .ICEAuthority – Starx Aug 1 '11 at 0:15
Please look into this question about the problem about Debian – Starx Aug 1 '11 at 3:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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