解决ubuntu下访问windows磁盘错误

本文介绍了一种常见的情况:当NTFS分区处于不安全状态时,在Linux下挂载失败的解决方案。通过使用'sudontfsfix'命令,可以有效地修复磁盘上的文件系统错误,确保数据的安全性和完整性。

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

错误报告:

Error mounting /dev/sda9 at /media/zongyu/学习: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda9" "/media/zongyu/学习"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda9': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

解决办法:

终端输入

sudo ntfsfix /dev/sda9

注: 这里的/dev/sda要与上面的报错信息对应


写于2017.7.13
具体原因没有探究清楚

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值