NTFS support is not enabled in the GENERIC kernel.

        -Otto

On Sun, Mar 06, 2011 at 10:18:45PM -0700, Anthony J. Bentley wrote:

> Hi,
> 
> When I attempt to mount a NTFS-formatted external drive, it fails:
> # mount -t ntfs /dev/sd2i /media/usb/
> mount_ntfs: /dev/sd2i on /media/usb: Invalid argument
> 
> There is a note about this under BUGS in mount_ntfs(8):
> 
>   If the attempt to mount NTFS gives you an error like this:
>   
>         # mount -t ntfs /dev/wd0k /mnt
>         mount_ntfs: /dev/wd0k on /mnt: Invalid argument
>   
>   make sure that the appropriate partition has the correct entry in the
>   disk label, particularly that the partition offset is correct.  If the
>   NTFS partition is the first partition on the disk, the offset should be
>   '63' (see disklabel(8)).
> 
> However, disklabel already says 63 for the argument, so this seems
> not to apply. Also, the size entry matches fdisk output and the type
> is (obviously) NTFS.
> 
> Any ideas of what to debug? Is this a PEBKAC?
> 
> fdisk:
> Disk: sd2     geometry: 14593/255/63 [234441648 Sectors]
> Offset: 0     Signature: 0xAA55
>             Starting         Ending         LBA Info:
>  #: id      C   H   S -      C   H   S [       start:        size ]
> -------------------------------------------------------------------------------
>  0: 07      0   1   1 -  14592 254  63 [          63:   234436482 ] NTFS      
>   
>  1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused    
>   
>  2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused    
>   
>  3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused    
>   
> 
> disklabel:
> # /dev/rsd2c:
> type: SCSI
> disk: SCSI disk
> label: HM121HC         
> duid: 0000000000000000
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 14593
> total sectors: 234441648
> boundstart: 0
> boundend: 234441648
> drivedata: 0 
> 
> 16 partitions:
> #                size           offset  fstype [fsize bsize  cpg]
>   c:        234441648                0  unused                   
>   i:        234436482               63    NTFS                   

Reply via email to