用linux修復NTFS磁區

本文介绍了一次因错误安装GRUB导致NTFS分区损坏的经历,并详细记录了使用Linux进行诊断、修复并最终成功挂载NTFS分区的过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安裝grub的時候,亂搞一通,結果把NTFS的分割區搞壞了,在XP下 看到的是為格式化的錯誤訊息
到Linux下mount發生錯誤訊息
NTFS-fs warning (device hda1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
NTFS-fs error (device hda1): ntfs_fill_super(): Not an NTFS volume.

無意間看到這一行Mount option errors=recover not used. Aborting without trying to recover.,趕緊把參數加上,沒想到就可以mount了
NTFS-fs warning (device hda1): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device hda1): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs warning (device hda1): read_ntfs_boot_sector(): Hot-fix: Recovering invalid primary boot sector from backup copy.

然後,再次mount,不加修復參數也行
mount -t ntfs /dev/hda1 /mnt

再回到XP下,也可以看到檔案了,LINUX果然強
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值