硬盘不能自动挂载
具体弹出的信息如下:
$LogFile indicates unclean shutdown (0, 0)
Failed to mount '/dev/sdb1': 操作不支持
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/sdb1 /media/sdb8 -o force
Or add the option to the relevant row in the /etc/fstab file:
/dev/sdb1 /media/sdb8 ntfs-3g force 0 0
NTFS在windows系统下没有正常卸载,例如直接拔掉移动硬盘,例如非正常关机。导致ubuntu不敢随便加载。
打开windows系统,插入移动硬盘,正常卸载它,然后再插入ubuntu系统中,问题即可解决。
另外可以使用 sudo mount -t ntfs-3g /dev/sdb1 /media/sdb8 -o force 强行手动挂载。
EG.
han@han-laptop:/media$ sudo mount -t ntfs-3g /dev/sdb2 /media/02 -o force
$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.
fuse: failed to access mountpoint /media/02: 没有该文件或目录
han@han-laptop:/media$ sudo mount -t ntfs-3g /dev/sdb3 /media/03 -o force
$LogFile indicates unclean shutdown (0, 0)
WARNING: Forced mount, reset $LogFile.
fuse: failed to access mountpoint /media/03: 没有该文件或目录
han@han-laptop:/media$ ls -l
总用量 32
drwx------ 12 han root 8192 1970-01-01 08:00 01
drwxrwxrwx 1 root root 12288 2009-03-28 15:45 02
drwxrwxrwx 1 root root 8192 2009-03-28 16:00 03
lrwxrwxrwx 1 root root 6 2009-03-30 21:31 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2009-03-30 21:31 cdrom0