移动硬盘突然在ubuntu中无法访问了,解决方法

我的硬盘是被格式化成NTFS格式了,借给同事一顿操作之后,插我电脑上就突然无法访问了,只能看到ubuntu识别到了设备/dev/sda1

使用root权限也无法挂载,报错如下:

shell 复制代码
sudo mount /dev/sda1 /media/xxx/External
$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/sda1': 输入/输出错误
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.

可以看到$MFTMirr does not match $MFT,这是这块硬盘无法访问的主要问题。是$MFT文件出现了问题,在windows下面可以使用chkdsk工具进行修复,在ubuntu下可以使用ntfsfix进行修复。

shell 复制代码
xxxx@xxxx-ubuntu:~$ 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.

使用该sudo ntfsfix /dev/sda1 该命令修复过后,硬盘就能正常打开了

相关推荐
姚不倒几秒前
Docker 核心原理与运维实战:从入门到生产级理解
运维·docker·架构
Code_LT3 分钟前
【AIGC】Claude Code Rules配置
linux·ubuntu·aigc
LXY_BUAA5 分钟前
《嵌入式操作系统》_驱动框架_20260318
linux·运维·服务器
淮北也生橘129 分钟前
Linux应用开发:全链路 OTA 升级架构
linux·架构·ota·linux应用开发
小黑要努力9 分钟前
json-c安装以及amixer使用
linux·运维·json
JiMoKuangXiangQu16 分钟前
Linux:ARM64 启动流程
linux·arm64 boot
sdm07042742 分钟前
Linux-进程2
运维·服务器
柯儿的天空1 小时前
【OpenClaw 全面解析:从零到精通】第 016 篇:OpenClaw 实战案例——代码开发助手,从代码生成到部署自动化的全流程
运维·人工智能·ai作画·自动化·aigc·ai写作
我科绝伦(Huanhuan Zhou)1 小时前
从自动化到自主化—AI Agent引领的运维范式变革
运维·人工智能·自动化
TroubleMakerQi1 小时前
[虚拟机环境配置]07_Ubuntu中安装vscode教程
linux·人工智能·vscode·ubuntu