当前位置: 首页 > 工具软件 > NTFS-3G > 使用案例 >

linux ntfs-3g 卸载,ntfs-3g安装和遇到的问题

奚瑾瑜
2023-12-01

ntfs-3g安装和遇到的问题

发布时间:2007-10-07 00:17:16来源:红联作者:qdtantao

闲来无事,在SuSE系统上安装ntfs-3g,因为看电影时有些文件夹名需要修改一下才能在命令行下进入。

于是安装了:

fuse-2.7.0-19.1

ntfs-3g-1.1004-2.ccj2

ntfs-3g-devel-1.1004-2.ccj2版

(说明:ntfs-3g最新版本到了1.3了,下次试试。)

接下来出现的问题是,当我写完下面两条命令后,出现了一大串错误信息,挂载不成功。

# modprobe fuse

# ntfs-3g /dev/hda5 /windows/D/ -o silent,umask=0,locale=zh_CN.utf8

$LogFile indicates unclean shutdown (0, 1)

Failed to mount '/dev/hda5': 不支持的操作

Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by

clicking on the 'Safely Remove Hardware' icon in the Windows

taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for

your own responsibility. For example type on the command line:

mount -t ntfs-3g /dev/hda5 /windows/D/ -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/hda5 /windows/D/ ntfs-3g defaults,force 0 0

于是根据上面的提示,使用了force参数,倒是成功了。但是心里觉得怪怪的,有些不放心,这样会不会损坏文件系统?

于是到网上搜索一翻,发现了出错的根原:windows系统没有正常关机。仔细一想,还真是这样,上午用windows时ie出错死机,于是强制关机后就一直在使用SuSE10.2。最终进入windows后正常关机,再进入SuSE后,已经挂载成功,可以写删数据了。

# ntfs-3g /dev/hda5 /windows/D/ -o silent,umask=0,locale=zh_CN.utf8,force

$LogFile indicates unclean shutdown (0, 1)

WARNING: Forced mount, reset $LogFile.

WARNING: Deficient Linux kernel detected. Some driver features are

not available (swap file on NTFS, boot from NTFS by LILO), and

unmount is not safe unless it's made sure the ntfs-3g process

naturally terminates after calling 'umount'. If you wish this

message to disappear then you should upgrade to at least kernel

version 2.6.20, or request help from your distribution to fix

the kernel problem. The below web page has more information:

呵呵,解决问题后的心情是蛮爽的。

 类似资料: