嵌入式linux ntfs,嵌入式linux挂载ntfs设备问题

我在编译内核时已经把支持ntfs 功能选上,

内核启动后:fdisk -l (可以看到)

/dev/hda5            1276        7649    51199123+   7  HPFS/NTFS

/dev/hda6            7650       19456    94839696    7  HPFS/NTFS

挂载时:

/ $ mount -t ntfs /dev/hda6 /mnt/usb/

mount: Mounting /dev/hda6 on /mnt/usb/ failed: No such device

请问可能是什么原因引起,大家帮帮忙!

|

/ $ mount -t ntfs /dev/hda6 /mnt/usb/

mount: Mounting /dev/hda6 on /mnt/usb/ failed: No such device

//$这个符号表示不是root用户的,应该是你打错了,直接用mount /dev/hda6 /mnt/usb试试

确认你的内核把nfs文件系统有关的驱动编译进去了

|

DOS/FAT/NT Filesystems  --->

MSDOS fs support

VFAT (Windows-95) fs support

(437) Default codepage for FAT

(iso8859-1) Default iocharset for FAT

NTFS file system support

[*]   NTFS debugging support

[*]   NTFS write support

我的内核是这样配置的

楼主如果也是这样配置的,就不知道什么原因了,万一查不出问题,在windows下把NTFS转FAT32的再用,这样麻烦些

|

http://topic.csdn.net/u/20090219/10/7e68c54a-f298-42d1-b0fa-323863f80314.html

|

1、安装NTFS模块。

编译后得到的ntfs.o在/usr/src/linux/fs/ntfs目录下,手动将它复制到正确的目录下。

cp /usr/src/linux/fs/ntfs/ntfs.o /lib/modules/2.2.16-22/fs/

注意:千万不能运行命令make modules_install,否则将带来严重的后果,它会删除你系统中的所有模块,只安装刚刚编译的模块(ntfs.o)。

2、载入NTFS模块.

运行命令depmod;modprobe ntfs 试着访问你的NTFS文件系统吧,祝你成功!

|

Linux-NTFS comes with a number of user-space programs known as ntfsprogs.

These include mkntfs, a full-featured ntfs filesystem format utility,

ntfsundelete used for recovering files that were unintentionally deleted

from an NTFS volume and ntfsresize which is used to resize an NTFS partition.

See the web site for more information.

To mount an NTFS 1.2/3.x (Windows NT4/2000/XP/2003) volume, use the file

system type 'ntfs'.  The driver currently supports read-only mode (with no

fault-tolerance, encryption or journalling) and very limited, but safe, write

support.

For fault tolerance and raid support (i.e. volume and stripe sets), you can

use the kernel's Software RAID / MD driver.  See section "Using Software RAID

with NTFS" for details.

|

To mount an NTFS 1.2/3.x (Windows NT4/2000/XP/2003) volume, use the file

system type 'ntfs'.  The driver currently supports read-only mode (with no

fault-tolerance, encryption or journalling) and very limited, but safe, write

support.

|

mount -t utfs -o uls=utf8 /dev/hda1 /mnt/usb

|

mkdir /mnt/usb

mount -t ntfs /dev/hda6 /mnt/usb/

很有可能,你机器上没有/mnt/usb这个目录

|

应该创建个目录mkdir -pv /mnr/usb

mount /dev/hda6 /mnt/usb

|

cat /proc/filesystems

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值