mount-ntfs.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

======
 NTFS
======
.. contents::
   :local:

Debian etch
===========

Find your ntfs partition::

  $ sfdisk -l

or::

  $ fdisk -l

Make read only
==============
::

  $ sudo mount -t ntfs -o ro,utf8,umask=333 /dev/sd<x><y> /mnt/ntfs

where <x> is drive letter as [a-z], <y> is partition number as [1-4]|5|6|...

With write access
=================

Install ntfs-3g. It can be found in sid (backports). To do that install packages
``fuse-utils``, ``libfuse2``, ``libntfs-3g``, ``ntfs-3g`` (in such order). Add
some thing like::

  deb http://www.backports.org/debian etch-backports main

to /etc/apt/source.list to get access to backported packages and update package
database::

  $ apt-get update

and install throw aptitude packeges. Also you can manually download and install
this packeges throw ``dpkg --install``.

Users from ``fuse`` group can now mount NTFS volume::

  $ mount -t ntfs-3g -o rw,utf8,force,gid=windir,dmask=002,fmask=113 /dev/sd<x><y> /mnt/ntfs

For help see ``ntfs-3g(8)``.