How To Automount Windows : NTFS Partition On Linux

Easy way to make NTFS patition automount on Linux - There are of Linux users who dualboot their computers with Windows. Windows usually but not always uses NTFS file format. While we choose Linux as our operating system has to manually mount the drives.

This situation ( to mount ) doesn't take long time but in some situation you prefer to make it automatically mounted when start-up. So this post will tell guide you to do that. Let's start! Check your hard drive partition to look which NTFS partition that we will add to auto-mount. Type and run this command :

# sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002850f
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        7649    61438977    5  Extended
/dev/sda2   *        7650       30401   182754304    7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda5               1         730     5858304   82  Linux swap / Solaris
/dev/sda6             730        7649    55579648   83  Linux

The code under "sudo fdisk -l" are result of the command. We can look at those line which on NTFS partition file format. In this case NTFS located at /dev/sda2. Next, create folder at media folder directory.

sudo mkdir /media/Data

You can replace "Data" with your folder name. Edit file fstab located in etc folder use your favorite text editor. For example I'm using nano :

sudo nano /etc/fstab

We'll see a config code. Add new code at the last of code :

/dev/sda2       /media/Data     ntfs    defaults        0       0

Explanantion :
/dev/sda2 : NTFS partition we will make it automount every startup
/media/Data : Folder location we created before
ntfs : Type of partition

So it would be like this screenshot which taken from my Ubuntu :

How To Automount NTFS Partiotion On Linux

Save by ctrl+o and hit Enter, then close it with press ctrl+x. Finish!

That's all I can write about How To Automount NTFS Partiotion On Linux. Hope you've enjoyed reading this tutorial as much I’ve enjoyed writing it. Please comment with feedback to support us. Thanks for visit.