Hero Inc.

where heroes are an everyday occurrence

Feb-24-2008

NTFS Support

NTFS file system is Windows based and not for Linux. However, I had an extra internal hard drive that housed my media that would need to be read by Linux. The first thing would be to mount this new hard drive so that Linux knew that it existed.

From the konsole, I used the following command to mount the hard drive:

mount -t ntfs /dev/[LOCATION] /mnt/[HD_NAME]

This worked perfectly, but I still had two issues.

  1. The drive was not mounted after restart
  2. The drive was read only

To fix the first problem, I had to modify the fstab file located under /etc. Add a line similar to the following to allow the drive to always mount on startup:

/dev/hdb1 /[LOCATION_TO_MOUNT] ntfs-3g defaults,sync,locale=en_US.UTF-8 0 0

NTFS support does not usually come with Linux oob, but you can download a simple program to take care of this. ntfs-config will allow write priveleges through Linux. Additional configurations may also be needed, but this should get you 90% of the way to writing to an ntfs formatted drive.

UPDATED 02/26/2008: Use optional parameter text above instead of the strikethrough that was previously used in the post. Thanks Stuart for the suggestion.

Posted under Linux

Add A Comment

If you would like to track when new comments have been made, subscribe to the Comments Feed.