[blfs-support] Read ntfs file system

Bruce Dubbs bruce.dubbs at gmail.com
Mon Feb 27 13:28:30 PST 2012


spiky wrote:
> On 27/02/12 20:43, Andrew Benton wrote:
>> On Mon, 27 Feb 2012 16:58:53 +0000
>> spiky<martynvidler at aol.com>  wrote:
>>
>>> Hi
>>>
>>> I have stared another Blfs 7.0 build and I,m having trouble with NTFS
>>> file system, I have built the 3.3 kernel marking all ntfs boxes. The
>>> build for blfs doesn't have anything installed except ssl, ssh a few
>>> graphics libraries. What  do I need to add to be able to read ntfs, My
>>> other blfs system reads ntfs but I have installed alot of other
>>> software, so maybe it was something that I had already installed, my
>>> other blfs uses 3.2 kernel FYI
>> To be able to mount an ntfs partition read only requires compiling the
>> kernel with ntfs support. I think you also need to compile in NLS,
>> support for the locale that the filesystem is in. You don't need to
>> install any other software, it's all about the kernel config.
>>
>> Andy
> Hi
> 
> Here is the config file
> 
> #
> # DOS/FAT/NT Filesystems
> #
> CONFIG_FAT_FS=y
> CONFIG_MSDOS_FS=y
> CONFIG_VFAT_FS=y
> CONFIG_FAT_DEFAULT_CODEPAGE=437
> CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
> CONFIG_NTFS_FS=y
> CONFIG_NTFS_DEBUG=y
> CONFIG_NTFS_RW=y
> 
> So i,m not sure why the same usb drive wont mount on my new blfs but 
> will on other 1
> 
> Output of mount -v /dev/sdb
> i will try ntfs
> mount unkown filesystem type ntfs
> 
> mount -v -t ntfs
> just gives mount unkown filesystem type ntfs

Those mount commands are both incomplete.  You need to do

mount -t ntfs -o ro /dev/sdb1 /mnt

assuming the ntfs partition is the 1st partition on the second drive. 
Change to mount point to what you need.

   -- Bruce




More information about the blfs-support mailing list