none
Hibernate windows 7 in dual boot with ubuntu

    General discussion

  • Hello,
    I had windows 7 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 (and eventually shutdown) 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 Windows 7 hibernation and bios but I couldn't find anything clear enough.
    I also installed EasyBCD and created a loader in sda but its behavior is identical to the one that GRUB has. 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). I also read Hibernate and reboot?   but the answer "I think your goal cannot be achieved " is too vague for me...
    Thank you in advance.
    Tuesday, March 08, 2011 9:46 AM

All replies

  • I don't think you can accomplish this using GRUB, any version, as Microsoft does not support compatibility with GRUB.

    If it could be answered by someone in theses forums, it would have been answered in your referenced link, but you don't see an answer there, do you?


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Tuesday, March 08, 2011 1:35 PM
  • I don't think you can accomplish this using GRUB, any version, as Microsoft does not support compatibility with GRUB.

    If it could be answered by someone in theses forums, it would have been answered in your referenced link, but you don't see an answer there, do you?


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

    Thank you Rick,

    Since the aforementioned post was answered some months ago I thought that I could make a similar question giving more details. People learn new things all the time, don't they? Moreover, this has nothing to do with grub. It has to do with the ability of windows 7 to resume bypassing any booting selection made in the bios. If anyone knows how hibernate really works in windows 7 (regarding bios) or if anyone could point out any technical article about this I would appreciate it (and I'm really willing to read any relevant article, no matter how technical it might be).

    Tuesday, March 08, 2011 10:03 PM