Activities

February 2011
M T W T F S S
« Jan   Mar »
 123456
78910111213
14151617181920
21222324252627
28  

How do I mount NTFS partition in Linux

This is a very rare senario somebody wants to access the NTFS file system from the same desktop. But it would be helpful for most of the laptops users those who has duel boot system.

Let me explain my senairo,

My Windows XP got infected with virus and I need to have the immediate internet access to check some server issue securely. Most of the passwords, configurations files stored on ntfs partition. So I’m trying to access those files from my Centos box.

Here I go,
We need two packages,

a. fuse
b. ntfs-3g

[root@web-test1 ~]# wget http://easynews.dl.sourceforge.net/sourceforge/fuse/fuse-2.7.1.tar.gz
[root@web-test1 ~]# cd fuse-2.7.1
root@web-test1 fuse-2.7.1] ./configure –exec-prefix=/; make; make install

[root@web-test1 ~] wget http://tuxera.com/opensource/ntfs-3g-2011.1.15.tgz
[root@web-test1 ~] tar -zxvf ntfs-3g-2011.1.15.tgz
[root@web-test1 ~]./configure;make;make install

Tha’t it . You almost done !!

Steps to mount ntfs file system with full access,
#fdisk -l | grep “NTFS” this commad will show you the disk information of NTFS partition.
#mkdir /mnt/wind_d
#mount -t ntfs-3g /dev/sda2 /mnt/win_d
this will mount your windows drive on linux under “mnt”
# mount -a –> Show all mount points
# umount /mnt/win_d —> unmounting the ntfs file system

if you want to mount this partition all the time,
edit /etc/fstab and added the entry manually, like as below,

/dev/sda2 /mnt/win_d ntfs-3g defaults 0 0

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>