*** Install XP from USB AFTER Booting with PE from HDD or USB ***
1. Install of XP from USB using USB_XP_Setup.cmd
The package USB_XP_Setup contains 3 Batch Programs:
- Make_USB.cmd can Copy your XP Source to USB-Drive and can make it Bootable
- BOOT_IMG.cmd Copies WinBuilder LiveXP BootSDI.img Image file to C-HDD or USB-Drive
and makes Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with PE from RAMDISK.
This is useful as Escape Boot Option in case Booting with Windows XP or XP Setup may fail,
so that you can Repair your System or use Ghost for System Backup and System Restore.
BOOT_IMG.cmd can also Create IMG or ISO BOOT IMAGE Files from LiveXP / BartPE output Folder. - USB_XP_SETUP.cmd can make XP Setup BootFolder $WIN_NT$.~BT on Install-Drive usually C:
and will specify in TXTSETUP.SIF where to find the FULL XP Source on partition 1 of USB-Drive
XP Setup Source Folder must always be on USB-stick or on partition 1 of ANY Harddisk.
Direct Download - USB-XP-Setup ----- Or -----PStart-X + USB-XP-Setup
Before you Start to Install XP:
- Prepare XP Source Folder and Live XP BootSDI.img File as described in Sections 2 and 3
- Vista as OS requires to turn User Account Control OFF
- Run the SFX SelfExtractor USB_XP_Setup.exe and Extract to the Root of your Local Harddisk Workstation
In this way you will get in the root of your drive folder USB_XP_Setup containing 3 Batch Programs - Use WinBuilder to make LiveXP BootSDI.img file, Preferred Download Stable Project of amalux
Use XP-SP2 folder on HDD as Source and Switch Off your Firewall (Don't use XP-SP3 as Source). - Copy your WinBuilder\ISO\Ram\I386\BootSDI.img file to USB_XP_Setup\BT_IMG folder
- Copy Winbuilder\Workbench\Common\BootSDI\setupldr.bin and ramdisk.sys to USB_XP_Setup\makebt\srsp1 folder
- Prepare your XP Source Folder on HDD as described in Section 2. and get a fast USB-stick (Preferred)
- Run Make_USB.cmd to Copy your XP Source Folder to partition 1 of USB-Drive
- Folder USB_XP_Setup is Auto Copied to your USB-Drive by running Make_USB.cmd
so that it is later available in PE Environment after formatting Install-Drive of Harddisk - Make_USB.cmd - Settings: Preferred is Format USB-stick with NTFS FileSystem (Fastest for FileCopy)
Type H to Format with HP Format Tool - Select your stick and NTFS FileSystem - Start Format - End with Close
Select Option C as YES to Copy LiveXP BootSDI.img file to the root of your C-BootDrive of Harddisk
and to make the Entry in boot.ini and / or GRUB4DOS Menu for booting with PE from RAMDISK - BOOT_IMG.cmd is useful if you don't need to Make an USB-Drive, but just want to
Copy WinBuilder LiveXP BootSDI.img Image file to C-BootDrive of Harddisk or to USB-Drive
and to make Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with PE from RAMDISK.
This is useful as Escape Boot Option in case Booting with Windows XP or XP Setup may fail,
so that you can Repair your System or use Ghost for System Backup and System Restore.
BOOT_IMG.cmd can also Create NEW IMG or ISO BOOT IMAGE Files from LiveXP / BartPE output Folder.
The XP Setup Procedure:
- Connect USB-drive having XP Source in partition 1 (Connect before Booting with LiveXP from HDD)
- Remove All Other USB-Drives like CardReaders and USB-Harddisks
- Reboot from C-Harddisk and Select BootSDI.img to Boot from RAMDISK with LiveXP into PE Environment
- Then for Fresh Install, Quick Format with NTFS your Install-Drive usually C: using Drive Explorer of LiveXP
- Run USB_XP_SETUP.cmd to make XP Setup BootFolder $WIN_NT$.~BT on Install-Drive
Give XP Setup Source Path and Install Target Drive and Give RAM BootSDI IMG File
With Option C) you can Copy RAM BootSDI IMG File to the just Formatted Install Drive,
so that in case when XP Setup fails, there will always be the LiveXP Escape Boot Option available. - If you don't Install on C-drive then Use Disk Manager to Activate Install Drive Partition
- Reboot Computer from Install Drive and Select XP Setup from boot.ini Menu
- Proceed as usual with TXT-mode and GUI-mode of Unattended XP Setup
In TXT-mode after FAST loading drivers the blue screen becomes black and
then one needs to wait sufficiently until the blue screen with the Drive Partition List appears.
Select the Install Partition usually C: and Auto proceed with FileCopy and Reboot for GUI-mode of XP Setup.
WARNING
Don't Delete the Install Partition, just Install on this previously in PE Quick Formatted NTFS Partition.
Changing the Partitioning is a task which is done in LiveXP PE Environment with e.g. Acronis Disk Director 10.
The advantage of the present technique is that there are no changes needed in the BIOS Setting.
Booting for XP Setup occurs all the time as normal from the C-Install Drive if you Install on C-Drive.
Thus the USB-stick does not need to be bootable
and it is not needed that the motherboard supports booting from USB.
In the case of total computer disaster it can still be handy to boot with LiveXP from USB-drive.
Another advantage is that you can use the FULL XP Source unchanged just as with Install from CD
and the $OEM$ folder is recognised and the [Unattended] section of winnt.sif file is used as normal.
Moreover USB_XP_Setup.cmd allows to Select from different XP Sources on USB-Drive to be used for XP Setup.
Supports the use of BTS DriverPacks located in OEM Folder in XP Source Folder on USB-Drive
http://driverpacks.net/DriverPacks/
The NEW way of Install XP from USB AFTER booting with PE does not make use of WINNT32.EXE
In fact the only thing I do is Create the XP BootFolder $WIN_NT$.~BT of only 12 MB on the Install Drive
by parsing dosnet.inf and to specify in TXTSETUP.SIF where to find the FULL XPSOURCE.
XP Setup Source Folder must always be on USB-stick or on partition 1 of ANY Harddisk.
The XP Source might even be on CD/DVD, but we prefer of course to Install from fast USB-stick.
So the $WIN_NT$.~LS of about 500 MB is not made in this NEW way of Install XP from USB,
this saves time and there is no risk of loosing files during the XP Setup process.
Thanks to ilko_t I have learned how to use SetupSourcePath and SetupSourceDevice
to specify in TXTSETUP.SIF where to find the XP Source Folder, thus enabling
Alternative location of Setup files when installing from HD media
http://www.msfn.org/board/Alternative-loca...en-t119742.html
The nice thing is that once you specify the XP Source Location in TXTSETUP.SIF
you may but also must treat the XP Source the same as when it is on CD /DVD.
This means that we must use for this type of Install of XP from USB
settings in winnt.sif as MsDosInitiated="0" and floppyless="0"
How to boot with LiveXP from Harddisk using extra option in boot.ini Menu was described by me in
http://www.911cd.net/forums//index.php?sho...21682&st=24
Combining this technique with the possibility to make XP Setup BootFolder $WIN_NT$.~BT on C-Install-Drive
by parsing dosnet.inf and to specify in TXTSETUP.SIF the XP Source location on USB-stick
has resulted in the present NEW way of Install of XP from USB AFTER booting with PE from C-Harddisk.
For Install of XP in a folder e.g. WIN51 next to existing WINDOWS folder you can use
USB_XP_Setup.cmd direct from HDD without booting first into PE Environment.
Repair Install using USB_XP_Setup.cmd
- XP Setup Source Folder can be on USB-stick or on partition 1 of ANY Harddisk.
- Connect USB-drive having XP Source in partition 1
- Remove All Other USB-Drives like CardReaders and USB-Harddisks
- Reboot as NORMAL from C-Harddisk, so that BIOS Resets USB-drive number
- Run USB_XP_SETUP.cmd to make XP Setup BootFolder $WIN_NT$.~BT on Install-Drive usually C:
- Repair Install is enabled by Disabling [Unattended] Section using ; in C:\$WIN_NT$.~BT\winnt.sif file
- Reboot Computer from Install Drive usually C: and Select XP Setup from boot.ini Menu
- Select in TXT-mode Existing Windows for Repair and continue with GUI-mode of XP Setup
2. XP-Source Preparation - *** BEFORE YOU START Install of XP***
Take care that your XPSOURCE Folder is located on your Harddisk in a simple Path without SPACES.
Copy the Content of your Windows XP Setup CD to your XPSOURCE Folder on Harddisk
Slipstream ServicePack SP3 First Manually in your XP-SP2 Source (don't use nLite).
Siginet's RyanVM Integrator or nLite can then be used to Integrate Windows UpdatePacks in the XP-Source.
Preferred is RyanVM Integrator v1.5.3 http://integrator.siginetsoftware.com/index.php?download
Or Alternatively use http://www.nliteos.com/
Windows XP UpdatePacks and Addons:
http://www.ryanvm.net/msfn/
http://www.ryanvm.net/msfn/updatepack-sp2.html
http://integrator.siginetsoftware.com/index.php?addons
http://www.ryanvm.net/forum/
Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/DriverPacks/
For Install of XP on a modern system with SATA Drives it is needed to use DPsBase.exe
for Integrating in your XPSOURCE BTS DriverPack Massstorage with TXT Mode Enabled.
In that case a lot of Extra RAID SCSI and SATA Drivers (about 120 extra) are Integrated which appear in the
XP Setup BootFolder $WIN_NT$.~BT on Install-Drive and can prevent a lot of XP Install Boot Problems.
First use RyanVM Integrator and then use DPsBase to Improve your XP-Source.
The program supplies a Customised presetup.cmd and changes the winnt.sif file for use of DriverPacks.
When you don't use nLite, you can Copy the supplied $OEM$ folder to your XP Source folder.
Change $OEM$ folder to your needs.
CMDLINES.TXT is used for making UserAccounts and install of Registry Tweaks at T-12
Info see: http://unattended.msfn.org/unattended.xp/
The Complete XP-Source is Copied by Make_USB.cmd to USB-Drive
Computation of Estimated XP Folder Size is used to prevent USB-stick overflow
and includes $WIN_NT$.~BT + cmpnents + I386 + AMD64 + $OEM$ + OEM Folders.
Excluding LANG and WIN98X Folders from Copy to USB can be Selected
from Make_USB.cmd Main Menu, which reduces the XP-Source on USB-Drive by 135 MB
3. LiveXP BootSDI.img File Preparation - *** BEFORE YOU START Install of XP ***
Booting with WinBuilder075 beta LiveXP BootSDI.img of 130 MB from HDD takes only 1 minute.
http://www.boot-land.net/forums/?showtopic=5
http://winbuilder.net/download.php
The advantage is that you have XP like environment where you can decide
e.g. to make first a Ghost Backup of your system or to do any other interesting task.
Read the excellent tutorial of amalux on how to create LiveXP BootSDI.img files using WinBuilder
http://www.boot-land.net/forums/?showtopic=4111
It is handy to Download one of the pre-packaged, Stable Projects of LiveXP e.g. lx101408cxs
WinBuilder Script for LiveXP was made, which enables to create BootSDI.img file
containing Pstart program launcher with USB_XP_Setup package for Install of XP from PE Environment.
So now you can direct launch PStart and USB_XP_Setup.cmd direct from the Desktop of LiveXP.
Download Pstart_USB_XP_Setup.Script
Put Pstart_USB_XP_Setup.Script in your <WinBuilder>\Projects\LiveXP\Apps\XPSetup folder
e.g. in amalux Stable Project lx101408cxs\Projects\LiveXP\Apps\Setup
I added also Basic > Tweaks > autoLocalization.Script made by psc and modified by Galapo,
necessary in Europe for decimal sign, from http://wimb.winbuilder.net/downloads/
The MassStorage DriverPack is automatically integrated in LiveXP made with WinBuilder.
For making BootSDI.img file you need XP-SP2 as Source and After First Run of WinBuilder to place
ramdisk.sys and setupldr.bin of Windows Server 2003 SP1 in <WinBuilder>Workbench\Common\BootSDI directory.
Then activate Finish > Create Image > Boot SDI and Run WinBuilder again.
You can Deactivate Emulation and Burn Image, since we don't need a CD for our purpose.
WARNING
In an older Stable Project lx51808cx of amalux I noticed that the Drive Letters of Harddisk Partitions
are NOT present in the makebt\dplist.txt as produced by makebt\MBRWiz.exe /list
The result is that when USB_XP_Setup.cmd is used in the lx51808cx LiveXP Environment,
then identification of Harddisk Partition from Drive Letter using makebt\dplist.txt fails,
so that USB_XP_Setup.cmd cannot Continue.
It is known now that Acronis True Image Workstation 9.1 script in this build is causing the problem.
The Solution is to use another LiveXP BootSDI.img File e.g from Stable Project lx101408cxs
I can confirm that lx101408cxs works fine with USB_XP_Setup.cmd
and Acronis True Image PE does NOT give the previously reported Drive Letter issue.
Adding Pstart_X to your Existing LiveXP BootSDI.img File
- Vista as OS requires to turn User Account Control OFF
- Download and Run PStart_X.exe and Extract to PStart_X folder
- Copy ramdisk.sys and setupldr.bin of your WinBuilder\Workbench\Common\BootSDI folder
to your Pstart_X\USB_XP_Setup\makebt\srsp1 folder - Run Pstart_X\USB_XP_Setup\USB_XP_Setup.cmd
- Select just your XP Source folder to Copy some XP files to the makebt folder
Then End USB_XP_Setup.cmd with Quit - Run makebt\Mount_IMG.cmd and Select to Mount your BootSDI.img file in a Virtual Drive
- Copy your PStart_X folder to your Virtual Drive in which you mounted BootSDI.img file
- Use UnMount_IMG.cmd to Close the Virtual Drive and Save the Changes in your BootSDI.img file
- Then Run Pstart_X\USB_XP_Setup\BOOT_IMG.cmd to Install your BootSDI.img file
as Boot Option in XP boot.ini Menu or Vista GRUB4DOS menu.lst Menu - Reboot and Select from the Menu to Boot with your BootSDI.img file
LiveXP + Pstart_X + USB_XP_Setup.cmd - ScreenShot

Direct Download - USB-XP-Setup ----- Or ----- PStart-X + USB-XP-Setup
=
Update ChangeLog
August 1, 2008 - USB_XP_Setup.zip was Updated to Support Booting with LiveXP from Vista Harddisk.
August 3, 2008 - Direct Download Link for SFX SelfExtractor version of USB_XP_Setup.exe was Added
August 11, 2008 - BOOT_IMG.cmd will make GRUB4DOS Boot Entry for Vista in Store C:\Boot\BCD
Some small changes in USB_XP_Setup for making boot.ini and setting SetupSourcePath in TXTSETUP.SIF
August 14, 2008 - dsfo.exe is used for making BootSector File instead of mkbt.exe
because mkbt.exe is NOT able to copy BootSector from C-Drive when Windows Live Messenger is Installed.
August 22, 2008 - New Release Version 2.0 -
Make_USB.cmd copies USB_XP_Setup folder to USB-Drive
Make_USB.cmd can Install PE BootSDI.img file on USB-Drive and on C-Harddisk Install-Drive
Make_USB.cmd Supports to make MultiBoot USB-Drive
Multiple XP Source on USB-Drive e.g. Home + Prof + Tablet PC + Media Center Edition
is Supported by Running Make_USB.cmd several times.
Multiple PE RAMBOOT e.g. LiveXP + BartPE + UBCD4WIN is Supported
by Running Make_USB.cmd several times.
August 27, 2008 - Copy USB_XP_Setup to USB-stick is selectable YES / NO now.
Vista User Account Control will give Error Message if ON.
Better treatment of Path Containing Spaces by using double quotes where missing.
September 22, 2008 -
In USB_XP_Setup.cmd you can Select now to Copy the XP Source to the Install Target Drive,
which is useful for peculiar older BIOS versions, where harddisk number of USB-Drive and Install Drive
are Reversed in TXT-Mode and GUI-Mode, so that the XP Source was NOT found.
September 25, 2008-
In USB_XP_Setup.cmd - Entry for rdummy.sys in TXTSETUP.SIF was moved from Section [SCSI] to [BusExtenders]
Removed /k flag in xcopy commands which
would cause $WIN_NT$.~BT\TXTSETUP.SIF being ReadOnly when XP Source was on CD.
October 3, 2008 -
- In case the XP Source is NOT on Partition 1 then USB_XP_Setup.cmd will
propose to Copy it to Partition 1 when this is the C-Install drive.
Thus when the XP Source is e.g. prepared with RyanVM Integrator on Partition 2,
then it is NOT necessary to Make an USB-stick, if Install on the Local Computer is desired.
In fact this Option makes ANY Location of the XP Source Acceptable, instead of the Partition 1 Limitation.
- USB_XP_Setup.cmd can now also Copy RAM BootSDI IMG File to the just Formatted Install Drive,
so that in case when XP Setup fails, there will always be the LiveXP Escape Boot Option available.
- For an USB-stick the option to Migrate the Drive Letter in XP Setup to U:
can now be Selected in the Main Menu of USB_XP_Setup.cmd instead of at the End of the Program.
- The USB_XP_Setup package can also be Downloaded combined with PStart_X so that
the Portable Tools can be conveniently launched from a Menu, which resides in the Taskbar System Tray.
Moreover, PStart can be build in the LiveXP BootSDI.img File so that it is always easy available
in the LiveXP PE Environment.
October 11, 2008 - Version 3.0
GUI support was added for XP Folder Select and RamBoot Image File Select by
using simple AutoIt3 routines which can be used from the batch programs
in a simalar way as the Visual Basic Script routines used previously.
The advantage is that now GUI Support is available for Folder and File Select
in all 3 environments being XP, Vista and PE, which is much more user friendly.
Visual Basic Script could not be used in LiveXP PE Environment
and the Vista FileSelector was until now not available in my programs.
October 17, 2008 - Version 4.0
AutoIt3 GUI module was added to USB_XP_Setup for Display and Edit of the winnt.sif file
for providing the XP Setup parameters to be used in $WIN_NT$.~BT folder.
October 22, 2008 - Version 4.01
USB_XP_Setup was made compatible with WinBuilder 075 beta 5
e.g. with amalux Stable Project lx101408cxs
WinBuilder Script for LiveXP was made named Pstart_USB_XP_Setup.Script,
which enables to create BootSDI.img file
containing Pstart program launcher with USB_XP_Setup package for Install of XP from PE Environment.
=