NTFS在Linux中的使用,如何在LINUX增加对NTFS的操作



1.如果需要支持USB HDD,则需要在内核配置中选上

Device Drivers--->

SCSI device support--->

SCSI disk support

[*] SCSI low-level drivers--->

2.如果是NTFS格式,则需要在内核配置中选上

File systems--->

DOS/FAT/NT Filesystems--->

NTFS file system support

[*] NTFS write support

命令:mount –t ntfs /dev/sda1 /mtd/

如果出现如下错误:

NTFS-fs error (device sda3): load_system_files(): Volume is dirty.Mounting read-only.Run chkdsk and mount in Windows.

则需要挂在windows下对硬盘进行磁盘检查。

3.如果需要支持中文字符,则需要在内核配置中选上

File systems--->

-*- Native language support--->

NLS UTF-8

4.以上步骤执行完毕后,可以挂载NTFS格式的USB HDD,但只能读不能写,写NTFS需要用到ntfs-3g,下载链接:

在安装ntfs-3g之前,还需要用到fuse(或者在内核编译时选上 Filesystem in Userspace support),下载链接:

下载完成后按如下步骤操作:

tar -xvzf fuse-***.tar.gz

cd fuse-***

./configure --host=arm-hisi-linux --target=arm-hisi-linux

--with-kernel=/mnt/HI3520/Hi3520_SDK_V1.0.6.0.c2/source/os/linux-2.6.24

make

make install

modprobe fuse

tar -xvzf ntfs-3g-***.tar.gz

cd ntfs-3g-***

./configure --host=arm-hisi-linux --target=arm-hisi-linux

--with-kernel=/mnt/HI3520/Hi3520_SDK_V1.0.6.0.c2/source/os/linux-2.6.24

make

make install

5.如果modprobe fuse显示:FATAL: Module fuse not found.有可能是系统还不支持fuse,可按如下方式操作:

问题:在CentOS 5.3上无法挂载NTFS格式的分区,出现如下信息:# mount -t ntfs-3g /dev/sdb1  /mnt/usb/

FATAL: Module fuse not found.

ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root这是由于系统默认的内核并不支持FUSE模块,所以要更新内核。解决办法:# modprobe fuse

FATA: Module fuse not found.先查看系统的内核版本:# uname –r

2.6.18-128.el5因为系统默认的内核并不支持FUSE模块,所以需要更新内核。可以用 yum install kernel*方式来更新。如果你要节约点时间的话可以只更新一下的几个包:kernel-devel

kernel

kernel-headers更新后,重新启动操作系统,其内核版本是:# uname –r

2.6.18-194.11.3.el5之后一切正常,即可挂载NTFS格式的分区。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值