ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

Error mounting /dev/sda3 at /media/user/Windows

2021-09-17 17:02:30  阅读:244  来源: 互联网

标签:... Windows mounting mount bytes dev sda3 Error 512


电脑是ubuntu和windows双系统,忘了是由于断电还是怎么回事,开机后进入不了windows系统,直接黑屏卡死。还好能进入ubuntu系统,打开文件系统你会看到windows所在的盘会有挂载错误。

Error mounting /dev/sda3 at /media/user/Windows:Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda3" "/media/user/Windows"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0)  Failed to mount '/dev/sda3': 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.

网上也能查到有类似问题的文档,可能原因:上一次使用win10后使电脑睡眠,没有完全关机,这次开机直接进入ubuntu系统,访问win10磁盘报错

解决方法:

1. 在终端输入如下命令,查看分区挂载情况

xx@pc:~$ sudo fdisk -l
Disk /dev/sda: 167.7 GiB, 180045766656 bytes, 351651888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CA7450AE-132F-45C5-88A4-D4D7D8613D70

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    534527    532480   260M EFI System
/dev/sda2     534528    567295     32768    16M Microsoft reserved
/dev/sda3     567296 349603839 349036544 166.4G Microsoft basic data
/dev/sda4  349603840 351651839   2048000  1000M Windows recovery environment


Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: A7813DC8-50EE-43A0-A490-DA71ED80D16D

Device          Start        End    Sectors   Size Type
/dev/sdb1        2048    1050623    1048576   512M EFI System
/dev/sdb2     1050624 1951522815 1950472192 930.1G Linux filesystem
/dev/sdb3  1951522816 1953523711    2000896   977M Linux swap

上半部分/dev/sda 是windows系统,下半部分/dev/sdb分区是linux系统 

先是尝试修复windows所在的分区sudo ntfsfix /dev/sda3

xx@pc:~$ sudo ntfsfix /dev/sda3
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
Failed to sync device /dev/sda3: Input/output error
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Remount failed: Operation not permitted

发现即便是ubuntu下root账户也没有权限修复。。。。

但网上有很多人到此得以解决(若解决可以跳过下面的操作)

2. 紧接着进行只读挂载

sudo mount -o ro /dev/sda3 /media/cbdyzj/操作系统

再尝试重启进入系统

标签:...,Windows,mounting,mount,bytes,dev,sda3,Error,512
来源: https://blog.csdn.net/qq_42393859/article/details/120351730

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有