我在编译内核时已经把支持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