LinuxSir.cn,穿越时空的Linuxsir!

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

如何对NTFS进行写操作?

[复制链接]
发表于 2005-6-21 19:06:03 | 显示全部楼层 |阅读模式
装了kernel-module-ntfs,只有root可以访问NTFS,但是不能写。
普通用户根本没有权限读取。
发表于 2005-6-21 19:33:57 | 显示全部楼层
传说不要写ntfs,写可能会有危险,呵呵
回复 支持 反对

使用道具 举报

发表于 2005-6-21 20:30:44 | 显示全部楼层
编译了内核,把写的module编译进去,还是不能写,郁闷,正想windows挂了,就有借口不用了
回复 支持 反对

使用道具 举报

发表于 2005-6-21 22:04:20 | 显示全部楼层
这是危险的
回复 支持 反对

使用道具 举报

发表于 2005-6-21 23:48:49 | 显示全部楼层
ntfs 的 写,我记得要在内核中选中的。
回复 支持 反对

使用道具 举报

发表于 2005-6-22 06:09:34 | 显示全部楼层
Do not rely on the kernel support for ntfs which is rather limited. To gain full write access to ntfs, please use captive.

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

使用道具 举报

发表于 2005-6-22 06:14:14 | 显示全部楼层
Quoted from http://kanotix.com/files/tutorials/ntfs-using-captive.txt
# su

Mount the Windows XP Partition:

# mount /mnt/hda1

Fetch driver - if there is no Win XP on HD then with a download of about 30 MB size:

# captive-install-acquire

Umount Windows (very important!):

# umount /mnt/hda1

Mount it with captive:

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

Now it is possible to read and write on that partition as root!

Note:

Instead of using captive-install-aquire it is possible to add manually the 4 needed files. I.e. save them onto 2 floppy disks or  USB stick, then copy them manually:

# cd /var/lib/captive/

Copy these files to it:

cdfs.sys
fastfat.sys
ntfs.sys
ntoskrnl.exe

That does the same as using the installer.


The principle of captive is to provide an interface between Linux to use the original M$ driver to do the writing so that you can safely write NTFS partition.
回复 支持 反对

使用道具 举报

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

本版积分规则

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