
Boot to WinPE and install XP from an XP ISO using winnt32.exe
If the Easy2Boot Windows XP two-step process is not working on some systems, try this WinPE method instead. With this method you can also automate the install.
A removable-type of USB E2B drive is required (or a WinHelper USB Flash drive if using E2B on a USB HDD).
- Vanilla Microsoft XP ISO (unmodified)
- Can only install to IDE Hard disk (unless nLited ISO is used which includes Mass Storage Drivers)
- Fast - can be automated with no user input once install starts
- USB drive is not required to be left connected once text-mode setup has completed
- No 2nd reboot to E2B menu required
- A Vista/7/8/10 32-bit Windows Install ISO (or WinPE ISO) is also required
With this method you only need to boot to the E2B USB drive once and the E2B drive is not required once the initial file copy phase has finished. In addition, you can use an unattend.txt file to automate the install process. The disadvantage with this method is that if you are installing to an AHCI\SATA\SCSI\RAID system, then you need to use a modified XP Install ISO that contains the correct drivers (i.e. nLited with the correct mass storage driver for the target system).
This process requires two ISOs, one of which must be a Vista (or later) Install ISO (e.g. Vista Install ISO, Win7 Install ISO, Win8 Install ISO, SVRk2012 Install ISO, SVR2K8 Install ISO) or a WiNPE ISO. E2B will boot from this ISO to use WinPE. Under WinPE it will load the XP ISO file as a virtual CD and then, after formatting the target hard disk, will run XP winnt32.exe to install XP onto the target partition.
This method will also work if booting from an exFAT formatted Easy2Boot USB drive using a Win7/8 WinPE or Install DVD. This method can also be used with XP install ISOs that contain $oem$ folders.
Although you are asked for a partition size, you can later skip over partitioning and formatting of the drive. If you specify a partition size and an unattend.txt, when you later confirm with Y - the disk will be wiped, re-partitioned, re-formatted and the whole XP build will continue automatically without further user input being required.
The XP ISO should have any mass storage drivers already integrated (nLite'd) as required by the system (e.g. AHCI drivers).
Note: There is an example file in \_ISO\Windows\XP for an Asus EeePC install.
These installs work in a similar way to Vista/7/8 installs, ImDisk is used to load the ISO file as a virtual DVD:
1. Easy2Boot overwrites \AutoUnattend.xml and \Unattend.xml with \_ISO\E2B\FiraDisk\auwinnt.xml2. Windows Setup or PE boots3. WinPE Setup looks for \AutoUnattend.xml file on any REMOVABLE DRIVE (e.g. USB Flash drive or CD/DVD) - WinPE looks for \Unattend.xml when wpeinit runs.4. PE runs the WindowsPE RunSynchronous command from the .xml file which then looks for and runs LoadIsoW.cmd5. \_ISO\E2B\FiraDisk\LoadIsoW.cmd loads the XP ISO as a virtual drive and then runs \_ISO\E2B\FiraDisk\RUNWINNT.cmd6. RUNWINNT.cmd prompts the user and formats, or wipes and partitions the target drive and runs winnt32.exe with the correct command line parameters.
You can change the name of the XP Install ISO files as you wish (but keep the .ISO file extension).
This method requires two ISO files.
-
The first ISO is just your Windows XP Install ISO - i.e. the OS that you want to install (this does NOT need to be contiguous)
- The second ISO needs to be a 32-bit WinPE v2/3/4 ISO - this can be a whole Vista/Win7/Win8 Install ISO OR just a Vista/7/8 WinPE ISO (Win8 PE recommended)
- AutoUnattend.xml (overwritten - required for Win Vista and later OS Install ISOs),
- Unattend.xml (overwritten - required for WinPE ISOs)
- WINHELPER.USB (marker file to find correct USB drive)
Note: E2B can install any number of Windows ISOs because it uses a special feature of Vista+ OS's which looks for a removable media drive such as a USB Flash drive or DVD. If you only want to install ONE Windows Vista/7/8 ISO using E2B from a USB Hard disk then you can accomplish this without the need for a 'Helper' Flash drive by simply extracting the whole \sources folder from the Windows Install ISO using 7Zip and copying the \sources folder to the root of your E2B Hard drive. If you delete the \sources\ei.cfg file then all available versions (e.g. Basic, Professional, Ultimate) will be offered. Of course, if you do this, you can then only install the version of Windows that is in the \sources folder on your hard disk. See here for details on installing Win7 in this way.
How to make a WinPE ISO
You can use pretty much any 32-bit WinPE v2/3/4 ISO that you have on your Easy2Boot drive or a Windows Install ISO (e.g. an existing Windows 7 or 8 Install DVD ISO that is already on your E2B drive, but not an XP-based ISO).
OR
You can make a 150MB WinPE ISO by downloading and using the >3GB Windows WAIK (use copype x86 c:\winpe3) and make an iso file using mkfsiso from the Windows command line.
OR
A much easier and fully automated way to obtain a bootable WinPE3 ISO that is also useful as a rescue ISO (a download and then just a few mouse clicks!) is to follow Tutorial 107 and make a Macrium Reflect Rescue ISO. This ISO can then be used with this method to install XP and as a general purpose rescue ISO (you can put it in the \_ISO\MainMenu, \_ISO\MainMenu\MNU or any of the \_ISO\Windows\xxx folders).
Method
1. Ensure you have an XP Install ISO file in the \_ISO\Windows\XP folder (any .iso filename can be used)
2. Make sure you have a 32-bit Vista, 7 or 8 Install ISO or WinPE v2/3/4 ISO in one of the \_ISO sub-folders - the WinPE .iso file can have any filename you like.
3. The file at \_ISO\Windows\WINPE_INST.TAG should be already present (don't delete it!) - if you delete it you will not see the 'Install any ISO using WinPE' option in the menu!
4. You can add your own unattend.txt file to the \_ISO\Windows\XP folder (use any suitable filename but it must end in .txt). Use the sample UK .txt file as a template. The sample one provided will run Setup without any user interaction.
5. Run WinContig (RMPrepUSB - Ctrl+F2) to ensure the PE ISO file is contiguous
6. If you are booting from an Easy2Boot USB Hard drive, you also need to prepare and connect an auxiliary 'WinHelper' USB Flash drive (see section above for details)
Using the 'Install XP using WinPE' menu option
When you boot from the Easy2Boot USB drive, the Windows XP install menu will have the option:
3 Install XP using WinPE [X]
When you select this option you will need to answer some user questions before it boots from the ISO file:
Select a Windows XP ISO - choose the XP ISO you want to actually installWhich folder is the WinPE ISO in: - choose one of the Windows folders on your Easy2Boot drive that has a WinPE 32-bit ISO file (if using XP 32-bit)Enter WinPE 'Helper' ISO - choose the helper WinPE ISO (for instance a Windows 7 32-bit install ISO file or a Win8PE 32-bit .iso if installing XP 32-bit)Default Disk 0 1st partition size in MB (0=MAX) : - You will be asked to confirm this again later on before the disk is wiped, and then you can choose to just format one partition only and not wipe the whole disk or install to a partition without formatting. Use 0 for maximum size. If you are not going to wipe and partition the disk, choose 0 or any size.Choose an Unattend.txt file (0=MANUAL INSTALL) : - You can specify an unattend.txt file (there is one included in the XP folder which you can copy if you like). Press 0 for no unattend.txt file which means you will have to answer all the questions from XP Setup manually.
Booting to WinPE
- The system will then boot to WinPE from the Vista/7/8 WinPE ISO and should automatically open a blue console window (the auxiliary USB Flash drive must also be connected if using a USB E2B Hard Disk)
- WinPE will detect the xml file, run the section of code inside it and then mount the XP ISO file as a virtual drive.
- You will be asked if you want to wipe the internal hard disk and re-partition it.
Check the drive list carefully to make sure the correct drive has been selected! You may need to maximise the blue console window. - If you answer N then you will be asked if you want to format a single partition on the hard drive (e.g. C:). This partition will be made active and will become the system partition. Note: if you answer N to this question also, the install will stop. If you answer S=Skip then XP will be installed to an existing partition.
- Winnt32.exe will then be run (and will use the Unattend.txt file if you specified one to automate the install process) - this will take several minutes...
- Press a key to reboot to the internal hard disk and the XP Setup should then proceed - the USB drive(s) can be disconnected.
If you have an XP ISO with integrated AHCI drivers (e.g. using driverpacks.net or nLite), then it should work on an AHCI system.
If possible, use a 32-bit Windows 10 Install ISO as the WinPE installer OS as that will have the widest range of drivers and USB 3.0 support.
Tip: To automate the process further and remove the final prompt to reboot (see step 6 above), edit the \_ISO\E2B\firadisk\RUNWINNT.cmd file and add REM to the line near the end of the file as shown below:
echo Press a key and reboot from the internal hard disk to continue Setup...REM pause > nulwpeutil reboot
Recommended for Easy2Boot (fastest!) - SanDisk Extreme SDCZ880-128G-G46
- Home
- Start & Intro
- Quick Setup Guide
- DOWNLOADS >>>
- YouTube videos
- Tutorials and How To's
-
Make a USB drive >>>
- Make a multi-partition E2B USB drive using RMPrepUSB
- Use an existing USB HDD for E2B
- Use LINUX to make an E2B drive + defrag
- How to Update E2B
- How to make a WINHELPER USB Flash Drive (fix 'Required DVD drive driver is missing')
- Multiple partitions on a USB Flash drive
- Using other partitions or drives
- Backup/Restore/Copy (clone) any E2B USB drive
- Make and burn an E2B DVD
- Using E2B with a Zalman/IODD
- Add E2B to your own grub4dos USB drive
- How to remove E2B
- E2B Menu system
- UEFI booting from E2B
-
Adding Payload Files and Using E2B >>>
- Make files CONTIGUOUS
- File Extensions recognised by E2B
- UEFI+MBR and how to make .imgPTN files
- MakePartImage and changing the CSM Menu
- Using SWITCH_E2B with .imgPTN files
- Using the \_ISO\AUTO folder
-
WINDOWS payloads >>
- E2B USB HDD - Installing Windows with a 'WinHelper' drive
- Windows XP Install ISOs
- Install XP 32-bit using DPMS
- Install XP using WinPE (one step process)
- Add XP Install ISOs using WinSetupFromUSB
- Windows Vista/7 Install ISOs
- UEFI boot from Windows 7 Install ISOs
- Windows 8/10 Install ISOs
- Unattended Installs
- XMLtoE2B.exe (Unattend.XML files)
- Adding >4GB Windows Install ISOs using .imgPTN files
- Automating Windows Installs from .imgPTN files
- Split_WinISO
- Add Windows ISOs to partition 2
- Windows AIO ISOs
- WindowsToGo
- WinNTSetup
- WinLite10 XML files
- SDI_CHOCO (install drivers, apps and updates) >>
- .VHD and .WIM files
- PassPass (bypass the Windows Password)
- Hack into Windows OS (UtilMan.exe)
- Windows 2000
- Multipoint Server
- Add the latest XP drivers (DPMS)
- Add a Windows Install menu entry
- LINUX payloads >>
- MSDart ERD ISOs
- WinBuilder, Medicat, Gandalf and WinPE ISOs
- Hirens/Strelec/DLC/F4 ISOs
- DOS (MS-DOS and FreeDOS)
- HAIKU
- MAC OS X
- FreeBSD
- MOVE_IMGPTN
- List of tested ISOs (+ instructions)
-
Configure E2B >>>
- E2B Menu Demo
- E2B files and folders explained
- E2B_Editor
- MyE2B.cfg - E2B configuration file >>
- Change the payload menu entries and help text using a .txt file
- Change the background wallpaper
- Different background wallpaper for each menu
- Default Menu and Timeout
- Change the Language, Headings, Menu and text
- Change the order of the menu entries
- 'Change File Extension' prompt (Auto-Suggest)
- Change the Keyboard Layout
- About .mnu files
- Sample .mnu files
- PimpMyDrive.cmd
- Reduce the E2B messages
- Add a new Sub-Menu folder
- Stamps, Animation and Tunes
- Draw lines and boxes on the screen
- Write text to the menu screen
- Global Hotkeys
- Themes (Skins)
- Fonts
- Speeding up E2B (inc. FASTLOAD)
- One Single Menu
- The E2B F1 Help menu
- Add your own Help Menu
- Add Help text files (.help)
- Add Windows Install ISOs to the Main Menu
- Change the Windows Install Menu
- Passwords and Security
- Hide Payloads
- Guest Mode
- GFX Boot Menus
- Dual Booting
- Change the CSM .imgPTN Menu
- Configure Clover
- Right-to-Left Languages
- Create new language files
- How to modify LOADISO.CMD (Repair message)
- UEFI - things you should know!
-
FAQ, Info, TroubleShooting, QEMU and Virtual Machines >>>
- 'File Not Contiguous' and 'Too Many Fragments' Errors
- 137GB 'BAD BIOS' bug
- TroubleShooting E2B
- E2B Error Messages
- Grub4dos Error Numbers
- Common problems with payload files
- Repair a corrupt E2B drive
- Known Issues and Bugs
- Slow and buggy BIOSes
- How E2B Works
- QEMU and Virtual Machines >>
- Using VBOX with a WinHelper USB drive
- Debugging E2B
- CONTIG.ISO
- ISOBOOT
- WIMBOOT
- grub4dos
- Useful resources
- Removable v. Fixed
- Gallery
- Guestbook
- Forum
- Blog
- Grub2 Menu System (UEFI_GRUB2_PTN2)
- Site Map
- eBooks
- Contact Me >>>
- Donate
- Licensing
- Privacy policy (GDPR)