[TOOL] XP2ESD - Create modern Windows XP installer v1.6.2

Discussion in 'Windows XP / Older OS' started by George King, Jan 8, 2021.

  1. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    #2961 George King, Feb 2, 2024
    Last edited: Feb 2, 2024
    (OP)
    @Gelip, Yes there is some kind of bug. I was not able to fix it even I smell where is issue. It not depends on MBR or GPT or other detection mechanism. It's caused by "volume not found" which means same thing. Simply your Disk 1 Partition 1 have not mount point in system. This is connected with structure where Im reading all needed data. But probably not my fault. I was unable to change type or set partition active until I switched to direct. And seems even I tried many methods, none of them worked. For example 0x07 partition to 0x17 works fine, mount too. But opposite nope. Caused by missing mounpoint / mount volume in structure which is used to load data.

    Btw, currently mix of LISTDISK, DISKPART, BOOTICE can do all needed steps. ListDisk needs to be improved of course, I'm not givving up, just focusing to simple way to provide public release with all possible features.. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    326
    159
    10
    #2962 Gelip, Feb 3, 2024
    Last edited: Feb 3, 2024
    It is a pity that he cannot mount - without this, tool it is useless to me :( So what if it shows disks and partitions as I can't mount because diskpart shows a different partition or volume number than listdisk

    But I have already found a solution - you don't need diskpart, bootice or listdisk to search EFI partition

    Just use the mountvol command, e.g. mountvol U: /s
    Code:
    mountvol /?
    ...
        /S          Mount the EFI System Partition on the given drive.
    ...
    The command will find the partition itself and mount it under the indicated letter - in this case U: :)
    Code:
    DISKPART>
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     E   Rescue       UDF    DVD-ROM      229 MB  Healthy
      Volume 1     C   OS           NTFS   Partition     10 GB  Healthy
      Volume 2     D   Data         NTFS   Partition     29 GB  Healthy
      Volume 3                      FAT32  Partition    100 MB  Healthy    Hidden
    
    X:\windows\system32>mountvol U: /s
    
    DISKPART>
      Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
      ----------  ---  -----------  -----  ----------  -------  ---------  --------
      Volume 0     E   Rescue       UDF    DVD-ROM      229 MB  Healthy
      Volume 1     C   OS           NTFS   Partition     10 GB  Healthy
      Volume 2     D   Data         NTFS   Partition     29 GB  Healthy
      Volume 3     U                FAT32  Partition    100 MB  Healthy    Hidden
    
    The mountvol does not work if there are two or more EFI partitions but this is an unlikely scenario.

    P.S. The bcdedit.exe can edit BCD without mounting the EFI partition, but if you want to copy files to the partition, however, you need to mount.

    My script is now much simpler, shorter and transparent :cool::)
     
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    @Gelip, use LISTDISK for grabbing data only for now. Diskpart is 100% useles in this case as you need to run gazilions scripts and command to collect not exact values.

    Use listdisk to get rid of diskpart for displaying. Speed is visible in my tests.
    Use bootice for mounting and handling partition settings, just need to use partition-1 (not sure if real values are based from zero, but MS structure starts from 1 when counting physical partitions).

    Your mounvol command wont work in many cases (tested in past)

    P.S. We are not talking about only EFI partition. We call it boot partition which in MBR can be NTFS or FAT32 used for BIOS or UEFI boot. In GPT only FAT32 due UEFI boot. And we need to cover original boot methods first (My newly developed setup.cmd currently works fine with tons of scenarios, using tools mix it's much smaller because we don't need to handle with diskpart anymore, Also works with unattended without any ussue :) ).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    326
    159
    10
    No, bootice also uses other disk and partition numbers - probably the same as diskpart so still listdisk is useless for me
    What cases - give an example other than I wrote (two or more EFI partitions)
    mountvol /s works only on the GPT disk when there is an EFI partition on it
     
  5. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    @Gelip Read again this, thats reality.
    Code:
    https://forums.mydigitallife.net/threads/tool-xp2esd-create-modern-windows-xp-installer-v1-6-2.82935/page-148#post-1823547
    And again, as you told mountvol is useless when it works only in GPT disk.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    384
    237
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,003
    2,923
    150
  9. Protato

    Protato MDL Novice

    Feb 4, 2024
    2
    0
    0
    Hey, I just started using this tool but it seems to hang after step 4 of making the ISO, mine has been running about an hour and hasn't gotten past that point. Do I have something missing or should I try to deploy the tool on something older instead of Windows 11
     
  10. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    Code:
    REM Change default console width to 95
    reg add "HKLM\TEMPDEFAULT\Console\%%SystemRoot%%_system32_cmd.exe" /v "ScreenBufferSize" /t REG_DWORD /d "19660895" /f >nul
    reg add "HKLM\TEMPDEFAULT\Console\%%SystemRoot%%_system32_cmd.exe" /v "WindowSize" /t REG_DWORD /d "1638495" /f >nul
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Protato

    Protato MDL Novice

    Feb 4, 2024
    2
    0
    0
    So an update to my previous query, I moved the location where I was running the project and I managed to get it to create the virtual machine; however, I seem to be doing something wrong I suppose because the VM has been running for 6 hours straight just doing the first part of the install.

    i9-9900k
    32GB of ram
    running from an SSD
    Windows 11
    750 Ti (dont ask why, just temporary anyway)

    I feel like my vm shouldnt be having these issues, especially since its running at less than 11% of my cpu and using 520mb of ram at the moment. Any advice to speed this up would be amazing.
     
  12. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    326
    159
    10
  13. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    3,350
    2,523
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    #2974 George King, Feb 9, 2024
    Last edited: Feb 10, 2024
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    397
    98
    10
    Testing needs to be done next week

    @George King version 1.7 ? release ? no news

    thank you for works
     
  16. simeon88

    simeon88 MDL Novice

    Nov 27, 2023
    16
    1
    0
    Hey George King If Its no too much to ask can i test it as well i really be grateful to be your beta tester on something i have been trying to do for years (Installing Win XP on modern hardware)
     
  17. user469

    user469 MDL Member

    Oct 23, 2015
    128
    14
    10
    Fantastic and great future, can i help in any way my parttion are very strange
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. pilipali

    pilipali MDL Novice

    May 23, 2023
    1
    0
    0
    @George King
    On the first page, you should replace the link to Snappy (sdi-tool) to Snappy Origin (snappy-driver-installer).
    The former's download page links to malware/unauthorized version of Snappy.
    There's apparently some sort of drama going on how the original site was hijacked from the original author.


    Also, this is off-topic I guess, but is there something wrong with the "Ramsey XP" besides the whole copyright infringement thing...
    Installing via XP2ESD seems like a bit of a hassle. I just want to revisit old XP games on a modern-ish system that is not officially supported.
     
  19. George King

    George King MDL Expert

    Aug 5, 2009
    1,961
    2,454
    60
    When times come, first post will be rewritten.

    Well using “Integral edition” is different method a lot. We are deploying Syspreped images in same way like all modern Windows. Instead installing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. wyf180

    wyf180 MDL Novice

    Jul 18, 2018
    46
    0
    0