Automount an NTFS Partition
As I have a Windows-Ubuntu side-by-side installation with a boot menu, I still store a lot of data on the NTFS partition. I know, I know…
Ubuntu endeavours to give satisfaction, so you can see all detected storage devices in the “Main Menu” under “Places”. Click your NTFS partition, and it’s mounted automatically to /media/disk/.
But if you want to access these files from another program before clicking it in “Places”, it does not work. So I googled “automount ntfs partition” and there it was.
I added the following line to “/etc/fstab”:
# <file system> <mount point> <type> <options> <dump> <pass> /dev/sda1 /media/disk ntfs users,defaults,umask=000 0 0
I rebooted. I did not work. It took me a few days until I realised one cannot mount something in a non-existent directory. When you click your NTFS partition in “Places”, Ubuntu not only mounts it, but creates the mount-point directory “/media/disk” first. But just adding something to “/etc/fstab” does not create directories. People would talk. Eyebrows would be raised.
After a
sudo mkdir /media/disk
and a reboot it worked perfectly.
This must be ridiculously obvious to a Hacker, but the post may help a Newbie or two like myself.
Tnaks you very much! YES!
It helps for me, too, and yes this is needed for a newbie!
Thanks again!
Még jobb megoldás az ubuntu install közben beállítani…
You saved my day, thanks a lot from a Mint 8 newbie.
And judging by the extensive googling that was necessary to finally stumble across your solution this seems to not so obvious to even more experienced advisors in the usual forums.
I endeavour to give satisfaction, sir