No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Mount the NTFS file system in the Linux

Publication Date:  2012-12-13 Views:  140 Downloads:  0
Issue Description
1. There can’t mount the NTFS file system in the Linux and prompt: “ount: unknown filesystem type ‘ntfs’”.
2. The NTFS file system mounted in the Linux hasn’t the read write permission.

Alarm Information
None
Handling Process
1. Check the kernel of the operating system:
     #uname –a
2. Access on the “http://www.linux-ntfs.org” to download the rpm packet corresponding with the kernel version, or find it in the installation resource. Make sure it is matching with the kernel version of the operating system, and it must match the hardware structure too.
3. Install the rpm packet:
# rpm -ivh kernel-ntfs-xxxx.rpm
4. Validate whether the Linux supports the NTFS file system:
#lsmod |grep ntfs

         #cat /proc/filesystems
If there has ntfs, we can go on to implement the following work.
5. Mount the ntfs partition:
  # mount –t ntfs –o nls=utf8,umask=000 /partition  /your/mount/point
6. Check the file system which has mounted:
  # df -k
7. Obtain the write permission.
The NTFS file system mounted as the above 5th step is reading only. We can’t make it to be writeable through adding the “umask” parameter in the mount command line. In order to make it’s feasible to write data to the NTFS partition in the Linux, we can implement as followed:
Firstly, install the NTFS writeable module:
In the website “http://sourceforge.net/project/showfiles.php?group_id=121684&package_id=132802”, download the fuse module (FUSE (Filesystem in Userspace) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. FUSE also aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.)
# tar –zxvf fuse-xxxx.tar.gz
# cd fuse-xxxx
# ./configure
# make
# make install
# lsmod
# modprobe fuse

Download the ntfs-3g installation packet corresponding with the system version from the “http://www.ntfs-3g.org”.
(The NTFS-3G driver is an open source, freely available read/write NTFS driver for Linux, FreeBSD, Mac OS X, NetBSD, and Haiku. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000 and Windows Vista file systems. Most POSIX file system operations are supported, and full file ownership and permission support is also coming along fast.)
# tar –zxvf ntfs-3g-xxxx.tar.gz
# cd ntfs-3g-xxxx
# ./configure -–enable-fuse-module
# make
# make install
# mount –t ntfs-3g /partition /your/mout/point
Root Cause
1. The system hasn’t been installed in a secure way.
2. The Kernel hasn’t the module which supports the NTFS file system.

Suggestions
You can also refer to the corresponding measures in the network or re-edit the kernel which supports the NTFS format, it’s common online.

END