我在访问硬盘(NTFS 分区)时收到以下错误。这是一个内置硬盘,由于某些损坏的引导扇区,它开始出现问题。所以我给它装了一个外壳,开始在外部使用它。它工作了几次,但后来开始出现以下错误(在 Linux Mint 上):
Error mounting: mount exited with exit code 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
我确实尝试过运行chkdsk /f
它,但仍然没有用。Windows 甚至无法识别硬盘,但 Linux Mint 至少显示了上述错误,并将该驱动器与内部硬盘的其他分区一起列出。
答案1
我收到了几乎相同的错误消息,并能够使用已安装在我的 Linux Mint(Debian 版本)上的“ntfsfix”修复它:
sudo ntfsfix /dev/sdc1
您需要确保您的设备是 sdc1 或将上述内容编辑为正确的值(提示:查看 /var/log/syslog)。
就我的情况而言,以下是 ntfsfix 的输出:
$ sudo ntfsfix /dev/sdc1
Mounting volume... $MFTMirr does not match $MFT (record 0).
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record 0...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdc1 was processed successfully.