BetaArchive Logo
Navigation Home Database Screenshots Gallery Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 13d, 2h, 38m | CPU: 48% | MEM: 5362MB of 11437MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 92 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sun Sep 23, 2018 9:38 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
OK, the problem with the signatures solved :)

WinXP x64 boot in VMware 8 and in Oracle VM VirtualBox 5.2.18 using EFI files from Windows Server Longhorn 6001.16497, but only with the option Disable Driver Signature Enforcement. You do not need any .CAT files. To run WinXP x64, press F8 at startup time or add an option in the BCD file that always displays the Advanced Boot Options menu - DisplayAdvancedOptions:
Image

Image

On X220 there is no longer a problem with a white bar (and signatures) :P :) but there is another problem. Loader start, a green wallpaper appears with the words Starting Windows Vista:
Image
but after a few seconds a black screen appears only. :(

In the laptop I do not have a serial port or firewire to debug in WinDbg.

P.S. BCD file is get from installed Windows Server 2008 6001.16497 in VMware. Next edited with BOOTICE on running WinXP x64 in VMware 8 in BIOS mode. I have removed unnecessary entries and elements make the file more readable. This is file from VMware (NTFS driver integrated) where WinXP x64 is on the one NTFS partition:
https://www.dropbox.com/s/uwt74jyrt0blb ... n.zip?dl=0
To use on real machine (without NTFS driver) FAT32 C: + NTFS D: you need edit options ApplicationDevice and OSDevice from running WinXP x64 in BIOS mode on your real machine (laptop).


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Wed Oct 03, 2018 11:52 pm 
Reply with quote
Offline

Joined
Wed Oct 03, 2018 11:48 pm

Posts
3

Favourite OS
4074, 8600, 1803
The answer is no, except if you have access to the source code or you have some software trickery :cool:


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sat Oct 06, 2018 8:17 am 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
I am trying to understand why WinXP x64 starts in VMware? I thought that it works because there are Legacy modules in the firmware. Using UEFITool, I removed such modules from the 6021 firmware:
Code:
LegacyMemoryAllocatorDxe
WinCSMDxe
CSMLinkerDxe
LegacyBiosDxe
Image
but WinXP is still booting without a problem :)

I found information that EFI VMware firmware is UEFI Class 3 platforms - it is a "pure UEFI" platform lacking a CSM:
The VMware virtual platform does not support the use of a Compatibility Support Module, which means that OSes that are not EFI-aware may only be booted by configuring the virtual machine to use BIOS. When a virtual machine is configured to use virtual EFI firmware, it is a "pure UEFI" platform lacking a CSM, often referred to as a UEFI Class 3 platform. (There is the need for a small amount of compatibility code to boot earlier versions of Windows atop our virtual EFI firmware, however it is not a full Compatibility Support Module.)

This means that WinXP x64 boots in UEFI Class 3 so he should also boot on a physical machine after disabling CSM in CMOS :?


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sat Oct 06, 2018 3:30 pm 
Reply with quote
Offline

Joined
Fri Sep 07, 2012 6:45 pm

Posts
142
Beta12 wrote:
I am trying to understand why WinXP x64 starts in VMware?


I still think the problem lies in the Video handling part. My though is that you machine with the latest files from windows server is already booting to XP (aka NTOSKrnl is already loaded and running), but it dies when tries to initialize Win32k and the video part (the Windows Desktop). Unfortunately, since there isn't BOOTVID, BSoDs don't work and there isn't way to tell what is happening without attaching a WinDBG session to the PC.

Maybe you can get a little insight enabling a kernel or a full core dump in windows before attempting UEFI boot, and trying to retrieve the *.dmp file after each attempt to read it with WinDBG. Is the least you can do when the machine doesn't have any other means to be debugged.


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Tue Oct 09, 2018 11:38 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
Hyoenmadan86 wrote:
I still think the problem lies in the Video handling part.
Yes you are right - problem lies in the Video handling part. Finally, success :D :P :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen: I boot WinXP x64 on X220 in EFI without screen (without any video driver) - this post helped me:
Install Windows 7 at UEFI Graphics Output Protocol (GOP) hardware

What to do:
  • uninstall graphics driver Intel HD Graphics (to prevent the autoinstallation of the driver after reboot, you need to find in which file oemx.inf was a graphics driver in C:\WINDOWS\Inf and delete it)
  • change Start REG_DWORD to 4 two services - vga and VgaSave in regedit:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vga
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VgaSave

    and probably also in subkey ControlSet001
  • enable Remote Desktop to possible connect from other PC:
    Image
X220 boot, on LCD screen a wallpaper with the message Starting Windows Vista is displayed but I hear Windows start sound and possible connect over Remote Desktop :-):
Image

BCD file as before without changes. AIDA64 display correct info DMI, Motherboard etc. (in VMware DMI not work)


Last edited by Beta12 on Sun Oct 21, 2018 8:56 pm, edited 2 times in total.

Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sat Oct 13, 2018 3:42 am 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
I found a very interesting topic where users try to run Win7 x64 in EFI mode on Mac computers (Mac computers have an EFI firmware): Win7 x64 booting natively via EFI (no BIOS emulation)
If the graphics card is connected using a PCI bridge, then to start Win7 in EFI it is enough to change several PCI registers of the native PCI bridge in EFI Shell - I/O space and VGA enable:
Image
Mac Mini Model 2011 have identical graphics card like ThinkPad X220 - Intel HD3000 and on this Mac users can not run Win7 x64 in EFI like I do WinXP x64 on X220 :( :
I see many of you solve this problem by setting the PCI Command register of the videocard to 7 and by setting the VGAE register of the corresponding parent PCI bridge to 8.

For my Mac Mini Model 2011 with integrated Intel HD3000 graphic card this does not work. First of all, the PCI command register of the videocard has already the value 7, so I do not need to set it again.

Secondly, the Video Card operates directly on PCI bus 0. So there is no PCI bridge in between the video card and bus 0.


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Mon Oct 22, 2018 6:41 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
*hehe* *hehe* <:o) <:o) <:o) 8-| 8-|
I found a way to run WinXP x64 in EFI mode with a working display on ThinkPad X220. It is possible using the driver:
Universal VESA/VBE Video Display Driver (for Windows NT Architecture)

Direct link: vbempk.zip - Release version beta 2015.01.01

Just install the driver from vbempk\VBE30\XPAMD64\PNP
Image

Note! Before installation, the driver PNP vbemp.sys must be manually copied to WINDOWS\system32\drivers otherwise error:
Code:
A service installation section in this INF is invalid.
3D functions do not work but it's better than a black screen or Remote Desktop :D :P

Please test and write if it worked.


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Thu Nov 01, 2018 12:59 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
The system can be installed to be on the C: partition not D: e.g. 100MB + 5GB NTFS Active + rest NTFS. In setup Win7 from diskpart:
Code:
   select disk 0
   clean
   create partition primary size=100
   create partition primary 5120
   active
   format fs=ntfs quick
   create partition primary
   format fs=ntfs quick

Now install WinXP on C: 5GB (Windows Setup recognizes partition 100MB as E:)
In running WinXP in legacy mode:
  • format partition 100MB as FAT32 - Windows auto-assign letter e.g. E:
  • copy boot files (ntldr, boot.ini, NTDETECT.COM) from C: to E: (FAT32)
  • copy BCD and EFI files to appropriate locations on E: (FAT32)
  • in BOOTICE delete assigned letter E: from FAT32 partition and Activate this partition
  • install all drivers and video driver Universal VESA/VBE Video Display Driver
This is what the 500GB drive looks like divided into three partitions:
Image

FAT32 partition with assigned letter U:
Image

From now on you can use the Legacy or EFI mode.

By using bcfg in precompiled EFI Shell v2 you can also add the system loader entry to NVRAM:
Image



The FAT32 partition can be mounted at any time by assigning a letter using BOOTICE.


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sat Nov 17, 2018 8:58 am 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
jedixo wrote:
I created an account to share this with you. I think this is really interesting getting xp to boot using EFI

I am trying xp64 on hardware too (hp 6530b laptop that has an early EFI implementation) and I can get windows to start loading but it hangs on something I haven't figured yet with a black screen. booting in safemode shows the vista beta 2 loader loads past crcdisk.sys then hangs. I tired to boot with boot logging enabled but it doesn't get far enough to create a ntboot.log file.

I will continue experimenting

Have you tried to run WinXP x64 using EFI files with Windows Server Longhorn 2008 6.0.6001.16497 and a BCD file? Try to install the original graphics driver or VBEMP NT Project Universal VESA / VBE


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Fri Apr 19, 2019 5:23 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
Beta12 wrote:
Note! Before installation, the driver PNP vbemp.sys must be manually copied to WINDOWS\system32\drivers otherwise error:
Code:
A service installation section in this INF is invalid.

I found an error in the .INF file.
For a 64-bit driver it should be like this:
Code:
[SourceDisksNames]
1 = %DiskId1%,,,""

For a 32-bit driver it should be like this:
Code:
[SourceDisksNames.x86]
1 = %DiskId1%,,,""

Now you do not have to manually copy the .sys file.


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Mon Apr 22, 2019 9:42 am 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
One more video to prove that WinXP x64 can be launched in UEFI:


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Tue Apr 23, 2019 9:24 am 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
You can change the default Aurora bootscreen on your own, read this:
How change EFI boot screen Server 2008 Longhorn 6001.16497

for example like this:

Image

xp64_winload_efi_mui.zip

Extract file winload.efi.mui to %windir%\system32\en-US


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sat May 18, 2019 12:47 pm 
Reply with quote
Offline

Joined
Sat Apr 29, 2017 2:21 pm

Posts
73
I've only just scanned through this thread now. While I can't give any info about EFI boot for XP, I can state that some versions of XP used BCD (rather than NTLDR) to boot.

A few years ago I bought an Advent NetBook, it came with XP Home which was there for a while before I installed Linux. In fiddling with the boot setup at the time (to preserve multi-OS boot), I found the XP startup was not using NTLDR.

So my first experience with the BCD stuff was trying to understand how to preserve it for multi boot when playing with that machine.

The machine was a 32bit Atom, used BIOS for boot, was MBR partitioned (with an "OS Recovery") partition, yet used BCD instead of NTLDR.


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Sat May 18, 2019 3:17 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
dfawcus wrote:
The machine was a 32bit Atom, used BIOS for boot, was MBR partitioned (with an "OS Recovery") partition, yet used BCD instead of NTLDR.

BCD is a replacement for boot.ini and BOOTMGR is a replacement for NTLDR
WinXP x86 can be started using BCD + NTLDR or BCD + winload.exe
WinXP x64 can be started using BCD + winload.exe
WinXP x86 or x64 can be started in UEFI mode using BCD + winload.efi

winload.exe and winload.efi from Vista Beta

That's right - ADVENT laptops used BCD - see, for example, Advent 4211 user guide page 31:
Image


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Tue May 21, 2019 9:43 pm 
Reply with quote
Offline

Joined
Tue May 21, 2019 9:36 pm

Posts
2
Beta12 wrote:
OK, the problem with the signatures solved :)

WinXP x64 boot in VMware 8 and in Oracle VM VirtualBox 5.2.18 using EFI files from Windows Server Longhorn 6001.16497, but only with the option Disable Driver Signature Enforcement. You do not need any .CAT files. To run WinXP x64, press F8 at startup time or add an option in the BCD file that always displays the Advanced Boot Options menu - DisplayAdvancedOptions:
Image

...

What is the BCD editor that you're using here? It doesn't look like any of the others I've found, and it's running in XP which is a plus.

Thanks in advance!


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Wed May 22, 2019 7:46 pm 
Reply with quote
FTP Access
Offline

Joined
Sat Sep 21, 2013 11:19 am

Posts
120

Favourite OS
WinXP SP2 x64 5.2.3790
bc485003 wrote:
What is the BCD editor that you're using here? It doesn't look like any of the others I've found, and it's running in XP which is a plus.

Thanks in advance!

BOOTICE by Pauly e.g. version 1.3.2
Image


Top  Profile
 PostPost subject: Re: Does Windows XP have EFI?        Posted: Thu May 23, 2019 2:06 am 
Reply with quote
Offline

Joined
Tue May 21, 2019 9:36 pm

Posts
2
Beta12 wrote:
BOOTICE by Pauly e.g. version 1.3.2

Great, thank you very much. Now if only there were a "Can XP boot from eMMC?" thread with a solution as a good as the UEFI solution in this thread? ;)


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 92 posts ]  Go to page Previous  1, 2, 3, 4




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2019

 

Sitemap | XML | RSS


Affiliate