您的位置:首页 > 其它

谁动了我的NTFS?--解决Ubuntu7.10下无法自动挂载NTFS

2008-01-28 22:52 411 查看
历尽千辛万苦,终于将Ubuntu7.10安装在了我那老爷车上(此处省略千字左右),支持NTFS写入,超炫的视觉特效...诸多新特性,让我用的不亦乐乎。

但昨天,当我再次进入Ubuntu,却发现,系统的所有NTFS分区都没有被自动挂载。开始以为是系统不稳定造成的,重启,依旧找不到分区的影子。

这个不是问题,开FF,搜索!嗯,好多相关的文章,其中提到的最多的是有关fstab文件的修改,fstab文件是系统启动后自动挂载硬盘分区的配置文件,因此,大部分问题都是由他引起的。

于是照文章说的,使用 ls -l /dev/disk/by-uuid 命令对比文件中的UUID值,但对比之后没有发现任何异常情况。

看来不是UUID值导致的无法挂载。经过反复试验,发现,使用mount命令,可以手动挂载NTFS分区,但如果使用

umount -a
mount -a

则会提示类似

$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sda1': Operation not supported
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/sda1 /media/sda1 -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sda1 /media/sda1 ntfs-3g defaults,force 0 0

的错误,仔细阅读之后,突然想起进入Ubuntu之前,Windows 2003是非法关闭的(一张烂盘导致死机之后,就没有再次进Windows系统)。

重启进入Windows,然后正常关机重启,进入Ubuntu,分区又能自动挂载了!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: