LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1021|回复: 14

Mount问题,高手请指导!!!

[复制链接]
发表于 2005-2-25 08:59:29 | 显示全部楼层 |阅读模式
如果你的windows分区有ntfs格式的,要使linux支持ntfs格式,你可以通过编译内核实现,但最简单的方式是通过安装支持ntfs的rpm包实现.
http://rpm.pbone.net/index.php3/stat/11/vendor/1620 下载相应内核的rpm,我的rh9是kernel-ntfs-2.4.20-8.i686.rpm.然后单击右键,在快捷菜单里选择在此打开终端.在终端中输入 rpm -ivh kernel-ntfs-2.4.20-8.i686.rpm即可.(rpm为安装rpm包的命令,参数i 为显示软件包的相关信息,v 为显示命令执行过程,h为软件包安葬时列出标记

详见:
http://www.linuxdby.com/showthread.php?t=1221&page=3
__________________________________________________________

我按照上面的描述做了,但mount还是会出现如下问题

[root@home-me root]# mount -t ntfs /dev/hde8 /mnt/c
mount: fs type ntfs not supported by kernel

__________________________________________________________

这一问题我用Google搜了N次了,始终没接决问题 5555555555555!!!!!
发表于 2005-2-25 12:37:58 | 显示全部楼层
Do not rely on kernel's limited support, use captive.

http://www.jankratochvil.net/project/captive/
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-9 20:51:44 | 显示全部楼层
Post by d00m3d
Do not rely on kernel's limited support, use captive.

http://www.jankratochvil.net/project/captive/

谢谢,今天晚上试试...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-10 07:25:44 | 显示全部楼层
Post by d00m3d
Do not rely on kernel's limited support, use captive.

http://www.jankratochvil.net/project/captive/


我用以下命令安装上面网址中提到的软件,但还是提示无法加载.
# rpm -ivh captive-static-1.1.5-0.i386.rpm
warning: captive-static-1.1.5-0.i386.rpm: V3 DSA signature: NOKEY, key ID 44fc7632
Preparing...                ########################################### [100%]
   1:captive-static         ########################################### [100%]
# mount -t ntfs -o iocharset=gb2312,codepage=936 /dev/hda7 /mnt/winf
mount: fs type ntfs not supported by kernel
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-11 12:24:37 | 显示全部楼层
今天再顶一下
回复 支持 反对

使用道具 举报

发表于 2005-3-12 07:28:17 | 显示全部楼层
Captive is the interface between Linux and the windoze drivers in such your Linux uses the original M$ drivers to perform the read and write operations.

After you have installed captive, you need to copy some files from your M$ partition.  The captive document has described which files to copy.  Alternatively, you may run the captive-install-acquire scripts so that the system do it automatically for you.
Installation Notes

You should first run captive-install-acquire command to check your available Microsoft Windows drivers versions. Now you can execute:

    # mkdir /mnt/dosc
    # mount -t captive-ntfs /dev/hda1 /mnt/dosc

In your case, you can mount your ntfs partition with the following command:

# mount -t captive-ntfs /dev/hda7 /mnt/winf

Clear?
回复 支持 反对

使用道具 举报

发表于 2005-3-12 08:46:25 | 显示全部楼层
Oh, yes.  You said you cannot mount the ntfs partition at the moment, so the captive-install- acquire script will not work for you.

In this case, you have to manually copy the necessary files and store them in a floppy or USB flash disc.  The files are:

c:\windows\system32\drivers\ntfs.sys
c:\windows\system32\ntoskrnl.exe

After reboot your Linux, become root and copy these files to /var/lib/captive/ directory.  Then, run:

#modprobe lufs
#mount -t captive-ntfs -o rw /dev/xxx /mnt/yyy
回复 支持 反对

使用道具 举报

发表于 2005-3-14 08:51:56 | 显示全部楼层
Post by d00m3d
Oh, yes.  You said you cannot mount the ntfs partition at the moment, so the captive-install- acquire script will not work for you.

In this case, you have to manually copy the necessary files and store them in a floppy or USB flash disc.  The files are:

c:\windows\system32\drivers\ntfs.sys
c:\windows\system32\ntoskrnl.exe

After reboot your Linux, become root and copy these files to /var/lib/captive/ directory.  Then, run:

#modprobe lufs
#mount -t captive-ntfs -o rw /dev/xxx /mnt/yyy

你这样能解决问题吗?
回复 支持 反对

使用道具 举报

发表于 2005-3-14 09:15:31 | 显示全部楼层
Please make sure you have captive installed properly.
回复 支持 反对

使用道具 举报

发表于 2005-3-14 10:19:56 | 显示全部楼层
即便装载后,好象也不能对NTFS写入吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表