Mounting ntfs drive in Linux

Debian System

The process has two dependencies, ntfs-3g and libfuse 2. You will need these two packages installed before you begin the process. Ntfs-3g is a third party package that allows reading and writing to ntfs drives, which is the holy grail for me right now!

apt-get install libfuse2
apt-get install ntfs-3g

The first step is to ensure your Debian system ‘sees’ the ntfs drive. You’re not going to be able to mount anything if Linux can’t see it.
fdisk -l | grep NTFS

You should then see something like;
/dev/hda1   *           1       14387   156288421+    7  HPFS/NTFS

So now we know your ntfs drive is located on hda1. Check it isn’t mounted already by typing;


Now to manually mount the drive use the following approach –

mkdir /media/windows

mount –t ntfs-3g /dev/hda1 /media/windows

This last command mounts hda1 with ntfs-3g in the /media/windows directory.

Now here is a very important step that had me stumped for ages. Unmounting the ntfs drive.
umount /dev/hda1

Here is another little trick to auto mount it whenever the system starts. To do this we have to modify a file called fstab. Be very careful!!!! If you damage this file it will not boot.

Modify the file in your text editor of choice and add the line;
/dev/hda1 /media/windows ntfs-3g defaults 0 0

Redhat system

Open yum.conf with any editor and Scroll down and enter the following in yum.conf:

# Linux-NTFS-Repository


name=Linux-NTFS Install



save and exit from the file.
Next Install the linux-ntfs driver by typing “sudo yum install linux-ntfs” in the terminal


install the ntfs-3g package which will give you the NTFS support. Type “yum install fuse-ntfs-3g” and give the answer “Yes” if you are prompted for an encryption key or to install package.
Restart the system by typing “/sbin/shutdown -r now” in the console.

Check the new partition list by typing “sfdisk -l” and looking for a partition type that says “NTFS.”


2 Responses to “Mounting ntfs drive in Linux”

  1. virus Says:

    after all these how can i access the file tell me this plz in my email id

  2. Tabitha Joyce Says:

    Linux newb here and I’m finally throwing in the towel. I can’t mount an NTFS Windows XP partition in another drive even after install fuse-ntfs-3g. Please help! Thanks!Here are the details:[ root@localhost ~]# fdisk -lDisk /dev/hda: 163.9 GB, 163928604672 bytes255 heads, 63 sectors/track, 19929 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 13 104391 83 Linux/dev/hda2 14 19929 159975270 8e Linux LVMDisk /dev/sda: 250.0 GB, 250059350016 bytes240 heads, 63 sectors/track, 32301 cylindersUnits = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 16254 122880208 7 HPFS/NTFS/dev/sda2 16255 32301 121315320 f W95 Ext’d (LBA)/dev/sda5 16255 32301 121315288 7 HPFS/NTFS[ root@localhost ~]# yum install fuse fuse-ntfs-3g Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * addons: * base: * extras: * updates: mirror.5ninesolutions.comSetting up Install ProcessPackage fuse-2.7.4-8.el5.x86_64 already installed and latest versionNo package fuse-ntfs-3g available.Nothing to do[ root@localhost ~]# mount /dev/sda1 /mnt/windows/mount: unknown filesystem type ‘ntfs’Any ideas?!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: