[WorksForMe] Unable to install UEFI Windows guests in Windows host

Discussions about using Windows guests in VirtualBox.
Post Reply
Ransom
Posts: 37
Joined: 3. Mar 2017, 13:38
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: WinXP-SP3, Vista_x32, Win7_Pro_x64, Win8.1_x32_Home, Win8.1_x64_Pro, Win10_Pro
Location: Germany

[WorksForMe] Unable to install UEFI Windows guests in Windows host

Post by Ransom »

Hello guys,

I have already installed many Windows guests (WinXP, Vista, Win7x64, Win8.1x32, Win8.1x64 and Win10Prox64) in my Windows Host of VirtualBox – all in BIOS/MBR mode so far. Now I wanted to do a UEFI installation for the first time.

With Win7SP1x64 it seemed to work at first, then the screen froze with a red bar above the screen.

At Win10Pro_x64_1903 comes “Press ESC in x seconds to skip startup.nsh or any other key to continue.” appears after a short time. Then comes “Shell>”

I have already searched so many pages, but nowhere found my problem described. Only once, with the red bar, I was told to switch off the Secure Boot, but I can’t see where I could switch off the Secure Boot under VirtualBox, this is actually in the BIOS resp. my BIOS doesn’t have this function at all (only “Launch CSM” enable/disable resp. “Fast Boot” enable/disable).

Who knows advice?

Greetings
ransom
Last edited by socratis on 20. May 2019, 17:05, edited 1 time in total.
Reason: Marked as [WorksForMe].
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to install UEFI Windows guests in Windows host

Post by socratis »

Ransom wrote:With Win7SP1x64 it seemed to work at first, then the screen froze with a red bar above the screen.
I highly doubt that it would work, because you see according to the User Manual (great tool BTW), ch. 3.14. Alternative Firmware (EFI):
Windows 7 guests are unable to boot with the Oracle VM VirtualBox EFI implementation.
Ransom wrote:At Win10Pro_x64_1903
That's not an official Microsoft ISO, since 1903 has not been released yet. But, if you download the official Win10_1809Oct ISO, it works just great.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Ransom
Posts: 37
Joined: 3. Mar 2017, 13:38
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: WinXP-SP3, Vista_x32, Win7_Pro_x64, Win8.1_x32_Home, Win8.1_x64_Pro, Win10_Pro
Location: Germany

Re: Unable to install UEFI Windows guests in Windows host

Post by Ransom »

Hello socratis,

Thank you for your fast answer.

@ Win7SP1x64: It really worked at first. I made a sreenshot (Host + E), it’s not the same like it was on my screen, but maybe you can see of it, that there was really a beginning.

@ Win10x64_1809: I have downloaded the current ISO from the link offered by you, but the error described above still happens.

Greetings,
Ransom
Attachments
VirtualBox_Win7x64_Pro_UEFI_19_05_2019_21_30_55.png
VirtualBox_Win7x64_Pro_UEFI_19_05_2019_21_30_55.png (4.1 KiB) Viewed 3073 times
Ransom
Posts: 37
Joined: 3. Mar 2017, 13:38
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: WinXP-SP3, Vista_x32, Win7_Pro_x64, Win8.1_x32_Home, Win8.1_x64_Pro, Win10_Pro
Location: Germany

Re: Unable to install UEFI Windows guests in Windows host

Post by Ransom »

Hello socratis,

I’m rowing back. It works with the ISO you suggested. I made it a habit to implement my serial number as pid.txt in the ISO. This changed ISO was probably not accepted by VirtualBox. Now I had tried it again with the untouched, original ISO for safety’s sake – and lo and behold, it worked.

I can’t say whether it really became a real UEFI installation yet, because I have to proceed in a very specific way to keep an activated VirtualBox activated in the future, but if everything went smoothly, I’ll get back to you.

Best regards,
Ransom
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to install UEFI Windows guests in Windows host

Post by socratis »

I know it was working because I tested it right before I replied... ;)
But, what do you mean by:
Ransom wrote:I made it a habit to implement my serial number as pid.txt in the ISO
As far as what you see in the Win7 attempt, that's exactly what's called a "failure to boot Win7 with EFI". ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Ransom
Posts: 37
Joined: 3. Mar 2017, 13:38
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: WinXP-SP3, Vista_x32, Win7_Pro_x64, Win8.1_x32_Home, Win8.1_x64_Pro, Win10_Pro
Location: Germany

Re: Unable to install UEFI Windows guests in Windows host

Post by Ransom »

Hello socratis,

The thing with the pid.txt:

Because I often do CleanInstalls (or installations in VirtualBox), I don’t want to enter the serial number manually every time. Somewhere in the web it was said that you should create a text file with Notepad (or similar) according to the following pattern and use the serial number instead of the letters. This file should be called “pid.txt” and copied into the folder “sources”.
[PID]
Value=AAAAA-BBBBB-CCCCC-DDDDD-EEEEE
So when I download an ISO from Microsoft, I unpack it, copy my pid.txt to sources and create another ISO using ImgBurn. Obviously VirtualBox doesn’t like such modified ISOs.

@Win7: Here the thing with pid.txt doesn’t work yet, but my Win7-Pro-SP1x64-ISO comes from Microsoft. The installation process starts (at least in my case) and doesn’t stop with the error message “failure to boot Win7 with EFI”, but a red bar appears above the screen, and then the whole process freezes.

Best regards,
Ransom
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Unable to install UEFI Windows guests in Windows host

Post by socratis »

Thanks for the info on the "pid.txt", wasn't aware of that. I guess something breaks in there that makes it incompatible. As for the red bar in Win7, yes, I told you, that's what everybody sees, that's what makes it "not working". ;)

Marking this as [WorksForMe].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Martin
Volunteer
Posts: 2560
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: [WorksForMe] Unable to install UEFI Windows guests in Windows host

Post by Martin »

I don't think the problem is the additional txt file. More probably the process of "create another ISO using ImgBurn" is not creating a correct UEFI enabled ISO.
Ransom
Posts: 37
Joined: 3. Mar 2017, 13:38
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: WinXP-SP3, Vista_x32, Win7_Pro_x64, Win8.1_x32_Home, Win8.1_x64_Pro, Win10_Pro
Location: Germany

Re: [WorksForMe] Unable to install UEFI Windows guests in Windows host

Post by Ransom »

Hello Martin,

I thought you are right with your conjecture and tried it therefore with UltraISO to insert the pid.txt.

The result was not exactly the same like with ImgBurn (“screen froze with a red bar above the screen”) but in the end it also did not work. Only with an untouched original ISO-file, generated with the MediaCreationTool of Microsoft, it works.

Best regards,
Ransom
Post Reply