ios 控制器 modal 學習

來源:互聯網
上載者:User

標籤:ubutu   ntfs partion   err   ntfsfix   uuid   

5.12 為了給學生改論文,在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下運行ntfs fix 工具 把誤判錯誤銷掉,以下均在Terminal下完成:

1.sudo apt-get install ntfsprogs2.sudo ntfsfix /dev/sdb2

解釋下,第一條命令安裝ntfs命令包(要求連網狀態);第二條調用ntfsfix命令對指定硬碟(樣本當中UUID"/dev/sdb2"顯示的是裝置管理員下硬碟b的第二分區.....)進行修複。至於指定的硬碟盤符如何顯示:參照以下步驟(須在1.2步驟之前來完成)

sudo blkid
顯示效果

基本上可以解決上述問題.
做完這個,突然想起jjcao的名言:“一切問題都可在網路中解決”,搞不定只有兩種原因:1.incorrect keywords;2.your lazy style.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.