[Bug 1043149] Re: [regression since 12.04] ntfs-3g refuses to mount Windows8 not using hibernation

bcbc 1043149 at bugs.launchpad.net
Tue Sep 25 21:34:14 UTC 2012


I still fail to see why this is a bug in wubi or ntfs-3g. The way I see it is that Windows8 chooses to hibernate by default on shutdown (unless fast-start is disabled), without the knowledge of the user. The fact that the user is unaware of it, doesn't change the fact that it's hibernated. So it's correct for ntfs-3g to refuse to mount it.
Also, the fact that Microsoft consider "Restart" a true restart and "Shut down" a hidden, system hibernation is not intuitive or logical (to me).

The problem with Wubi and hybrid sleep, is in my mind a windows 8 bug.
Since in this case, it's Shutdown (not restart) that cleans up the mess
left behind by the hybrid sleep. Now suddenly Restart is the inferior
option that leaves a quasi-hibernated state.

Why would it be up to ntfs-3g to try to interpret this mess and what
should it do with a system-hibernated state versus a user-hibernated
state?

For Wubi, it's probably easy enough to check and switch off 'hybrid
sleep' to get around the issue, but I think it's unlikely that Microsoft
intended this and maybe they'll fix it.

References:
1. this shows that Windows 8 shut down is intentionally hibernating http://blogs.msdn.com/b/b8/archive/2011/09/08/delivering-fast-boot-times-in-windows-8.aspx
 
"Now here’s the key difference for Windows 8: as in Windows 7, we close the user sessions, but instead of closing the kernel session, we hibernate it. Compared to a full hibernate, which includes a lot of memory pages in use by apps, session 0 hibernation data is much smaller, which takes substantially less time to write to disk. If you’re not familiar with hibernation, we’re effectively saving the system state and memory contents to a file on disk (hiberfil.sys) and then reading that back in on resume and restoring contents back to memory. Using this technique with boot gives us a significant advantage for boot times, since reading the hiberfile in and reinitializing drivers is much faster on most systems (30-70% faster on most systems we’ve tested)."

2. That same link talks about "Restart" being the full reset (which is not the case after hybrid sleep):
" Also, choosing Restart from the UI will do a full shutdown, followed by a cold boot."

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ntfs-3g in Ubuntu.
https://bugs.launchpad.net/bugs/1043149

Title:
  [regression since 12.04] ntfs-3g refuses to mount Windows8 not using
  hibernation

Status in Release Notes for Ubuntu:
  New
Status in Wubi, Windows Ubuntu Installer:
  Confirmed
Status in “ntfs-3g” package in Ubuntu:
  Confirmed

Bug description:
  Bug reported by Malbo (ubuntu-fr member): http://forum.ubuntu-
  fr.org/viewtopic.php?pid=10558721#p10558721

  HOW TO REPRODUCE:
  1) Boot into Windows8, use its "Restart" button
  2) From Ubuntu 12.04, try to mount the Windows8 partition:
  sudo mount -t ntfs-3g /dev/sdb8 /media/Windows8partition

  EXPECTED RESULT:
  The Windows partition is mounted in write/read mode.

  OBSERVED RESULT:
  The partition is not mounted. The output of the command is:
    Windows is hibernated, refused to mount.
    Failed to mount '/dev/sdb8': Opération non permise
    The NTFS partition is hibernated. Please resume and shutdown Windows
    properly, or mount the volume read-only with the 'ro' mount option, or
    mount the volume read-write with the 'remove_hiberfile' mount option.
    For example type on the command line:
              mount -t ntfs-3g -o remove_hiberfile /dev/sdb8 /media/Windows8partition

  Remarks:
  - this bug is not present in 11.10
  - this bug is severe as it makes Wubi fail on Win8 ( Bug #1042159 )

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1043149/+subscriptions




More information about the foundations-bugs mailing list