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

S Silverstein scotsilv at aol.com
Thu Sep 26 14:09:32 UTC 2013


My output from sudo parted -l is:

Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  106MB  105MB   fat32        EFI system partition          boot
 2      106MB   240MB  134MB                Microsoft reserved partition  msftres
 3      240MB   362GB  362GB   ntfs         Basic data partition
 5      362GB   474GB  112GB   ext4
 6      474GB   482GB  8491MB
 4      482GB   500GB  17.9GB  ntfs         Basic data partition


Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/cryptswap1: 8491MB
Sector size (logical/physical): 512B/4096B
Partition Table: loop

Number  Start  End     Size    File system     Flags
 1      0.00B  8491MB  8491MB  linux-swap(v1)

-- 
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