mount-ntfs.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 03 Jan 2021 23:37:00 +0200
changeset 2492 bd3d45148652
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Fixed example.

.. -*- coding: utf-8; -*-

======
 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)``.