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

stooky stooky at gmx.net
Wed Sep 25 17:08:59 UTC 2013


No, I didn't boot into Ubuntu I booted into Windows directly since I
bypassed Grub.

Here is the output of sudo parted -l:
Modell: ATA ADATA XM11 256GB (scsi)
Festplatte  /dev/sda:  256GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: gpt

Nummer  Anfang     Ende        Größe      Dateisystem     Name                                          Flags
 1               1049kB    316MB     315MB    fat32                  EFI system partition                 boot
 2               316MB     945MB     629MB    ntfs                    Basic data partition                   versteckt, diag
 3               945MB     1079MB  134MB                                Microsoft reserved partition   msftres
 4               1079MB   85,0GB    83,9GB    ntfs                    Basic data partition
 5               85,0GB     200GB     115GB     ntfs
 6               200GB      221GB     21,0GB    ext4
 7               221GB      226GB     4299MB  linux-swap(v1)
 8               226GB      252GB     26,2GB    ext4
 9               252GB      256GB     4267MB  ntfs

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