Page 1 of 1

Can't boot Windows 7 VHD

Posted: 19. Apr 2012, 20:59
by szimek
Hi,

I've just downloaded Windows 7 VHD from MS page (@ microsoft dot com /download/en/details.aspx?id=11575) and I can't start it. When I try to start it, I get "Startup repair" window with "Your computer was unable to start. Startup repair is checking for your system for problems" message and it just keeps on checking :)

I remember that some time ago I was using these VHDs provided by MS with some older version of VirtualBox without any problems. Is it a known issue with VirtualBox, or is there some configuration option I should change to make it work?

I've got OS X 10.7.3 with VirtualBox 4.1.12 and Windows 7 (IE8) guest.

Re: Can't boot Windows 7 VHD

Posted: 19. Apr 2012, 21:01
by stefan.becker
Try changing ioapic settings in the guest.

But better try a clean install.

Re: Can't boot Windows 7 VHD

Posted: 19. Apr 2012, 21:07
by szimek
Thanks, but I already tried changing IO APIC setting and it didn't help.

Re: Can't boot Windows 7 VHD

Posted: 19. Apr 2012, 21:18
by stefan.becker
As i said: Download a 7 iso and make a clean install.

Re: Can't boot Windows 7 VHD

Posted: 19. Apr 2012, 21:22
by szimek
The issue is that MS only provides VHD files, not ISO files - the page I posted link to says "Windows Virtual PC VHDs for testing websites with different Internet Explorer versions".

Re: Can't boot Windows 7 VHD

Posted: 20. Apr 2012, 06:49
by BillG
MS provides a .vhd file which is, not surprisingly, designed to run on MS Virtual PC (and it probably already has the VPC additions intalled). The "hardware" of the VPC vm is quite different from the hardware of a VBox vm, so trying to boot the .vhd in the "wrong" hardware is likely to fail for a number of reasons. IO APIC is just one of the possible problem areas. A repair install would probably fix it but that requires the OS installation disc or .iso.

Re: Can't boot Windows 7 VHD

Posted: 20. Apr 2012, 11:41
by mpack
To stand any chance of success you need to be certain about the VM recipe, e.g. does it require IOAPIC or not? Is it a 32bit or a 64bit guest, and if the latter, does your recipe include having VT-x turned on?

Re: Can't boot Windows 7 VHD

Posted: 20. Apr 2012, 12:01
by szimek
Thanks. I just skimmed some MS FAQ regarding Windows Virtual PC and it looks like it doesn't support 64 bit guest OS at all, so these VHDs must be 32 bit. So what options besides IO APIC can I change to try to make it work? :)

Re: Can't boot Windows 7 VHD

Posted: 20. Apr 2012, 14:49
by mpack
All I can tell you is that the VirtualBox hardware recipe must be as close as possible to the Virtual PC recipe, there is no magic formula that always gets it working. The VPC guest additions will also need to be removed, but it doesn't seem like you've reached that stage yet.

Does the guest boot up in safe mode? (press F8 as it starts to boot to get a boot menu).

Re: Can't boot Windows 7 VHD

Posted: 20. Apr 2012, 16:09
by szimek
Unfortunately it doesn't start in safe mode as well. I'm getting blue screen (it's disappears too quickly to actually read anything), it restarts and then offers an option to repair the system.

Re: Can't boot Windows 7 VHD

Posted: 21. Apr 2012, 16:07
by ChipMcK
szimek wrote:Unfortunately it doesn't start in safe mode as well. I'm getting blue screen (it's disappears too quickly to actually read anything), it restarts and then offers an option to repair the system.
In order to create a virtual machine for a .vhd or .vmdk virtual disk drive
you need to know the following:
The format of the drive: IDE or SCSI
The controller that if drive is connected thru: IDE, SCSI SAS, SATA

Without the proper information (how the drive was created - hardware configuration during the OS installation), you will get a BSOD. That screen will try to tell you the mismatch that you defined as your virtual machine.

(For Windows, F8 includes an option to stop the looping, allowing you to view the BSOD text "Disable automatic restart on system failure")

Re: Can't boot Windows 7 VHD

Posted: 21. Apr 2012, 21:23
by szimek
Thanks for the suggestion! I've finally made it working, however, now I can't see mouse cursor :)

I checked the error code I was getting (0x0000007B) and it means INACCESSIBLE_BOOT_DEVICE. I removed SATA controller and added VHD again to IDE controller and it works fine now.

Thanks!

Re: Can't boot Windows 7 VHD

Posted: 3. Jul 2012, 21:53
by iandunn
Changing the storage from SATA to IDE worked for me too.

Re: Can't boot Windows 7 VHD

Posted: 9. Dec 2012, 23:05
by rastapopulous
Just want to add I was getting a BSOD and moving the VHD from SATA to IDE fixed it. I P2V'd an old dell laptop running Windows 7 ultimate to get past the physical limit on cpu and RAM.