Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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'm running Linux ( Ubuntu 11.10 ) and Windows ( 7 ) on the same system on two partitions.

So I have this folder in Windows:


And I created this folder in Linux:


Now trying to do something like this:

sudo mount /media/ACER/Users/Me/Folder /mnt/Folder

This doesn't work. I'm guessing it has to do with that one can only mount a media and not folders. Anyhow. Is there some way to do this?

share|improve this question

migrated from Mar 4 '12 at 9:14

This question came from our site for professional and enthusiast programmers.

Try… abd in the fstab..specify the folder – abhishek Mar 4 '12 at 12:01
up vote 2 down vote accepted

Assuming your C: Windows drive is already mounted under /media/ACER, you can create a symbolic link to the subdirectory you're interested in:

$ sudo ln -sf /media/ACER/Users/Me/Folder /mnt/Folder

The -s option tells ln to create a symlink instead of a hard link, and the -f option instructs it to replace /mnt/Folder if it exists, so you won't have to delete it beforehand.

share|improve this answer

You can always mount a drive(aka Paritition, Filesystem) into some folder and not one folder in another.

So in this case, you will need to mount your entire C: or D: to your folder.

In Linux, this folders are seen as /dev/sda1 or /dev/sdb3 or anything depending upon your drive creation and kinds of devices that you used.

to know more about your partitions, you can execute fdisk -l

to know about your already mounted partitions you can do : df -h (h for human readable)

One you have identified, which is your correct partition, like is it /dev/sda1 or /dev/sda2 you can mount them in this way:

sudo mount /dev/sda1 /path/to/your/folder

share|improve this answer

You could create a shared mount point. The advantage over creating a symbolic link would be if you unmount the windows folder this would not leave you with a broken symbolic link which is a security issue. To create a shared mount you first have to "mark" the mount point you are using as shared:

mount --bind /media/ACER/Users/Me/Folder /media/ACER/Users/Me/Folder
mount --make-shared /media/ACER/Users/Me/Folder

now bind a duplicate to /mnt like this

mount --bind  /media/ACER/Users/Me/Folder /mnt/Folder

You can read more about shared mount points in the red hat documentation you can find it here

This should also work for ubuntu i tested it on my debian machine:

root@Alucard:~# mount --bind /media/DATENKORB/ /media/DATENKORB/
root@Alucard:~# mount --make-shared /media/DATENKORB/
root@Alucard:~# mkdir /mnt/DATENKORB
root@Alucard:~# mount --bind /media/DATENKORB/ /mnt/DATENKORB/
root@Alucard:~# cd /mnt/DATENKORB/
root@Alucard:/mnt/DATENKORB# ls
>> DSC_4988.JPG  _MG_6326.geaendert.JPG
root@Alucard:/mnt/DATENKORB# touch test
root@Alucard:/mnt/DATENKORB# cd /media/DATENKORB
root@Alucard:/media/DATENKORB# ls
>> DSC_4988.JPG  _MG_6326.geaendert.JPG  test
share|improve this answer

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.