mount-ntfs.rst
changeset 1 743f7a15697a
child 8 4d076dec0047
equal deleted inserted replaced
0:0e4335f01909 1:743f7a15697a
       
     1 -*- mode: outline; coding: cp1251 -*-
       
     2 
       
     3 * Debian etch.
       
     4 
       
     5 Find your ntfs partition:
       
     6 
       
     7   $ sfdisk -l
       
     8 or
       
     9   $ fdisk -l
       
    10 
       
    11 ** Read only.
       
    12 
       
    13 As root:
       
    14 
       
    15   $ mount -t ntfs -o ro,utf8,umask=333 /dev/sd<x><y> /mnt/ntfs
       
    16 
       
    17 where <x> is drive letter as [a-z], <y> is partition number as [1-4]|5|6|...
       
    18 
       
    19 ** With write access.
       
    20 
       
    21 Install ntfs-3g. It can be found in sid (backports).
       
    22 To do that install packages `fuse-utils', `libfuse2', `libntfs-3g', `ntfs-3g'
       
    23 (in such order).
       
    24 Add some thing like
       
    25 
       
    26   deb http://www.backports.org/debian etch-backports main
       
    27 
       
    28 to /etc/apt/source.list to get access to backported packages and update package database:
       
    29 
       
    30   $ apt-get update
       
    31 
       
    32 and install throw aptitude packeges. Also you can manually download and install this
       
    33 packeges throw `dpkg --install'.
       
    34 
       
    35 Users from `fuse' group can now mount NTFS volume:
       
    36 
       
    37   $ mount -t ntfs-3g -o rw,utf8,force,gid=windir,dmask=002,fmask=113 /dev/sd<x><y> /mnt/ntfs
       
    38 
       
    39 For help see NTFS-3G(8).