Pre*_*rak 26 windows mount ntfs
我使用 Fedora 20 和 Windows 8。但是,我无法访问安装了 Windows 8 的驱动器的内容。表明:
Error mounting /dev/sda2/
The NTFS partition is in unsafe state
Windows is hibernated, refused to mount
Run Code Online (Sandbox Code Playgroud)
即使我已经正确关闭了 Windows。
ter*_*don 36
首先,确保您已经完全关闭了窗口并且没有将其休眠。
根据ntfs-3g 手册,有一个选项允许您执行此操作:
remove_hiberfile
Unlike in case of read-only mount, the read-write mount is
denied if the NTFS volume is hibernated. One needs either to
resume Windows and shutdown it properly, or use this option
which will remove the Windows hibernation file. Please note,
this means that the saved Windows session will be completely
lost. Use this option under your own responsibility.
Run Code Online (Sandbox Code Playgroud)
所以,我强调这将破坏休眠的 Windows 会话中的任何未保存的数据。如果这对您来说不是问题,您应该能够通过运行以下命令访问驱动器:
sudo ntfs-3g -o remove_hiberfile /dev/sdXN /path/to/mount
Run Code Online (Sandbox Code Playgroud)
更改sdXN为您的 Windows 分区(例如/dev/sda1)和/path/to/mount您想要挂载到的实际路径。
这应该正确挂载驱动器,并且由于它将删除休眠的会话文件,因此从现在开始它应该正常挂载。
nob*_*bar 19
Windows 休眠,拒绝挂载
很有可能 Windows 真的处于休眠状态。当您告诉它正常关闭时,Windows 会自动执行此操作。好处是您可以获得更快的明显启动时间。
要在不休眠的情况下关闭 Windows,请在命令提示符处发出以下命令(在 Windows 中):
shutdown /s
Run Code Online (Sandbox Code Playgroud)
您可能还需要包括/t 0立即关闭。
我找到了一个很好的教程来为此设置启动器:How to Do a Full Shutdown in Windows 8 without Disabling Hybrid Boot。
实际关闭 Windows 的更简单方法是“重新启动”(而不是“关闭”),然后拦截启动过程并启动 Linux,而不是让它启动 Windows。
您需要禁用 Windows 快速启动,因为这会创建c:\hiberfil.sys导致此问题的文件。转到电源选项并取消选中“打开快速启动”。
有关更多详细信息,请参阅https://www.eightforums.com/threads/fast-startup-turn-on-or-off-in-windows-8.6320/。
我有同样的问题。对我来说,Windows GUI 解决方案不起作用(由于某种原因它忽略了快速启动和休眠设置),而且正如shutdown /s /t 0一些人所建议的那样。
powercfg /h off对我有用的是:在以管理员身份打开的 Windows 命令提示符中运行该命令。ntfs-3g手册中指定了该解决方案。
| 归档时间: |
|
| 查看次数: |
95712 次 |
| 最近记录: |