Hibernate windows 7 in dual boot with ubuntu


  1. Mex
    Posts : 1
    Windows 7 professional 64bit
       #1

    Hibernate windows 7 in dual boot with ubuntu


    Hello,
    I had windows installed on a disk (sda) and decided to install ubuntu 10.10 in another disk (sdb). Ubuntu installed Grub2 boot loader in sdb and both systems seem to work fine. Except windows hibernation (which worked normally before the Ubuntu installation). What happens is this:
    1. If I set the BIOS to startup from disk sdb, GRUB comes out. When I select windows and try to hibernate, the screen goes black and after a couple of seconds the log in screen appears. So, I can not hibernate windows when I use GRUB. By the way, ubuntu hibernates normally.
    2. If I set the BIOS to startup from disk sda, windows load (without GRUB of course) and hibernate actually works. But when I turn on the pc windows resuming is the only option. I can not activate the bbs popup and even if I set bios to boot from the other disk (sdb) the system seems to ignore me and resumes windows without displaying GRUB loader.
    So, I can either hibernate windows but have to resume before I can use ubuntu or start windows using grub and not have the option to hibernate. From the above I get that windows 7 have a way of controlling the system's BIOS and prevent loading another os when windows are hibernated. I say windows 7 because my laptop has a similar dual boot (vista with ubuntu 9.04) and hibernation works for both systems and I can load whichever I want after that. I tried to find information about w7 hibernation and bios but I couldn't find anything clear enough.
    I have also tried EasyBCD but it didn't change a thing. I have already seen the posts about active partitions, boot partitions, boot flag (in ubuntu), turned off hybrid sleep, prevented all devices from waking up windows but nothing works. I started a thread ([ubuntu] Hibernate Problem in Windows 7 but not in Ubuntu 10.10 - Ubuntu Forums) since I though it was a GRUB2 problem but no one seemed to know what to do (or no one cared)... So, I' m left with the above assumption (windows 7 controlling bios). Does anybody know anything about this (or the problem in general)?
    Thank you in advance.
      My Computer


  2. Posts : 3
    windows 7 x64 home premium
       #2

    dual boot with grub and windows 7


    Oh boy this takes a while. to speed you along: powercfg.exe -energy in a windows 7 cmd.exe with admin rights - fixs as many problems as you can. if sleep works but hybrid sleep and hibernate don't and you boot with grub: set boot flag for the mini partition that windows made when it installed itself - note do NOT do this with windows disk manager as it will BREAK your system if you did do this use testdisk to recover (but believe me - you don't want to do that) Instead use parted gparted rescue disk or your linux partition and fdisk and set the boot flag. Still not hibernating (like me?) then you need to use the grub menu option that boots windows from the small partition usually /dev/sda1 (you set the boot flag didn't you?) Ok that should be it. Good luck
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:36.
Find Us