解决ubuntu不能自动挂载硬盘的方法


今天在使用LINUX的时候,发现我的一个160G的大硬盘不能自动挂载

    具体弹出的信息如下:

    $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

    大概的错误信息就是无法进行挂载

    再这里UBUNTU提供了两种解决方法,第一种是使用WINDOWS的“安全移出硬件”工具进行关闭硬件

    还有一种就是强行挂载

    我采用的就是这个方法

    首先如果还没有设立挂载点的话应该先

    sudo mkdir /media/sdb8

    红字突出的数字写多少都无所谓

    然后进行手动挂载

    在进行这一步之前要检查你的系统是否有 NTFS-3G 一遍来说在7.10以上的版本都应该有,如果没有的话

    sudo apt-get install ntfs-3g

    下一步进行挂载

    sudo mount -t ntfs-3g /dev/sdb1 /media/sdb8 -o force

    这样手工挂载就成功了

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3