在UPC上登錄了Windows 8.1,晚上正常關機。今日切換登陸Ubuntu 14.04分區,發現原來可以正常訪問的windows下的NTFS分區都被鎖死,提示如下錯誤:
Error mounting /dev/sda2 at /media/love/Mis Archiivos: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/love/Mis Archiivos"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
google了下,得到的反饋信息是可能由於Windows 未被正常關閉產生了錯誤,導致系統誤以為存在臨時緩存文件,禁止訪問所致。沒辦法,誰叫Linux.vs.Windows呢......
Ubuntu 14.04 下載、安裝、配置的相關知識 http://www.linuxidc.com/Linux/2014-04/100370.htm
Ubuntu 14.04系統下載地址:http://www.linuxidc.com/Linux/2014-04/100352.htm
Windows 7下硬盤安裝Ubuntu 14.04圖文教程 http://www.linuxidc.com/Linux/2014-04/100983.htm
Linux系統下掛載exFAT和NTFS格式硬盤的驅動安裝和配置 http://www.linuxidc.com/Linux/2012-10/71831.htm
CentOS下掛載NTFS分區文件裡的CentOS鏡像文件 http://www.linuxidc.com/Linux/2012-09/70938.htm
Ubuntu 12.04修改移動磁盤成NTFS格式 http://www.linuxidc.com/Linux/2012-08/67402.htm
解決的方法也不難 原理就是在Ubuntu下運行ntfs fix 工具 把誤報錯誤銷掉,以下均在Terminal下完成:
1.sudo apt-get install ntfsprogs
2.sudo ntfsfix /dev/sdb2
解釋下,第一條命令安裝ntfs命令包(要求聯網狀態);第二條調用ntfsfix命令對指定硬盤(示例當中UUID"/dev/sdb2"顯示的是設備管理器下硬盤b的第二分區.....)進行修復。至於指定的硬盤盤符如何顯示:參照以下步驟(須在1.2步驟之前來完成)
sudo blkid
顯示效果
基本上可以解決上述問題.
做完這個,突然想起jjcao的名言:“一切問題都可在網絡中解決”,搞不定只有兩種原因:1.incorrect keywords;2.your lazy style.
更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2