拯救 Windows 8 數據
Windows 掛掉了硬碟數據無法取出,這種事就正正發生在筆者家裡的 Windows 8 身上。筆者使用了 Ubuntu Linux 的開機光碟,最後終於成功將數據備份出來。
一般情形下,只要使用 Linux 光碟開機,Linux 便可自動找出並掛載 NTFS 分割區,之後便可順利將數據備分到其他 USB 隨身碟。但這次當掛載時,卻出現了以下錯誤訊息。
Error mounting /dev/sdb1 at /media/cobolt/Legalise it: Command-line `mount -t “ntfs” -o “uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177” “/dev/sdb1” “/media/cobolt/Legalise it”‘ 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/sdb2’: 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.
出現這段訊息的原因,是 Windows 8 在對上一次開機時,沒有正常關機。微軟官方網站提供的解決辦法,是「重新開機後正常關機」,但 Windows 8 重新開機都不成功,又怎能夠重新關機?解決辦法原來可以很簡單,利用 Linux 光碟開機後,點選「新增磁碟機」的圖示(通常在左方啟動列的最下方,這就是 Linux 自動找到 NTFS 分割區的位置)。這時會看到圖中的錯誤訊息,記下訊息中硬碟的代號(/dev/sdb1),再用Ctrl+Alt+T打開終端機,輸入以下命令。
sudo ntfsfix /dev/sdb1 (ENTER)
其中 /dev/sdb1 是代表第二台硬碟(sdb)的第一個分割區。修正完成後再次點選「新增磁碟機」的圖示,便可正常掛載了。
dfdff