A few words of thanks would be greatly appreciated.

Linux - Accessing NTFS in write mode

The various versions of Linux come with different NTFS drivers.

  • Some can write in NTFS, while others can't (even when they appear RW!)
  • If your NTFS drive does not support write NTFS (eg Knoppix <5.1)
  • You can then use Captive-NTFS.

(under Knoppix 3.4 -These operations are performed as root).

  • Get the ntfs.sys and ntoskrnl.exe files from Windows XP
  • (Do not take those from Windows 2000: It is imperative to make use Windows XP files, even to access NTFS partitions of Windows 2000.)
  • Copy these two files in / tmp
  • In the command line:
captive-install-acquire --text --scan-path=/tmp  

captive-install-fstab --add  

Make a " cat /etc/fstab " to ensure that captive is displayed.

  • To mount your partition, for example (any one):
mount /mnt/hda5   
mount -t captive-ntfs /dev/hda5 /mnt/hda5

Try creating a directory, it should be ok
Beware, the driver does not sync very often.
(Type sync in command line if you want to force writing)

  • It's a slow procedure (about 90 kb / second on a Pentium III 500 MHz).
  • This is due to the Windows emulation layer.
  • If your driver supports NTFS writing NTFS (eg Knoppix 5.1.1)

You can use NTFS-3G.

  • NTFS-3G : https://www.tuxera.com/
  • The NTFS-3G module is capable of direct access to NTFS partitions (write access).
  • On Debian distributions (Ubuntu, etc..) Is the package ntfs-3g
  • Under Knoppix, right-click on your hard> "Change the way of reading / writing" you can write directly on the disc.
  • You can also use the command: mount -o remount,rw /mnt/hda1 to set your disk to read-write mode .
  • Remember to shutdown your system to make sure everything is written to disk.

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Linux - Accessing NTFS in write mode », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).