安装 Windows 分区时出错

安装 Windows 分区时出错

我知道这个问题以前有人问过,但解决方案一直是 ntfsfix,但最终对我不起作用。错误消息是:

Error mounting /dev/sda4 at /media/user/OS: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda4" "/media/samrat/OS"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda4': 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.

我试图将我在 Ubuntu 分区上下载的内容移动到 Windows 分区,因此我需要写权限才能执行此操作。以前这样做是可行的,但我突然收到此错误消息。我启动了 Windows 10,并确保关闭并启动 Ubuntu。没有用。ntfsfix 不起作用,并给出以下错误消息:

Mounting volume... Windows is hibernated, 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
Windows is hibernated, refused to mount.
Remount failed: Operation not permitted

答案1

可能的原因:我认为您在启动 Linux 之前已经关闭了您的电脑。

解决方案:

  1. 启动窗口。
  2. 检查那些未在 Linux 中安装的驱动器的磁盘是否存在错误。
  3. 通过重启来启动 Linux(而不是关机)

长期解决方案:

  1. 启动窗口。
  2. 检查那些未在 Linux 中安装的驱动器的磁盘是否存在错误。
  3. 在Windows的电源设置中取消勾选快速启动选项。

一切就绪。

答案2

最好关闭 Windows 的休眠选项,因为 Windows 不会进入关机模式,而是进入睡眠状态,因此硬盘仍由 Windows 控制

你可以做

 sudo ntfsfix /dev/sdaX

其中 x 是错误显示的数字

但这非常危险,有时可能会发生这种情况,您将 Ubuntu 中的数据保存在这些驱动器上,但这些数据在 Windows 中不可见,然后它也会从 Ubuntu 中消失,因此建议关闭休眠模式。

相关内容