用linux修復NTFS磁區

来源:互联网 发布:360定位软件 编辑:程序博客网 时间:2024/05/03 07:25
安裝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果然強