在 Ubuntu 18.04 中运行 gparted 时收到错误

在 Ubuntu 18.04 中运行 gparted 时收到错误

我在安装内置 3 TB 硬盘时遇到问题。我收到以下错误:

Unable to Access Location: Can't mount file
No Object for D-Bus interface

我运行了 gparted,看到该硬盘出现以下警告消息:

$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sda1': Input/output error
NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
The usage of the /f parameter is very IMPORTANT! No modification was
made to NTFS by this software.

Unable to read the contents of this file system!
Because of this some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ntfs file system support:  ntfs-3g / ntfsprogs.

我尝试运行“新 UUID”和“检查”,但无济于事。我不知道如何挽救这个硬盘。任何建议都将不胜感激。

答案1

在终端中运行以下命令:

sudo ntfsfix /dev/sda1

输出结果如下:

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/sda1 was processed successfully.

这个答案来自这个问题Unix 和 Linux

相关内容