萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Linux 教學

Ubuntu 無法掛載 NTFS 分區解決方案:關閉 Windows 快速啟動與休眠

Ubuntu 雙啟動環境常遇到無法掛載 NTFS 分區,錯誤訊息提示 Please resume and shutdown Windows fully (no hibernation or fast restarting)。根本原因在於 Windows 8/10/11 的「快速啟動」功能實為混合休眠,導致檔案系統處於髒污狀態,Linux 驅動程式為保護資料拒絕掛載。

錯誤訊息分析

Error mounting: 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 快速啟動機制

  • Windows 關機時實際執行「混合關機」:將核心與驅動程式寫入休眠檔 (hiberfil.sys),下次開機直接從休眠檔恢復
  • NTFS 分區標記為「未正常卸載」,Linux ntfs-3g 驅動預設拒絕寫入掛載
  • 休眠檔較傳統休眠小(不含應用程式資料),但仍鎖定檔案系統狀態

解決方案:在 Windows 關閉快速啟動

  1. 開啟 控制台 → 硬體和聲音 → 電源選項
  2. 點擊左側 選擇電源按鈕的功能
  3. 點擊 變更目前無法使用的設定(需管理員權限)
  4. 取消勾選 啟用快速啟動 (推薦)
  5. 儲存變更並完全關機(非重啟)

替代方案(不修改 Windows 設定)

  • 唯讀掛載:mount -o ro /dev/sdXY /mnt/point(無法寫入)
  • Windows 完整關機:按住 Shift 點選「關機」、或執行 shutdown /s /t 0
  • Linux 強制掛載:mount -o remove_hiberfile /dev/sdXY /mnt/point(會刪除休眠檔,導致 Windows 下次開機需完整冷啟動)

驗證修復

關閉快速啟動後,在 Ubuntu 執行:

sudo mount -a

或透過檔案管理器點擊 NTFS 分區,應可正常讀寫存取。

最佳實務建議

  • 雙啟動環境建議永久關閉 Windows 快速啟動
  • 共用資料分區建議使用 exFAT(免休眠問題、跨平台相容)
  • 重要資料勿僅存放於 NTFS 分區,定期備份至雲端或獨立儲存裝置
copyright © 萬盛學電腦網 all rights reserved