NTFS-3g
NTFS-3G is an open source implementation of the Windows file system "NTFS" developed by Microsoft Corporation. It can be used by Unix-like operating systems to read and write on NTFS formatted hard drives.
Installation
Debian / Ubuntu
The NTFS-3G driver is part of the Debian and Ubuntu Distribution and can be installed via the official repository.
# sudo apt-get install ntfs-3g
Mounting
Boot
If a NTFS volume should mount during boot time, the fstab
(abbreviated from file system table) file must be modified.
Basic structure of the /etc/fstab
file entry for a NTFS volume is:
UUID=[UUID_of_NTFS_Volume] [/mount/directory] ntfs-3g nls=utf8,umask=000,user,owner 0 0
The UUID and the mount directory must be adjusted to meet the system specifications. A special tool helps to identify the UUID of the correct NTFS volume:
# sudo blkid
Afterwards the correct UUID and the mount directory can be placed into the /etc/fstab
file entry.
For example:
UUID=ABCDEF1234567890 /mnt/external ntfs-3g nls=utf8,umask=000,user,owner 0 0
See Also
- [[Samba with NTFS]]
External links
- Tuxera (NTFS-3G) official site
- Blog "Linux Living": "Permissions, Samba Sharing an External NTFS drive, and fstab"
published on 12 Jul 2012
written by Martin Hauser