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

Is there a command to mount a folder from one partition to my main partition?

Example of what I'd like to do, which obviously doesn't work:

mount /media/tc1/folder /home/dvad/home

If not by using a command, is there another way I can do this?

share|improve this question
up vote 38 down vote accepted

Yes but before I go that far, couldn't you just symlink?

ln -s /media/tc1/folder ~/home

This link is just a file that is interpreted. It is automatically permanent (until you delete the file).

Failing that you can use mount as you described but the syntax is slightly different:

mount --bind /media/tc1/folder /home/dvad/home

This is not permanent at all, and will be nuked by a restart. If you want it to persist, you'll need something in your /etc/fstab like this:

/media/tc1/folder    /home/dvad/home    none    bind

If you're trying a mount and it's not working, you should make sure that the block-level device is mounted. You can't directly mount a subdirectory of a partition without first mounting the partition.

share|improve this answer
yup symlink worked, thanks for the help! – user100541 Oct 24 '12 at 18:16
Thanks for the fstab trick. I use mount --bind to "link" folders into a users home folder that I expose to my friends (symlink doesn't play well with chroot) and now I don't have to re-do it or run a script that does it after each reboot. Not sure why I didn't think of using fstab before as I use it for all my media drives. Thanks again! – JoshStrange Oct 31 '14 at 15:31
mount --bind source destination – Michel Samia Nov 27 '14 at 14:03
mount --bind is useful in chroot'ed environment - since symlinks doesn't work there. – abyss.7 Nov 20 '15 at 10:46
I'm trying a mount and it's not working, and I made sure the partition is mounted. What might be going on? – Marc.2377 Jul 3 at 11:08

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.