Cannot boot from Windws 7 install DVD in UEFI

Discussions about using Windows guests in VirtualBox.

Cannot boot from Windws 7 install DVD in UEFI

Postby Faxpl Enus » 11. Apr 2017, 22:52

I have to boot Windows 7 installation media in UEFI to repair a Windows 7 boot installed on a virtual HDD. If I boot from the DVD without UEFI, the Windows repair environment complains it's not compatible with this version of Windows. So UEFI boot of Windows 7 installation media is my only option.

Windows installer starts ok, then just hangs demonstrating “Starting Windows” forever.

The last lines in the log file are:
Code: Select all   Expand viewCollapse view
00:00:21.447132 EFI: VBoxDbg> loadimage64 'o:/w7rtm.obj.amd64fre/minkernel/boot/environ/app/cdboot/efi/objfre/amd64/cdboot.efi' 0x10000000 LB 0xa1000
00:00:28.278936 xHCI: USB Suspended
00:00:28.434514 RTC: period=0x200 (512) 64 Hz
00:00:28.587588 GIM: HyperV: Guest OS reported ID 0x1040601011db1
00:00:28.587605 GIM: HyperV: Open-source=false Vendor=0x1 OS=0x4 (Windows NT or derivative) Major=6 Minor=1 ServicePack=1 Build=7601
00:00:28.587630 GIM: HyperV: Enabled hypercall page at 0x000000001326d000
00:00:28.587649 GIM: HyperV: Enabled TSC page at 0x000000001326e000 - u64TscScale=0x106c05300000000 u64TscKHz=0x260f0e (2 494 222) Seq=1
00:00:28.587691 TM: Switching TSC mode from 'VirtTscEmulated' to 'RealTscOffset'
Faxpl Enus
 
Posts: 2
Joined: 11. Apr 2017, 22:39

Re: Cannot boot from Windws 7 install DVD in UEFI

Postby socratis » 12. Apr 2017, 09:27

From: https://forums.virtualbox.org/viewtopic ... 79#p389486
Summary: not supported.
socratis wrote:From ticket #7702 UEFI support for Windows guests:
On 2014-11-25 frank wrote:Windows 7 guests depend on proper int10 support and are not supported. We might change this eventually but this has low priority.
On 2017-02-24 frank wrote:To make it clear: Windows 8.1 and later are able to boot in EFI mode with VirtualBox. As written in comment:13, Windows 7 has different requirements but the priority of implementing them is low because Windows 7 is not that brand new anymore.

And on 2017-03-28 (two days ago), the following change was made in the documentation (r66268). The manual (ch. 3.13 Alternative firmware (EFI)) changed from:
While Mac OS X and Linux guests are known to work fine, Windows guests are currently unable to boot with the VirtualBox EFI implementation.
to:
Mac OS X, Linux and newer Windows guests are known to work fine. Windows 7 guests are unable to boot with the VirtualBox EFI implementation.

The changes in the manual will appear in the next VirtualBox release (or in the test builds as of now). I'm not sure how many people will actually read it though ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 19292
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Cannot boot from Windws 7 install DVD in UEFI

Postby Faxpl Enus » 12. Apr 2017, 17:33

Thanks! For whoever experiences a similar problem, I managed to boot VirtualBox from a gparted live CD, used gdisk to convert GPT partition table to MBR, removed reserved and boot partitions, then booted from the Windows 7 installation DVD without EFI, there in the recovery environment I restored MBR, the boot folder and the BCD. Everything works like charm now.
Faxpl Enus
 
Posts: 2
Joined: 11. Apr 2017, 22:39

Re: Cannot boot from Windws 7 install DVD in UEFI

Postby Rootman » 23. Feb 2018, 21:39

Just curious, is Win 7 64 UEFI support even on the horizon any more?

I've kept VM versions of my companies Windows PCs from our Dell supplied images around just to have a quick way and test stuff. We're almost totally out of 32 bit but still have a lot of Windows 7 64 bit EFI systems out there. Unfortunately the disk images all produce UEFI bootable systems and I sometimes need to test Win 7 64 bit stuff.
Rootman
 
Posts: 200
Joined: 1. Oct 2012, 18:29

Re: Cannot boot from Windws 7 install DVD in UEFI

Postby mpack » 24. Feb 2018, 10:34

Rootman wrote:Just curious, is Win 7 64 UEFI support even on the horizon any more?

I would doubt it. How time flies - Win7 will soon be a decade old, and I expect few installations of it in a VM require GPT support (i.e. >2TB drive in a VM), never mind EFI. Assume a certain fraction of interested users, and consider what fraction of those will be paying customers... I don't know, but I'd bet it's a vanishingly small number, getting smaller.
mpack
Site Moderator
 
Posts: 27686
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to Windows Guests

Who is online

Users browsing this forum: Google [Bot] and 20 guests