| Summary: | Windows partition mounted as ro if sleep used any time during Windows session | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Ken Arromdee <arromdee2> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith |
| Version: | 9 | Keywords: | FOR_ERRATA9, FOR_RELEASENOTES10 |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | util-linux-2.38.1-1.mga9.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Ken Arromdee
2024-07-09 10:25:26 CEST
Thank you for the report. Can we take it that if you do not 'sleep' Win, and shut it down properly, that Mageia does indeed then mount the NTFS partition r/w ? It does look as if despite the precautions you take that Win shuts down correctly, it must be leaving its filesystem in an abnormal state after a sleep. Is it indeed cleanly and completely shut down? "Turn on fast startup" is off; maybe there is something more. Can you try: - Win session, sleep, wakeup, shut down correctly - Another Win session, no sleep, shut down correctly. - Boot Mageia: how is the NTFS filesystem mounted, r or rw ? CC:
(none) =>
lewyssmith I've already done these things as stated in the bug report. The results are as described above: Win session, sleep, wakeup, shut down correctly: mounted ro Another Win session, no sleep, shut down correctly: mounted rw Thank you for that confirmation. Looking into ensuring Win10 shuts down properly: 1) As you already do: disable Fast Startup This is cited everywhere, and should apparently be effective. However, there are other methods cited which would be worth exploring as they are easy: 2) hold Shift as you click “Shut Down” to perform a full shutdown You can also perform a full shut down by pressing and holding the Shift key on your keyboard while you click the “Shut Down” option in Windows. This works whether you’re clicking the option in the Start menu, on the sign-in screen, or on the screen that appears after you press Ctrl+Alt+Delete 3) click the “Restart” option in the menu instead of the “Shut Down” option. Windows restarts your computer, but it performs a full shut down first “Restart” option performs a more complete shut down than the “Shut Down”. For rebooting directly from Win to Mageia, this looks the best bet - if it works! 4) you can instead perform a full shutdown by using the shutdown command from a Command Prompt: > shutdown /s /f /t 0 The shutdown command will always perform a full shutdown (unless you add the /hybrid option). If it’s something you want to keep handy, you can also make a shortcut that executes this command. All you have to do then is double-click the shortcut to perform a full shutdown It would be worth knowing whether any of these avoids the problem you report; they are all easy to try. Holding shift doesn't help. I was using restart anyway; it doesn't help. The command prompt shutdown doesn't help. Did you disable the fastboot feature in windows 10? I literally said that in the first post. 2. In Windows, make sure that "Turn on fast startup (recommended)" is off. This look like an old headache with windows partitions https://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs-filesystem-due-to-hibernation https://wiki.manjaro.org/index.php/How_to_mount_Windows_(NTFS)_filesystem_due_to_hibernation In resume, you should always power off from windows before boot windows (In reply to katnatek from comment #7) > This look like an old headache with windows partitions > > https://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs- > filesystem-due-to-hibernation > https://wiki.manjaro.org/index.php/ > How_to_mount_Windows_(NTFS)_filesystem_due_to_hibernation > > In resume, you should always power off from windows before boot windows before boot windows -> before boot linux @Ken Thank you for trying the various ways of shutting down Windows - in vain; it made no difference, but that is worth knowing. I have let this run in the hope of finding a neat solution, but that remains: - Stop fast Windows startup. - Windows session with sleep, resume, close down cleanly. - Another (if null) Windows session with no sleep, shut it down cleanly. - Linux session, should mount common NTFS partitions 'rw'. This is clearly a Windows problem. The best we can do is ERRATA it for M9, and add a RELEASE NOTE for M10. Status:
NEW =>
RESOLVED It turns out that powercfg /h off in Windows does actually fix it. But given how Windows is supposed to work, this should not be necessary; fast startup is not on and Windows is being turned off in a way that does not lead to any hibernation. This (powercfg /h off) is an excellent discovery - well done; I saw no mention of it in my search. If you can make a shortcut to the command, that would be easy to execute. We can certainly document it. |