WinXP 64-bit on a modern PC (ISO boot.wim + install.wim)

Discussion in 'Windows XP / Older OS' started by Gelip, Jun 30, 2024.

  1. un user

    un user MDL Member

    Jun 16, 2013
    163
    124
    10
    In my case, WinXP X64 with USB 3.0 installed ok. Restart is normal, and, if usb mouse is connected on usb 3.0 port, in Device manager, USB driver have yellow exclamation mark. USB 2.0 are working fine. Controller is TI,
    This problem applies only on usb 3.0 ports.
    No patched ACPI driver, normal boot on mbr.
     
  2. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #122 Gelip, Dec 20, 2024
    Last edited: Dec 20, 2024
    (OP)
    @un user
    USB3 drivers require patched acpi.sys because without it is a yellow exclamation mark with an error Code10
    USB 3 ported driver fo WinXP 64-bit
    Code 10 > missing patched acpi.sys
    Code 24 > wrong LoadOrderGroup
    Code 39 > missing usbd.sys file
     
  3. un user

    un user MDL Member

    Jun 16, 2013
    163
    124
    10
    hi @Gelip.
    Yes, i have tried acpi(think is latest) from your sysprep package. But, no joy. There is no diffrence at all, error 10 on xhci controller.
     
  4. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    @un user
    I don't know what system you use, how is it configured, on what hardware, what USB drivers?
    Build ISO according to my guide and install the system using this ISO - then I can help.
     
  5. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #125 Gelip, Dec 22, 2024
    Last edited: Dec 22, 2024
    (OP)
    sysprep.7z updated

    I removed pciide.sys from archive and from the go.cmd script the IDE drivers add code:
    Code:
    echo:
    echo Enabling Intel IDE driver for QEMU virt-manager and PCI IDE for others
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7010" >nul
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7010" /v "Service" /t REG_SZ /d "intelide" /f >nul
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7010" /v "ClassGUID" /t REG_SZ /d "{4D36E96A-E325-11CE-BFC1-08002BE10318}" /f >nul
    
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#cc_0101" >nul
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#cc_0101" /v "Service" /t REG_SZ /d "pciide" /f >nul
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#cc_0101" /v "ClassGUID" /t REG_SZ /d "{4D36E96A-E325-11CE-BFC1-08002BE10318}" /f >nul
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PCIIde" /v "Start" /t REG_DWORD /d "0" /f >nul
    reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PCIIde" /v "ImagePath" /t REG_EXPAND_SZ /d "system32\DRIVERS\pciide.sys" /f >nul
    
    Now it does it sysprep.exe with the help of sysprep.inf where I added at the end two lines:
    Code:
        PCI\VEN_8086&DEV_7010=%SYSTEMROOT%\inf\mshdc.inf
        PCI\CC_0101=%SYSTEMROOT%\inf\mshdc.inf
    
     
  6. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,702
    3,810
    90
    Of topic @Gelip
    Watched your YouTube channel, love your music :stereo:
    Very cool.

    Kind regards
    :)
     
  7. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #129 Gelip, Jan 18, 2025
    Last edited: Jan 23, 2025
    (OP)
    The Map Virtual Disks... was removed in VMware Workstation 17
    I tested capture from .vmdk to install.wim using wimlib-imagex with vboot on Win10 and works:
    https://forums.mydigitallife.net/threads/update-vmware-products.36557/page-23#post-1867919
    So, if someone has to use VMware Workstation 17, they can use vboot in the guide.

    Note! vboot works only in read-only mode on Windows 7, 8, 10, 11 - therefore, it is not suitable for use in this tutorial !!!

    VMware-vix-disklib-1.1.1-207031.i386.exe
    tools can be used for mounting VMDK files:
    https://forums.mydigitallife.net/threads/update-vmware-products.36557/page-23#post-1868446
     
  8. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    files.7z & sysprep.7z updated:
    • added i_view64.ini to WinPE
    • deleted iv.exe from WinXP
     
  9. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    I recently described the problem with disconnecting USB 3.0 pendrive connected to the USB 2.0 port in Win7 when trying copy file to pendrive:
    https://forums.mydigitallife.net/th...fi-class-3-devices.82137/page-30#post-1865345
    https://forums.mydigitallife.net/th...tack-for-windows-7.81934/page-18#post-1860879
    Today I noticed the same problem in my WinPE 3.1 where I use the same USB3 driver:
    winpe_usb3_george1.png winpe_usb3_george2.png
    By accident, it turned out that the problem also exists in WinXP where I use a Generic_USB3x_6.2.9200.24610 ported driver from @George King :
    winxp_usb3_george.png

    I replaced USB3 drivers:
    • in WinPE - USB 3/XHCI driver stack for Windows 7
    • in WinXP - Generic_USB3x_6.2.9200.24610
    to my fixed daniel's USB3 AMD driver (same driver works on WinXP and on Win7) and the problem has disappeared :)

    I had to replace the driver files in files.7z (for WinPE) and in sysprep.7z (for WinXP)
    I also had to make appropriate changes in the sysprep.inf file:

    now:
    Code:
        PCI\CC_0C0330=%SYSTEMDRIVE%\Drivers\3_USB3x\amdxhc.inf
        AMDUSB30\ROOT_HUB30=%SYSTEMDRIVE%\Drivers\3_USB3x\amdhub30.inf
    
    before:
    Code:
        PCI\CC_0C0330=%SYSTEMDRIVE%\Drivers\3_USB3x\usbxhci.inf
        USB\ROOT_HUB30=%SYSTEMDRIVE%\Drivers\3_USB3x\usbhub3.inf
    
    files.7z & sysprep.7z updated
     
  10. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
  11. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #133 Gelip, Jan 31, 2025
    Last edited: Feb 1, 2025
    (OP)
    I started testing my WinXP 64-bit on same NVMe PCIe Gen 3 disk in PCIe Gen 3 x4 controller on three desktop PC in PCIe Gen 3 slots x4 or x16:
    PC1 - CPU Intel Gen 2, PC2 - CPU Intel Gen 4, PC3 - CPU Intel Gen 8
    I was surprised why WinXP boots for a long time on PC3. :eek:
    It turned out that there are two problems:
    1. Ethernet I211 network card driver (booting in Legacy MBR) - I noticed that until the driver is not installed, the system boots in 18 seconds. After installing the driver, the time increases by 10 seconds, i.e. it lasts 28 seconds. I tried to change different options in the driver properties but nothing helps. Bypassing the problem is to use another Ethernet card - in my case, PCI Syskonnect SK-9521. With this card with or without drivers installed, the system boots in 18 seconds :clap::thumbsup:
    2. bootdebug option in BCC (booting in pure UEFI) - this option is required to start the system in the pure UEFI on my Intel Gen 8 (I need TODO to resolve this). It turned out that it extends the system startup time. With the Syskonnect card it lasts 40 seconds - I did not check with the I211 card anymore, but probably the same or longer by 10 seconds, i.e. about 50 seconds in total :thumbdown::thumbdown::thumbdown:
    Therefore, because WinXP 64-bit has a Syskonnect card driver I decided to change in the configuration so that the mini-setup is asking for network settings during installation:
    Custom_settings.png syskonnect1.png syskonnect2.png
    Thanks to this, at the system installation stage, you can, for example, remove the QoS component and set a static IP without Internet access (no gateway and DNS) instead of DHCP
    To get this, I deleted the following lines from the sysprep.inf file:
    Code:
    [Identification]
        JoinWorkgroup=WORKGROUP
    
    [Networking]
        InstallDefaultComponents=Yes
    
    Now the sysprep.inf file is even more understandable and shorter :)
    The entire sysprep.inf file:
    Code:
    [Unattended]
        OemSkipEula=Yes
        ConfirmHardware=No
        DriverSigningPolicy=Ignore
        NonDriverSigningPolicy=Ignore
        UpdateInstalledDrivers=Yes
    
    [GuiUnattended]
        OemSkipWelcome=1
    
    [SysprepMassStorage]
        PCI\CC_010601=%SYSTEMDRIVE%\Drivers\1_AHCI\genahci.inf
        PCI\CC_010802=%SYSTEMDRIVE%\Drivers\2_NVMe\stornvme.inf
        PCI\CC_0C0330=%SYSTEMDRIVE%\Drivers\3_USB3x\amdxhc.inf
        AMDUSB30\ROOT_HUB30=%SYSTEMDRIVE%\Drivers\3_USB3x\amdhub30.inf
        PCI\VEN_8086&DEV_7010=%SYSTEMROOT%\inf\mshdc.inf
        PCI\CC_0101=%SYSTEMROOT%\inf\mshdc.inf
    
    sysprep.7z updated
     
  12. shhnedo

    shhnedo MDL Expert

    Mar 20, 2011
    1,884
    2,529
    60
    Was reviving a sony vaio with a pentium dual core and a radeon graphics card. Put an ssd in it, installed windows 10, booted perfectly fine in about 20 sec. Installed drivers and updates and after the restart i noticed it now takes a good minute to boot. Turns out the intel mei driver, no matter what driver I try causes the problem. :)))))) Watch out for them suckers...
     
  13. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
  14. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
  15. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    I found a problem bypass. The graphics card must be in the second slot PCIe x16 (works as x4) - connect over PCH controller - not direct to CPU controller:
    AMD_over_chipset.png
     
  16. misa ko

    misa ko MDL Novice

    Dec 1, 2022
    1
    0
    0
    Hi @Gelip

    I successfully built the image, installed and booted in VMware.

    In actual hardware, the installation is successful and after the aurora boot it just reboots.
    Same result whether debug boot is selected or not.

    Hardware
    Asus Z690-I Strix ITX motherboard 1 PCI-e slot
    Intel i5-14600K
    32GBx2 dual channel
    Sapphire RX 6800 XT

    BIOS config
    UEFI only, CSM disabled
    Secure boot disabled
    iGPU disabled
    1 SATA SSD
    Memory Remap disabled
    XHCI enabled

    Thanks in advance!
     
  17. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
  18. zcarrt

    zcarrt MDL Novice

    Apr 28, 2015
    5
    1
    0
    I was wondering do we need Windows Driver Framework v1.11 to go with USB 3.0 driver?