linux挂载硬盘不能1怎么办,解决linux(ubuntu18)下没法挂载ntfs磁盘,并读写挂载硬盘...

首先须要有ntfs-3g,没有的话sudo apt-get install ntfs-3gui

挂载硬盘:rem

chen@ilaptop:/$ sudo mount -o rw,remount /dev/sdb1get

报错:it

Remounting is not supported at present. You have to umount volume and then mount it once again.io

再挂载硬盘:class

chen@ilaptop:/$ sudo mount /dev/sdb1require

又报错:

The disk contains an unclean file system (0, 0).

Metadata kept in Windows cache, refused to mount.

Falling back to read-only mount because the NTFS partition is in an

unsafe state. Please resume and shutdown Windows fully (no hibernationsed

修复!!!:file

chen@ilaptop:/$ sudo ntfsfix /dev/sdb1error

修复成功:

Mounting volume... The disk contains an unclean file system (0, 0).

Metadata kept in Windows cache, refused to mount.

FAILED

Attempting to correct errors...

Processing $MFT and $MFTMirr...

Reading $MFT... OK

Reading $MFTMirr... OK

Comparing $MFTMirr to $MFT... 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/sdb1 was processed successfully.

卸载硬盘:

chen@ilaptop:/$ sudo umount /dev/sdb1

读写挂载硬盘

chen@ilaptop:/$ sudo mount -o rw /dev/sdb1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值