Results 1 to 6 of 6

Thread: hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

  1. #1

    Default hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

    Hello, this is my first post on the forum.
    First of all thanks in advance .

    I'll describe the scenarios that I experimented on.

    First Scenario:
    1)I had windows 7 installed on my laptop.
    2)The first partition (a with 100mb recovery partition) is active.
    3)I installed opensuse 11.4, with grub installed on the extended partition
    4)Opensuse can hibernate and sleep and;
    5)The first partition (a with 100mb recovery partition) is no longer active, and the extended partition is active now.
    Results:
    With that last configuration windows 7 no longer was able to sleep or hibernate, (the screen just would go black and the user logged off).
    Setting the first partition active again would fix the hibernate & sleep problem, but takes Grub out of the picture (I can't dual boot anymore).


    Second Scenario:
    1)I had windows 7 installed on my laptop.
    2)The first partition (a with 100mb recovery partition) is active.
    3)I installed opensuse 11.4, with grub installed on the mbr
    4)Opensuse can hibernate and sleep and;
    5)The first partition (a with 100mb recovery partition) is no longer active, and the extended partition is active now.
    Results:
    With that last configuration windows 7 no longer was able to sleep or hibernate, (the screen just would go black and the user logged off).
    Setting the first partition active again make grub stop working, with a "loading error 17"
    message.


    Does anyone know how to:
    1)Be able to dual boot with windows 7 and opensuse 11.4
    2)Be able to put the system hibernate and sleep both on windows 7 and opensuse 11.4

    Should I install grub on the extended partition or on the mbr?
    What other configuration/settings should I have on my system?
    Should I use grub as a bootloader?

    Thanks in advance, I would really appreciate any help, since hibernate and sleep is a must have in both OS (I use it a lot).

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

    So you have done some very extensive testing and a very good explanation on the results. I would ask why not keep the first Windows Partition set as active? I was thinking that if grub is loaded into the MBR, it does not matter what partition is active as it always loads the grub menu. Any way, its the only combination you did not specify. I will say that it does create a problem in loading any Windows service packs when the MBR is not normal and the Window partition is not marked active. It does sound like you have done your homework and I truly hope you find a solution to this issue.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    37,101
    Blog Entries
    16

    Default Re: hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

    You cannot and should not hibernate one system and then boot to the other!
    Never!
    Don't do it.
    My openSUSE 13.1 KDE Box
    My Articles
    Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    5,305
    Blog Entries
    3

    Default Re: hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

    Quote Originally Posted by ezequielfretes View Post
    Does anyone know how to:
    1)Be able to dual boot with windows 7 and opensuse 11.4
    I don't use hibernate. But I think it would work if I wanted to try it.

    Here's how my laptop is setup.

    Windows 7 was installed first (at the factory - I had to shrink its partition to make room for openSuSE).

    openSuSE is installed on several logical partitions, with grub installed on the extended partition.

    Once I had linux up and running, I copied the grub boot sector to a Windows partition:
    Code:
    # dd if=/dev/sda4 of=/windows/D/bootsect.lnx count=1
    Next, I made the Windows main partition the active partition, so that Window 7 would boot.
    I then setup the Windows boot manager to start linux (it really starts grub). To see how to do this, use a google search for "bcdedit linux" (without the quotes). You will find several references on how to set that up.

    When Windows next starts, there should be a prompt allowing you to select between Windows and linux. If you select linux, you will get the normal grub boot screen.

    You can now please yourself as to whether to make Windows or grub (the extended partition) the active one. But, based on your experimenting, if you want windows hibernation to work you had better make it Windows. As far as I know, linux will hibernate either way.
    opensuse factory; KDE 4.14.1 (main desktop);
    opensuse 13.1, KDE 4.11.5 (laptop);

  5. #5

    Default Re: hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

    Hello ezequielfretes,

    I am facing the same problem. just set the windows 7 partition as active, and can not see the grub menu on reboot. my expatation from both of the os's hibernate and boot into other os. I wonder if you have solved the problem. By the way I am using toshiba laptop...



    Quote Originally Posted by ezequielfretes View Post
    Hello, this is my first post on the forum.
    First of all thanks in advance .

    I'll describe the scenarios that I experimented on.

    First Scenario:
    1)I had windows 7 installed on my laptop.
    2)The first partition (a with 100mb recovery partition) is active.
    3)I installed opensuse 11.4, with grub installed on the extended partition
    4)Opensuse can hibernate and sleep and;
    5)The first partition (a with 100mb recovery partition) is no longer active, and the extended partition is active now.
    Results:
    With that last configuration windows 7 no longer was able to sleep or hibernate, (the screen just would go black and the user logged off).
    Setting the first partition active again would fix the hibernate & sleep problem, but takes Grub out of the picture (I can't dual boot anymore).


    Second Scenario:
    1)I had windows 7 installed on my laptop.
    2)The first partition (a with 100mb recovery partition) is active.
    3)I installed opensuse 11.4, with grub installed on the mbr
    4)Opensuse can hibernate and sleep and;
    5)The first partition (a with 100mb recovery partition) is no longer active, and the extended partition is active now.
    Results:
    With that last configuration windows 7 no longer was able to sleep or hibernate, (the screen just would go black and the user logged off).
    Setting the first partition active again make grub stop working, with a "loading error 17"
    message.


    Does anyone know how to:
    1)Be able to dual boot with windows 7 and opensuse 11.4
    2)Be able to put the system hibernate and sleep both on windows 7 and opensuse 11.4

    Should I install grub on the extended partition or on the mbr?
    What other configuration/settings should I have on my system?
    Should I use grub as a bootloader?

    Thanks in advance, I would really appreciate any help, since hibernate and sleep is a must have in both OS (I use it a lot).

  6. #6

    Default Re: hibernate & sleep problem with dual boot opensuse 11.4 and windows 7;

    Sorry about replying so late, I was not subscribed to the thread (:S) and forgot completely about it (now I'm subscribed).
    First of all, thanks for the answers. I cross with this post searching again for the same issue ()

    I'm still facing the problem and could not resolve it.
    About this:
    You cannot and should not hibernate one system and then boot to the other!
    I think it is because the OS hibernate needs to be certain of some hardware configuration went get up from hibernation, but don't know precisely why, if someone know please let us know.

    About bcdedit, I don't like starting from windows to decide what os to load, but I think it's the only option now.
    So far this is all I can say.
    And also I have a toshiba laptop .

    Thanks

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •