Windows 7 guest crashes when hibernating

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
VBoxer11
Posts: 7
Joined: 17. Apr 2011, 11:04
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Windows 7 guest crashes when hibernating

Post by VBoxer11 »

Hi,

I'm using Snow Leopard and my VM is a Windows 7 Home Premium guest. Every time the Mac OS X host hibernates (due to energy saving settings, see below), the Windows VM powers off the hard way (I mean without properly shutting down). The next time I start the windows VM, it starts with the black failure screen "Windows wasn't properly shut down". I never had this problem with Linux hosts, so the reason seems to be the Mac host. I still want to use energy saving and quickly pause the VM by saving the current state. How can I avoid powering off the VM?

My energy saving settings are:
- hibernate computer after 15 minutes
- hibernate monitor after 10 minutes
- if possible, activate hibernation for hard drives
- wake up on network access
- enable activating hibernation on on/off-switch
(the translation might not be accurately, because I'm not using the English language settings).

Thanks in advance!
VBoxer11
Posts: 7
Joined: 17. Apr 2011, 11:04
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Windows 7 guest crashes when hibernating

Post by VBoxer11 »

Hi again,

finally I found a solution for my problem and I want to share it with you for those who have the same issue.
As stated, the problem was concerned with the energy saving settings. After I changed the power plan and set "Put the computer to sleep: Never", everything works fine now.
Hope this will help you.

Greetings,
VBoxer11
rstewart
Posts: 15
Joined: 2. Jul 2009, 14:32
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Ubuntu 10.04, Linux Mint 9

Re: Windows 7 guest crashes when hibernating

Post by rstewart »

I have been seeing something very similar: Snow Leopard host with Win 7 64-bit guest; guest "aborted" when host has gone to sleep. I appreciate your posting this... I will tweak that same setting and see if this works for me as well.

--
/ron
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Windows 7 guest crashes when hibernating

Post by rpmurray »

megaduu wrote:Really?Image
Really what?
rstewart
Posts: 15
Joined: 2. Jul 2009, 14:32
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Ubuntu 10.04, Linux Mint 9

Re: Windows 7 guest crashes when hibernating

Post by rstewart »

Actually, the problem I have been experiencing may be something different.

My power-related settings are as follows when running on the power adaptor (which I typically do):
Computer sleep: never
Display sleep: 10 min
[x] Put the hard disk(s) to sleep when possible
[x] Wake for network access
[x] Automatically reduce brightness before display goes to sleep

I will try to keep a closer eye on situations where the guest gets "aborted" (I am calling that because when I come back to the VB "console", that is what it shows for the guest OS status).

--
/ron
Post Reply