Windows fails to recover from hibernation since dual booted with Linux [closed]

Posted on

Windows fails to recover from hibernation since dual booted with Linux [closed] – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, windows, hibernation, , .

I’ve got a laptop running Windows and Ubuntu dual booted with GRUB. Ever since it was dual booted it has started failing to recover from Windows hibernation (with BAD_POOL_CALLER BSOD). It doesn’t do it every time, more often when Linux has been booted in the interim (as turning it back on brings it into GRUB), I figured this was possibly due to Linux overwriting some of the RAM required for the hibernation, but it has started happening even if Linux is not booted.

I’ve done a 26 hour memory check on it and it didn’t find any errors. Is this something I can fix or is it just an annoying side effect of dual booting? Is GRUB possibly using hibernation memory? Should GRUB even load if Windows was hibernated?

Solution :

The problem is… when your machine is hibernated… several key settings are stored in nvram to aid in the restore process. When you boot linux, more than likely these nvram settings are modifed/overwritten/erased… potentially, even grub could modify these settings too. As a general rule, you should never hibernate your laptop in one OS & reboot into another OS.

As far as the question between grub & windows… yes, grub will ALWAYS load. It’s the bootloader. Even if windows is the default boot option, grub still loads first, then passes over to the windows bootloader… which in turn boots windows. The windows bootloader is incapable of loading anything but windows.

Getting hibernate to work in this sort of environment can be quite tricky. Just make sure that everything appears to the OS as if it’s normal. I.e. make sure the windows partition has the “boot” (also sometimes referred to as “active”) flag. You can easily do that in linux using gparted or some flavor of disk partition manager (fdisk can too… but you can get into trouble if you aren’t paying attention) Don’t let windows try & do it or you will probably lose GRUB & could potentially make your system non-bootable.

Leave a Reply

Your email address will not be published.