SDB:NTFS

Jump to: navigation, search
NTFS stands for New Technology File System used in Windows operating systems.
To prevent file system damage, any NTFS partition with errors will be mounted as read only. To correct this you will need to boot Windows and run chkdsk.
Icon-warning.png
Warning: Be very careful if you mount the partition your Windows operating system is installed on. NTFS partitions mounted in Linux are not protected by permissions present in Windows, so it is possible to accidentally delete critical operating system files.

Manually mounting NTFS partitions

Reading and writing to NTFS partitions is supported by default through the ntfs-3g driver, but NTFS partitions are not automatically mounted.

To manually mount an NTFS partition, click it in your desktop environment's file manager.


Automatically mounting NTFS partitions

To automatically mount an NTFS partition, you will need to add an entry for it in the fstab file.

Use the following procedure to automatically mount an NTFS partition with full read and write access:

  1. Run the command sudo blkid in a terminal and note the UUID of the NTFS partition you want to create an entry for
  2. Create a directory for each NTFS partition you want to mount (for example, sudo mkdir -p /ntfs/C)
  3. Open /etc/fstab with a text editor as root (for example, in KDE you could do this with the command kdesu kate /etc/fstab in a terminal)
  4. Create an entry in the fstab file (following the format of existing entries in the file) using the UUID you found in Step 1, the path to the directory you created in Step 2, ntfs-3g as the file system, and defaults 0 0 as the parameters
  5. Save the file and reboot your computer

For example, your UUID line might look something like this:

UUID=01D4C2D9B9214530 	                   /ntfs/C  		       ntfs-3g 	defaults                    0 0

External links