[Bug 1229886] Re: Grub2 cannot bring Win 7 out of hibernation - error 0xc000009a
Jonathan Childs
jon at childs0.co.uk
Thu Nov 14 18:59:00 UTC 2013
The following may be useful,
I also have this problem, at first a while ago when I was dual booting
ubuntu and win 7 using MBR boot, the same behaviour occurred, I resolved
by setting the boot flag (linux def) on the win 7 partition and
hibernation worked correctly.
I decided to go GPT/UEFI so that I could squeeze some more partitions
onto HDD and encountered the bug again described here, I thought I will
try setting the boot flag again (I know you're not meant too but nothing
to loose!) and this just resulted in windows hanging on the loading
windows when trying to boot without resuming.
Although unlikely it may point to a problem with windows bootloader
where for some reason it may be looking for that flag and in mbr its
fine to have it and it carries on, but with GPT it find it and carries
on but hangs because the flag is out of place in GPT.
--
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