Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there,
Here's my problem : I wanted to automount a windows partition using autofs so that i could acces it as a normal user. I followed the instructions that I found somewhere but now not only I can't acces my windows partition but my /mnt folder is empty. Now I can't mount anything and if I try to make other dirs in /mnt i get the following error, even if i'm root :
Well I'm thinking what happened is the /mnt directory has been 'mounted over'. You could check this by doing typing 'mount' to see the currently mounted filesystems. If that does not work, I suggest disabling automount, and rebooting.
A frequently asked question:
Create a mount point like /mnt/windows
Add and entry to your /etc/fstab
For NTFS
/dev/hda1 /mnt/windows ntfs user,umask=222 0 0
FAT32
/dev/hda1 /mnt/windows vfat user,umask=000 0 0
Replace hda1 with the actual partition number. ntfs is limited to read only.
See man pages mount and fstab for additional options and help. You can also find help by search this website.
Note - for Fat32 partitions (using the file type vfat) you need to set the user or group id in the fstab line. Adding uid=xxx to the options where xxx is your user id will make you the owner of the mountede-partition.
Check out info mount for details. The FAT32 file system doesn't have the same attributes as an ext2/3 file system. Also, unless you added support for it, an NTFS file system will be mount read-only.
hmm.. adding my windows partion to fstab was the first thing I tried but I could'nt acces it as a normal user, thats why I tried autofs. Now I retried adding it to fstab and it works perfectly... strange
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.