How to install and enable the fuse NTFS-3g driver. The fuse NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support. It provides safe and fast handling of the Windows XP, Windows Server 2003 and Windows 2000 file systems. Most POSIX file system operations are supported, with the exception of full file ownership and access right support.

Applicable to Centos Versions:

  • Centos 5.x

Requirements

Explanation of requirements.

  1. You need RPMForge repo installed and configured.

Doing the Work

This howto assumes you are the root user on the system.

  1. You need to install fuse-ntfs-3g
  2. Once the ntfs-3g is installed you need to set up the mount point.
  3. Now you need to locate your windows partition, do this with the following command.
  4. That command should return something similar to the following.
  5. Now an entry is needed in the files system table, to do so enter the following.
  6. Now in the vi text editor make and entry similar to the follwing as the last line of the file. (hint: use i for insert)
  7. Now you need to mount your new partitions.
  8. Close the terminal.
  9. Your Windows partition should now be available in Nautilus under “/mnt/windows”.

Troubleshooting

How to test

Explanation troubleshooting basics and expectations.

  1. Use Nautilus and browse your newly mounted Windows directory.
  2. If the filesystem has been mounted already, fstab will need to be re-read and the drive re-mounted. The principle is that the fstab is only read when the drive is being mounted thus any changes to the fstab on an already mounted drive will result in the changes happening on the next mount and/or on reboot. To unmount an already incorrectly mounted drive at /mnt/windows do the following:
  3. If you have SELinux turned on you will have to redo the mount commands. a simple alternative is to disable SELinux temporarily.
  4. Change your file to look similar to this one
  5. Another way to bypass this is to manually mount it on boot and maintain SELinux
  6. Your file should look like this
  7. Add this line at the end of the file
  8. This should auto mount your windows partition while maintaining SELinux for security reasons.

Common problems and fixes

Describe common problems here, include links to known common problems if on another site

  • You may have problems with SELinux. This is currently getting fixed. Red Hat Bugzilla

More Information

Any additional information or notes.

Disclaimer

We
test this stuff on our own machines, really we do. But you may run into
problems, if you do, come to #centos on irc.freenode.net

Added Reading

Last Modified: 17 Oct, 2010 at 19:27:37