Mount NTFS file system in Linux



Most of the linux distributions come without NTFS support. For adding NTFS support to linux we use NTFS-3G driver. The NTFS-3G driver is a free and commercially available and supported read/write NTFS driver for unix-type (Linux) operating systems. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 file systems.



The latest stable version of NTFS-3G can be found at http://www.ntfs-3g.org/


NTFS-3G uses FUSE lib ( Filesystem in Userspace ). FUSE provides set of functions to implement file system in a userspace program.
The latest version of FUSE can be found at http://fuse.sourceforge.net/
Installation:
Download NTFS-3G and FUSE from above links
Untar FUSE
Install fuse with following command


#./configure
# make
# make install
# modprobe fuse


Untar NTFS-3G package then type


#./configure
# make
# make install
If there is no error in the installation, ntfs drive can be mounted in read/write mode
mount the drive with -t ntfs-3g option as follows:
# mount /dev/sda1 -t ntfs-3g /mnt/win

0 comments:

Post a Comment