cd /media
sudo mkdir /media/105
sudo mount -t ntfs-3g -o ro /dev/sda1 /media/105
結果無法mount
再來將partition進行修復ntfs 的動作
sudo ntfsfix /dev/sd1
好像也沒用
最後,執行ntfs-3g 的remove_hiberfile動作(註:hiberfil.sys是Windows用來存放休眠時記憶體內容的檔案,通常會將之置於C:\hiberfil.sys)
ntfs-3g has a funtion to remove hibermation
remove_hiberfile
Unlike in case of read-only mount, the read-write mount is
denied if the NTFS volume is hibernated. One needs either to
resume Windows and shutdown it properly, or use this option
which will remove the Windows hibernation file. Please note,
this means that the saved Windows session will be completely
lost. Use this option under your own responsibility.
執行以下指令,就可以掛載sda1的windows 分割區了
sudo ntfs-3g -o remove_hiberfile /dev/sda1 /media/teacher/105
then copy the file from old error filesystem to the new file device
there may be error to copy file
reference: