歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux服務器 >> 解決ubuntu不能自動掛載硬盤的方法

解決ubuntu不能自動掛載硬盤的方法

日期:2017/3/2 16:49:23   编辑:Linux服務器

今天在使用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 © Linux教程網 All Rights Reserved