Jump to content

Recommended Posts


Posted

@Damnation

Yes, thank you. The MyPal-68 browser did not show it, but the Thorium.

Is it enough, to put winload.exe in system32 and follow the Tutorial from Skull?

"

Step 1:
- From my boot files or any Windows VIsta CD, copy boot folder and place on C:\
Step 2:
- From my boot files or any Windows Vista CD, copy bootmgr and place on C:\
Step 3:
- From my boot files, copy winload.exe to your Windows XP installation, on Windows\System32
Step 4:
- Install EasyBCD, preferly version 1.7.2. I can upload to you. This program require .Net Framework 2.0.
Step 5:
- After install easyBCD, open the program, You will get some erros, only click "ok" and wait program start. The default entry presents on BCD are wrong for now, you need delete on "Add/Remove Entries" and add a new entry, on same page on "Add and entry" your choose on type combobox: "Windows Vista/longhorn", edit Name and choose drive. Next, click in "Add entry"
Step 6:
- In "Manage bootloader section (a button named, like Other what i talked), you see "Bootloader Installtion options", you choose "Reinstall The Vista bootloader", and click in "Write MBR". You can verify if it is ok on "Viwe Settings", if you added entry is ok.
Step 7:
- I recommend add a Ntldr based entry for fallback. For it, you back to Step 5 and instead choose "Windows Vista/Longhorn", you choose "Windows NT/2000/XP/2003", click em "Add Entry". For default, the entry has wrong partition. You need edit in "change Settings" section. There, you will see "Entry based settings", and select the entry what you already add (XP based). And after, choose "Drive" where is windows XP is installed (need ntldr and ntdetect.com placed there too) (for default, C:). Click em "Save Settings".
Final Step:
- If all ok, you will restart and on Windows Vista based entry you press "F8" and choose "Disable driver integrity checks"

"

I think, that this works together with csmwarp.efi, all in a Fat32 partition.

From @canonkong I remember, that he uses freeldr.sys and the menu configuration file for this.

So, may be this UEFI boot works also from an MBR and no BCD is needed

Dietmar

Dietmar

Posted (edited)

@Dietmar

For example, I have a 256G SSD. Utilize DiskGenius to convert the format of this 256GB hard disk to MBR mode, and subsequently create two primary partitions. One of these partitions must be formatted in FAT32 with a size ranging from 100MB to 300MB. Next, establish a folder titled "EFI\BOOT" within this partition and place the file "bootx64.efi" (formerly known as "csmwrap.efi") inside the "EFI\BOOT" folder. The other primary partition can be formatted as either FAT32 or NTFS for the purpose of installing the operating system. Upon startup, the computer will automatically boot from "bootx64.efi", which will then search for and initiate the operating system from the installed hard drive.

And one important thing, disable Above 4g MMIO BIOS Assignment, only gigabye intel 800 series mainboads have this setting. If you not have gigabye intel 800 series mainboads, I thing can give up. Because I tried to disable it for ASUS/MSI, but faild, even I used mod bios.

Edited by canonkong
Posted (edited)

@canonkong @Dietmar

Check out my method from my tutorial - I use 100MB FAT32 partition for UEFI.

Wow. Finally, something new :rolleyes:

I just found this topic and I'm going to test in virt-manager because I don't have real hardware without CSM

P.S. I wonder if it works if we disable CSM in CMOS setup on hardware with CSM support?

In VMware Workstation not work:
vmware-no-CSM.png csmwrap-not-work.png

Edited by reboot12
Posted (edited)

WOW, in virt-manager this works :rolleyes:
My syspreped WinXP 32-bit works but black screen - HDD LED flashing - this means that mini-setup works - but probably because I use Debian Trixie and default UEFI 64-bit OVMF firmware. I need test OVMF 2016

I test Debian 9 + OVMF 64-bit 2016. Wrapper work, my WinXP 32-bit installer (WinPE 10 based) boot OK from ISO:
OVMF64-1.png OVMF64-2.png OVMF64-3.png OVMF64-4.png

WinPE 3.1 based installer - black screen but probabbly works because HDD LED blink:
OVMF64-5.png

With PCIe AMD6450 passthrough csmwrapper display this (second picture):
AMD6450-passthrough-csmwrap1.png AMD6450-passthrough-csmwrap2.jpg

Make experiment:

  • switch virtual machine to legacy bios and mini-setup run to install WinXP
  • install AMD 6450 drivers
  • switch machine back to UEFI64
  • boot using CSMWrapper and this time ... still stuck on second picture (CSMWrap info)
Edited by reboot12
Posted (edited)

Make test 2 with Windows 10 Micro x86 and CSMWrapper work OK :cheerleader::rolleyes:

  • while install in Legacy mode I make 2 partitions in diskpart - 100MB FAT32 + rest for OS
  • copy CSMWrap to FAT32 as EFI\Boot\bootx64.efi
  • switch machine to UEFI64 OVMF 2016
  • boot vm and Win10 boot OK - OS work in Legacy mode - no UEFI enviroments on VGA virtual card PCI\VEN_1234&DEV_1111 in 800x600:
    micro10-CSMWrap-OK.png virtual-VGA-CSMWrap.png
  • after passthrough PCIe AMD6450 card & install AMD drivers works also second screen on AMD6450 :rolleyes:
    AMD6450-QEMU-VGA-CSMWrap.png
Edited by reboot12
Posted

@reboot12

How do you Setup your XP bit 32?

Is it with ntldr or do you use winload.exe?

I would be happy, when you can make a Tutorial,

how to use CSMWrap.efi on real hardware

Dietmar

Posted (edited)

CSMWrap work on real hardware Asus H61 - integrated iGPU Sandy Bridge. SeaBIOS see only USB Boot Device after delay if disk mode is AHCI. After switch mode to IDE see also HDD SATA and CD/DVD ROM no-delay

I tested boot from:

  • my XP 32 or 64-bit - stuck on SeaBIOS and colored lines but OS probably works
  • my Win7 64-bit or my XP installer based on Win7 64-bit - stuck on SeaBIOS and colored lines but OS probably works
  • Win8 Developer Preview 32-bit - black screen - I don't know if OS works
  • Win10 LTSB 2015 32-bit - boot OK
  • Debian 13 Trixie 64-bit - grub boot OK but no native monitor res - small probable 800x600 ?
  • Debian 6 32-bit Live console only - grub boot OK but black screen also in fail safe but probably works because after press Ctrl+Alt+Del DVD-Rom eject CD and then press Enter restart PC
  • GRUB4DOS USB stick menu - work OK but no native monitor res - probably 800x600 ?
  • Acronis Backup & Recovery 11.5 Linux based - unable to set video mode 640x480x4 Abort! Acronis Loader: Not possible run Start Menu, Enter to continue. After select VESA mode e.g. 1024x768x32 Loading, please wait...
  • Acronis True Image 2010 Linux based - boot OK
  • Vista Longhorn Beta 5384 64-bit - Windows is loading files... and colored lines and Install Window screen displayed on previous Windows loading files. Make screenshot is in 800x600 24BPP (area installer windows, without black)
    vista5384-x64.jpg 800x600.png screenshot.png
  • Server 2008 Longhorn 16497 64-bit - only SeaBIOS red lines:
    server-16497-x64.jpg
Edited by reboot12
Posted (edited)

Yeeeeeeaaaaaaaaaaa!!! This works :cheerleader::rolleyes::worship:

First time WinXP 32-bit on UEFI 64-bit using CSMWrap 1.1.0

virt-manager QEMU on Debian 9, OVMF_CODE-pure-efi.fd 64-bit 2016, passthrough PCIe AMD6450 graphics card (drivers installed), bootmgr + winload.exe 5472 x86 (patched) + BCD

Virtual graphics card VGA - stuck on aurora boot screen but WinXP work on AMD 6450:
5472-x86-winload-exe-patched-amd6450.png 5472-x86-winload-exe-patched-VGA-QEMU.pn CSMWrap.png virt-manager-Debian9.png

Test on real hardware Asus H61 iGPU - works in safe mode in 800x600 on vga.sys - GUID 23A set to 800x600 60Hz
safe-mode-asus-h61.jpg

If change GUID 23A to e.g. 3840x2160 1Hz then safe mode work in 1024x768:
safe-mode-GUID23-A-high.png

Edited by reboot12
Posted (edited)

Test, test, test and noticed that CSMWrap works differently on each machine or does not work:

  • virt-manager - wrapper work, XP32 need Longhorn 5472 loader - tested AMD6450 driver but probably work also on vga.sys
  • Asus H61 (iGPU 2gen) - wrapper work, SATA mode IDE, XP32 need Longhorn 5472 loader and work on vga.sys
  • Asus B85 (iGPU 4gen) - wrapper run but stuck on CALL16 - not start SeaBIOS
  • AIMB-786 (CPU 8Gen, PCIe AMD7450) - wrapper work from NVMe MBR disk, SATA mode AHCI, XP64 boot on standard ntldr + NTDETECT.COM :rolleyes:
    Quote

    1.0.0

    Initial Release!

    Booting FreeDOS and Windows XP/7 is possible in QEMU and some physical machines.

    Full E820/SMBIOS/ACPI support

     

Edited by reboot12

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   1 member

×
×
  • Create New...