欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

解决 Linux 无法挂载 U 盘的方案被提供

最编程 2024-08-15 07:36:54
...

1. 确定无法挂载的分区为:/dev/sdb1.

2. 创建挂载目录: sudo mkdir /media/xxx/yyy (xxx为用户名,yyy为挂载的U盘的名字)

3. 挂载U盘: mount -t ntfs-3g /dev/sdb1 /media/xxx/yyy/ -o force

如此做之后,还是会出现错误: $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdb6': 输入/输出错误 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.

4. 还是不行,网上一搜,用以下命令,大功告成: sudo ntfsfix /dev/sdb1

推荐阅读