Use ntfsfix in the terminal , even if you can‘t access Windows
sudo ntfsfix /dev/XY
//Previous wasn‘t working for me.
where XY is the partition
e.g sda2 or sdb1
ntfsfix repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.
比如我的 Win8的C, D, E, F四个盘在ubuntu下分别挂在 /dev/sda1, /dev/sda5, /dev/sda6, /dev/sda7, 然后就可以写个bash script,
可以考虑加入 /ect/rc.local做成开机启动
#!/bin/bash
sudo ntfsfix /dev/sda7
sudo ntfsfix /dev/sda6
sudo ntfsfix /dev/sda5
sudo ntfsfix /dev/sda1
-----
啊啊啊啊垃圾的编辑器 囃!
但是搞C盘的最后一句话报错了: Windows is hibernated, refused to mount.不知为何
时间: 2024-10-05 05:41:29