Error mounting / dev / sdb1 in Ubuntu

本文介绍了解决在Ubuntu系统中使用带有NTFS文件系统的USB设备时遇到的Errormounting问题的方法。通过使用ntfsfix工具,可以修复损坏的主文件表(MFT)记录,恢复USB设备的正常使用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Uncommon users of Ubuntu OS, when connecting USB with NTFS file system, can observe the error: "Error mounting / dev / sdb1" or "Failed to mount '/ dev / sdb1': Input / output error".

The cad file in the NTFS system has a corresponding entry in the MFT (Master File Table). NTFS reserves the first 16 MFT records for storing special information. The first entry describes directly the MFT itself, followed by a description of the backup MFT mirror record. If the first MFT record is corrupted, NTFS will read the second entry to find the MFT mirror, the first record of which is identical to the first entry in the MFT. The location of the MFT and MFT mirror is spelled out in the boot sector of the disk. 
Source: NTFS.com

After incorrect extraction of the USB disk, a power failure, and for other reasons, the MFT may be damaged and the first MFT mirror entry will not match the first MFT record.

The utility ntfsfix will help to solve the problem : 

sudo ntfsfix /dev/sdb1


* / dev / sdb1 - you need to specify the section that is mentioned in the error text.

If the ntfsfix utility is not available, you can install it with the ntfs-3g package :

sudo apt-get install ntfs-3g

After using ntfsfix, the initialization data on the device will be restored as well as access to the USB device.

 

参考自:http://www.rebelcode.ru/linux/error-mounting-devsdb1-v-ubuntu/

转载于:https://www.cnblogs.com/williamc17/p/9431046.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值