这是我得到的错误
Error mounting /dev/sda5 at /media/ubuntu/FILES: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999" "/dev/sda5" "/media/ubuntu/FILES"' exited with non-zero exit status 13: $MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sda5': 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.
顺便说一句,我最近格式化 PC 时遇到了麻烦,当我尝试格式化 Windows 分区时,Windows 安装程序出现错误,我试图访问的这个分区对我来说至关重要,因为我的所有东西都在那里...可能是我的硬盘有问题?谢谢!
编辑:我只是想修复它,但现在我在这里再也看不到它了
ubuntu@ubuntu:~$ sudo ntfsfix /dev/sda5
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
Correcting differences in $MFTMirr record 1...OK
Correcting differences in $MFTMirr record 2...OK
Correcting differences in $MFTMirr record 3...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Failed to access '/dev/sda5': No such file or directory
Error opening '/dev/sda5': No such file or directory
Remount failed: No such file or directory*
谢谢!
答案1
首先 - 备份您的 USB 驱动器。
任何命令(如我将要分享的)都可能损坏/丢失您的数据。因此,请将设备放回原位。
假设你已经备份了
ntfsfix /dev/hda5
假设您已经安装ntfs-3g所以你参考该设备。
我看到您尝试了我提到的命令 - 但错误消息没有帮助......
要显示已安装的驱动器,请执行以下操作
sudo fdisk -l
假设你的 USB 驱动器在那里...更改ntfs修复