Windows 分区挂载不上?用 ntfsfix 清除脏标记
Windows 异常关机后留下的 NTFS 脏标记,一条命令清除,双系统分区恢复挂载。
对未挂载的分区运行 sudo ntfsfix -d /dev/sdb2,修复常见错误并清除脏标记,之后即可正常挂载。
01命令
命令
$ sudo ntfsfix -d /dev/sdb202作用说明
Windows 休眠或崩溃时会在 NTFS 卷上设置'脏'标记,Linux 的 ntfs-3g 驱动为了保护数据会拒绝以读写方式挂载。ntfsfix 能修复少数常见的不一致,并安排下次进 Windows 时运行真正的 chkdsk;-d 参数则清除脏标记让卷恢复挂载。它不是完整的 fsck 替代品,严重损坏时必须在 Windows 里跑 chkdsk。
03风险
!注意: 绝对不要对已挂载的分区运行 ntfsfix;如果分区里有重要数据,最稳妥的做法是回 Windows 用 chkdsk 真正修复。
04撤销
✓无需撤销——该命令不会改变持久状态。
05来源
- ntfsfix(8) — fix common errors and force Windows to check NTFS依据: Page documents the -d/--clear-dirty option ('Clear the dirty bit on the filesystem') and the 'dirty' flag concept; confirms ntfsfix and 'dirty' appear in the text.
- ntfsfix(8) — Ubuntu man page (ntfs-3g)依据: Man page text includes '-d' and '--clear-dirty' along with the warning that ntfsfix is not a Linux fsck for NTFS, confirming the flag and semantics.
最后验证: 2026-09-19 · 分类: 文件与文件夹