[Bug 1229886] Re: Grub2 cannot bring Win 7 out of hibernation - error 0xc000009a

Chase Zheng mzheng086 at gmail.com
Fri Nov 22 23:50:17 UTC 2013


I have the same problem, too. Windows 7 cannot return from hibernation
if I try to boot it from grub. However, if I boot it from refind, the
error doesn't show up. What's interesting is that both refind and grub
points to the same bootmgr.efi file in the ESP partition. I generate
grub.cfg with update-grub, so the entry is similar to what others have
provided here.

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

Title:
  Grub2 cannot bring Win 7 out of hibernation - error 0xc000009a

Status in “grub2” package in Ubuntu:
  Confirmed

Bug description:
  Installed Ubuntu 12.04  for dual-boot on HP P7-1222 (a UEFI machine
  that came with Win 7).  All Ubuntu and Win 7 updates are installed,
  current as of 9/20/2013.

  Ubuntu works well. The 'Grub2 "Windows Boot UEFI loader" selection
  boots Windows 7 64-bit fine, too.

  Problem is: Win 7 cannot resume from hibernate.

  Pre-Ubuntu I had activated Win 7 hibernation and used it successfully.
  I like to hibernate my Windows machines and then unplug them to
  protect against voltage spikes etc., but have a fast restart with
  retained state.

  After Ubuntu was installed, if I hibernate Win 7 (which it seems to
  do) and the machine turns off.  If I then try to resume Win 7 from
  hibernation, I get a "Your computer cannot come out of hibernation
  0xc000009a" error from the Windows loader.

  If I try to reboot Win 7 again from Grub2 I am presented with the
  "delete hibernation file and restart" option, which then does so and
  reboots Win 7 OK. Of course, searching on the 0xc000009a error code
  brings up little of value. (Thanks, MS, for such informative error
  messages.)

  I've tried the "off the top of my head" attempted fixes - powercfg -h
  off, then powercfg -h on; defragmenting; etc. No change.

  In effect, I cannot use hibernation in Win 7 anymore.

  This seems to be a grub2 bug.  It does not occur on a dual-boot non-
  UEFI Celeron 352 machine w/Ubuntu 12.04 and Win 7 (note that the old
  machine is unning the 32 bit version of Win 7 but the 64-bit version
  of Ubuntu).

  I believe this is a Grub bug, but have no idea what source package the
  bug is in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1229886/+subscriptions



More information about the foundations-bugs mailing list