Home > posts > Automount an NTFS Partition

Automount an NTFS Partition

August 14th, 2009 subogero

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.

Categories: posts Tags: , ,
  1. gyuri
    January 17th, 2010 at 14:50 | #1

    Tnaks you very much! YES!
    It helps for me, too, and yes this is needed for a newbie!
    Thanks again!

  2. January 17th, 2010 at 16:02 | #2

    Még jobb megoldás az ubuntu install közben beállítani…

  3. Jochen
    January 31st, 2010 at 05:58 | #3

    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.

  4. January 31st, 2010 at 18:25 | #4

    I endeavour to give satisfaction, sir :-)

Comments are closed.