Go direct to new description including Windows 10
http://www.msfn.org/...-2#entry1117324
================================================================================
From Tutorial at BootLand: http://www.boot-land...?showtopic=5306
================================================================================
*** Install XP from USB AFTER Booting with PE from HDD or USB ***
Install from USB without Booting from USB by using U_XP_SET
================================================================================
0. Introduction
Install of XP from USB involves:
- Boot in 30 seconds with LiveXP Boot Image from RAMDISK loaded in few seconds from HD (preferred) or from USB in 5 minutes
- Run USB_XP_Setup.exe and select and Quick Format your Target Drive on which you want to Install XP
- Select your XP Setup Source folder and LiveXP Boot Image file and use GO to prepare Target Drive for Install of XP
- Reboot Computer from Target Install Drive and Select XP Setup from boot.ini Menu
- Proceed as usual with TXT-mode and Reboot for GUI-mode of Unattended XP Setup
To perform the above requires some preparation:
- Prepare XP Setup Source Folder and Live XP Boot Image file as described in Tutorial in Sections 2 and 3
- Use Make_USB.exe so that your USB-stick or USB-Harddisk contains XP Setup Source folder and U_XP_SET folder and LiveXP Boot Image file
- Run BOOT_IMG.exe to Install LiveXP Boot Image file as boot option on C-BootDrive of Harddisk
For blank HDD you need to create first an Active Primary NTFS partition:
- Use Make_USB.exe to make USB-stick having XP Setup Source and being bootable with LiveXP
- Use BOOT_IMG.exe to make USB-stick also bootable with Parted Magic 4.6 (See Section 6)
- After booting from USB-stick with Parted Magic from GRUB4DOS menu, you can create Primary NTFS partition using GParted
- Reboot from USB-stick with LiveXP PE and Set Active the created Primary NTFS partition using Disk Management
- Run USB_XP_Setup.exe to Quick Format TargetDrive and prepare HDD for Install of XP
- Reboot from HDD for Install of XP and continue as usual with TXT and GUI mode of XP Setup
(change BIOS settings to boot from HDD if needed)
================================================================================
1. Install of XP using USB_XP_Setup.exe
The package U_XP_SET contains Folder USB_XP_Setup with 3 Programs, which you can Launch via PStart.exe Menu
- Make_USB.exe can Copy your XP Source to USB-Drive and can make it Bootable with LiveXP for Emergency
- BOOT_IMG.exe Copies WinBuilder LiveXP Boot Image file to C-Harddisk or USB-Drive
and makes Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with LiveXP 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. - USB_XP_Setup.exe 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-Stick.
For all other cases of Install of XP e.g. from any Harddisk folder or Network Shared folder or from CD / DVD disk,
then the XP Source is always Copied to $WIN_NT$.~LS folder on Target Install-drive.
Direct Download - U-XP-SET - mirror - (Thanks to Siginet)
=
=
=
Before you Start to Install XP:
- Prepare XP Source Folder and Live XP Boot Image File as described in Sections 2 and 3
- Vista as OS requires to turn User Account Control OFF (only needed for the old Batch cmd Programs)
- Run the SFX SelfExtractor U_XP_SET.exe and use Extract to the Root of your Workstation Harddisk
In this way you will get on your Local Harddisk the folder U_XP_SET with PStart.exe to launch the 3 Programs - Copy Winbuilder\Workbench\Common\BootSDI\setupldr.bin and ramdisk.sys to USB_XP_Setup\makebt\srsp1 folder
- Run Make_USB.exe and Select and use as Target Drive a FAST USB-stick (e.g. Corsair Flash Voyager 4-8 GB)
- Use Format Stick button or HP Format Tool to format Target USB-stick with NTFS FileSystem (Fastest for FileCopy)
- Select your XP Source Folder and LiveXP Boot Image File and Enable Copy of U_XP_SET Folder to Make your USB-stick
- Run BOOT_IMG.exe to Copy WinBuilder LiveXP Boot Image file to C-BootDrive of Harddisk
and make Entry for boot.ini Menu and GRUB4DOS menu.lst for Booting with LiveXP PE from RAMDISK.
This is also 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.
The XP Setup Procedure for Fresh Install of XP:
- Connect USB-Stick having XP Source in partition 1 (Connect before Booting with LiveXP from HDD) or use any other XP Setup Source.
- Remove All Other USB-Drives like CardReaders and USB-Harddisks
- Reboot from C-Harddisk and Select to Boot from RAMDISK with LiveXP into PE Environment
- Run USB_XP_Setup.exe and Quick Format with NTFS your Selected Target Install-Drive usually C:
- Use GO to make XP Setup BootFolder $WIN_NT$.~BT on Target Install-Drive.
First give XP Setup Source Path and give LiveXP RAM BootSDI IMAGE File.
So in case when XP Setup fails, you have LiveXP as Escape Boot Option available on your Fresh Formatted Install Drive.
XP Source not on USB-stick is always Copied to $WIN_NT$.~LS folder on Target Install-drive. - If you Install on other than Active 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
7Tools Partition Manager 2005 of Paragon ( Preferred ) or 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.exe 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/downloads
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.
In this case the XP Setup Source Folder must be on USB-stick.
For all other cases of Install of XP e.g. from any Harddisk folder or Network Shared folder or from CD / DVD disk,
then the XP Source is always Copied to $WIN_NT$.~LS folder on Target Install-drive.
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/...en-t119742.html
================================================================================
TXT-mode XP Setup Error in case of Install of XP with Setup Source on USB-stick
TXT-mode Setup Memory/CD-Error means harddisk nr in SetupSourceDevice is incorrect
Solution:
- ReBoot with LiveXP Boot Image from RAMDISK, Run PStart and run again USB_XP_Setup.exe
- Now Select Copy XP Setup Source Folder to Target Drive folder $WIN_NT$.~LS
- Reboot Computer from Install Drive and Select XP Setup from boot.ini Menu
Possible causes of TXT-mode Setup Memory/CD-Error are:
- Change of Harddisk Numbering by BIOS due to Hardware Configuration Change on Reboot.
Try to disconnect ZIP-drive, Cardreader or use different USB-port.
- Change of Harddisk Numbering by BIOS due to connecting USB-drive AFTER Booting with PE or XP
XP Setup may fail - due to XP Source Harddisk Number Change on Reboot
In this case Reboot with LiveXP PE and USB-drive CONNECTED to Reset Harddisk Number
Run USB_XP_SETUP.cmd again to get correct SetupSourceDevice in TXTSETUP.SIF
- Inconsistent Harddisk Numbering by BIOS caused by Incompatible type of USB-stick - Intuix 8 GB
- Old BIOS versions, where harddisk number of USB-Drive and Install Drive are Reversed in TXT-Mode and GUI-Mode
You can Use Disk Manager Manually to determine Harddisk Numbers and
use Notepad to correct harddisk nr and XP SOURCE Folder in TXTSETUP.SIF
[SetupData]
SetupSourcePath = "\XPPRO\"
SetupSourceDevice = \device\harddisk1\partition1
In this case change file %instdrive%\txtsetup.sif and %instdrive%\$WIN_NT$.~BT\txtsetup.sif
================================================================================
How to boot with LiveXP from Harddisk using extra option in boot.ini Menu was described by me in
http://www.911cd.net...o...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 this way of Install of XP from USB-stick AFTER booting with PE from C-Harddisk.
In LiveXP you can Connect to Network Drive using PENetwork Manager with
Path: \\ComputerName\ShareName
User: ComputerName\UserName
Pass: PassWord
It might be necessary to switch off the Firewall of the Network computer.
Network Shared Folders can also be used as Source folder in USB_XP_Setup.exe and Make_USB.exe
For Install of XP in a folder e.g. WIN51 next to existing WINDOWS folder or for Repair Install
you can use USB_XP_Setup.exe direct from HDD without booting first into PE Environment.
Repair Install using USB_XP_Setup.exe
- XP Setup Source Folder can be on USB-stick or anywhere else.
- Connect USB-stick 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.exe 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
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 here nLite).
http://www.helpwithw...ice_Pack_3.html
Siginet's RyanVM Integrator or nLite can then be used to Integrate Windows UpdatePacks in the XP-Source.
Preferred is using RyanVM Integrator 1.6 - http://integrator.si...ex.php?download
Or Alternatively use nLite to Integrate Windows UpdatePacks http://www.nliteos.com/
Windows XP UpdatePacks and Addons:
http://www.ryanvm.net/msfn/
http://www.ryanvm.ne...tepack-sp2.html
http://integrator.si...ndex.php?addons
http://www.ryanvm.net/forum/
Supports the use of BTS DriverPacks located in OEM Folder on USB-Drive
http://driverpacks.net/downloads
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.
It will be useful to Add also Chipset, CPU and LAN DriverPack, which are small so that
the decompression at the beginning of GUI-mode of XP Setup does NOT take to much time.
Always first use RyanVM Integrator or nLite 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 for UserAccounts and Registry Tweaks and Adding Drivers.
CMDLINES.TXT is used for making UserAccounts and install of Registry Tweaks at T-12
Info see: http://unattended.ms.../unattended.xp/
PnP Drivers specified in winnt.sif can be added to $OEM$\$1\Drivers
http://unattended.ms...xp/view/web/34/
TEXTMODE Drivers defined in winnt.sif and located in $OEM$\TEXTMODE folder of the XP Source
can be used instead of using F6 floppy for MassStorage Drivers.
The content of the $OEM$\TEXTMODE folder is copied by USB_XP_Setup.exe to XP Setup BootFolder $WIN_NT$.~BT\$OEM$
See cdob and allanf in http://www.boot-land...?...5306&st=180
Smart Driver Backup 2.12 of Jaque is very useful to Backup your drivers before install of XP.
http://www.911cd.net...showtopic=20555
The complete XP-Source can be copied by Make_USB.exe to USB-Drive.
Computation of Estimated XP Folder Size is used to prevent USB-stick overflow
and includes cmpnents + I386 + AMD64 + $OEM$ + OEM Folders.
Excluding LANG and WIN98X Folders from Copy to USB is the Default Setting
in Make_USB.exe Main Menu, which reduces the XP-Source on USB-Drive by 135 MB
================================================================================
3. LiveXP Boot Image File Preparation
Download LiveXP e.g. lx77rc2cxw.exe from folder Projects or lx77rc2cbw.exe from folder Portable
http://amalux.winbuilder.net/
Run the downloaded exe and extract to simple path without spaces e.g. extract to root of your local harddisk.
You can add a Ghost script (Ghost Plus!.script) which is very handy for System Backup and Restore.
Copy file Ghost Plus!.script from http://amalux.winbui...Scripts/Backup/
to <WinBuilder>\Projects\LiveXP\Apps\System folder
For making LiveXP Boot Image file you need original XP-SP2 or XP-SP3 Setup CD copied to folder in root of harddisk.
Use simple name without spaces for XP Setup Source folder and Switch Off your Firewall and AntiVirus protection.
The MassStorage DriverPack for support of SATA drives is automatically integrated in LiveXP made with WinBuilder.
In case of WinBuilder Errors use Button Clean Temporary Files in Advance.
On Success Save WinBuilder Settings with WB Manager useful later for Restore of Settings.
Run WinBuilder to make in 15 min your LiveXP_WIM.ISO or LiveXP_RAM.ISO Boot Image file in folder <WinBuilder>\ISO
Alternatively you may use BootSDI.img file made in folder <WinBuilder>\ISO\Ram\I386
ramdisk.sys and setupldr.bin of Windows Server 2003 SP1 must be in <WinBuilder>\Workbench\Common\BootSDI directory.
Activate Finish > Create Image > Boot SDI and Run WinBuilder.
You can Deactivate Emulation and Burn Image, since we don't need a CD for our purpose.
IMG-type files can be changed afterwards more easily by simply mounting them in Virtual Drive with R-mouse using ImDisk or with VDK.
- Run makebt\Mount_IMG.cmd and Select to Mount your BootSDI.img file in a Virtual Drive using VDK
- Copy your add-ons 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
FileName of IMG or ISO files for loading into RAMDISK, like LiveXP BootSDI.img file,
must be conform DOS 8.3 because otherwise in case of FAT or FAT32 Filesystem
you would get Error 14 (File Not Found).
Tutorial of amalux on how to create LiveXP Boot Image files using WinBuilder
http://www.boot-land...?showtopic=4111
================================================================================
4. Install of Drivers and Programs
Automatic Install of Drivers during XP Setup
1. Using 7-Zip Compressed DriverPacks located in OEM Folder on USB-Drive,
which are decompressed by presetup.cmd at beginning of GUI-mode of XP Setup.
http://driverpacks.net/downloads
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.
2. Using DriverForge.v4.5.4.exe to Install from C:\Drivers at T-9 of GUI XP Setup (just for the last Reboot).
DriverForge.v4.5.4.exe made by kickarse http://www.msfn.org/...howtopic=110783
At end of TXT-mode XP Setup the folder $OEM$\$1\Drivers is copied to C:\Drivers
and $OEM$\$1\Install\DriverForge.v4.5.4.exe is copied to C:\Install
When you don't use nLite, you can Copy the supplied USB_XP_Setup\$OEM$ folder to your XP Source folder.
For Auto Use of DriverForge at T-9 you can place uncompressed drivers (or folders) in Drivers of $OEM$
and then Uncomment two rules by removing ; in U_XP_SET\USB_XP_Setup\w_sif\winnt.sif file (see below).
You can also change driverforge.ini to your needs if you want to use drivers on a different location,
or you may even use the compressed DriverPacks.
[SetupParams]
UserExecute = "%SystemDrive%\INSTALL\SetupPar.cmd"
Method 2 can be very fast because you can just use in Drivers your well known set of required drivers.
The ATI Catalyst Control Center can be Installed separately with other Apps After Setup has completed.
Smart Driver Backup 2.12 of Jaque is very useful to Backup your drivers before install of XP.
http://www.911cd.net...o...20555&st=69
================================================================================
Install of Programs After XP Setup has finished
It is handy to use the Office Integrator of Siginet and benners
to Integrate Service Packs and HotPacks before installing Office.
http://www.siginetsoftware.com/forum/
Download Office Integrator v1.1 Build 16
http://integrator.si...e...dons&id=213
The Folder usb_cfg_extra provides a script for Windows Post-Install Wizard (WPI) - http://wpiw.net/
WPI is very handy for the Automatic Install of Programs after Install of XP from USB.
Some Tweaks are done at best when XP Setup has completed e.g. the IE7_Tweaks and NoWallpaper
So I combine these tweaks with the Install of Apps using WPI
and launch WPI Manually AFTER logon and when the XP Desktop is ready.
As example a config.js script is provided in U_XP_SET\USB_XP_Setup\usb_cfg_extra\INSTALL_PRGS_WPI\WPIScripts
In WPI script there is the option to run SFC /purgecache which deletes the dll cache
by deleting the files in Folder C:\WINDOWS\system32\dllcache
This is a very simple way to reduce the WINDOWS Folder Size by 360 MB
The Result is a XP WINDOWS Folder Size on Harddisk of only 900 MB inclusive all Updates.
Install of XP from USB including Drivers with DriverForge and Post Install using WPI for the Apps
is realised Now within 30 minutes using USB-stick with NTFS Format.
================================================================================
5. Install Vista from USB
Procedure for Install of Vista or Windows 7 from USB-stick
- Download and Extract U_XP_SET package making U_XP_SET folder on your Harddisk
- Launch PStart.exe in U_XP_SET folder
- Run BOOT_IMG.exe from PStart Menu to Install Windows PE 2.1 ISO
as GRUB4DOS Boot Option in menu.lst Menu on Harddisk Boot Drive e.g. C:\ - Reboot in 40 sec with Windows PE 2.1 ISO loaded by GRUB4DOS from HD into RAMDISK X:
- Run Vista Setup from folder on USB-stick by using e.g. Free Commander in PE 2.1 Environment
- Select and Format your Install Drive e.g. C:\
- Proceed with Install of Vista from USB (Copy + Extract)
- Disconnect USB-stick precisely at First Reboot (just at the BIOS Beep when the screen is black).
Without Removal there is 10 min Extra Install time. - Proceed with Install of Vista - Totally in about 18 min
The present approach is Install of Vista from USB without booting from USB.
So you don't need BIOS USB Boot Support and you don't need to change BIOS Settings.
Moreover, Vista Setup Source can be located in a folder on USB-stick so that it does not interfere with other Setup Sources like folders with Vista x64 or Windows 7 Setup Source.
Thanks to jaclaz for Help with GRUB4DOS menu to boot with Windows PE 2.1 ISO file.
Thanks to allanf for making WinBuilder Project to make Windows PE 2.1 ISO having GUI interface
http://www.boot-land...?showtopic=7053
Download WAIK 1.1 Vista SP1 from
http://www.microsoft...;displaylang=en
Booting in 40 sec with pe21.iso loaded by GRUB4DOS from HD into RAMDISK X:
allows then to Launch Vista or Windows 7 Setup.exe from folder on USB-stick.
http://www.boot-land...?...=6800&st=37
Instead of Windows PE 2.1 we can also use VistaPE ISO,
but booting with VistaPE will take several minutes.
http://www.boot-land...hp?showforum=51
================================================================================
6. MultiBoot USB-drives prepared with Make_USB.exe
- CD / DVD Content can be copied unchanged to Root of USB-stick by using the Add Extra Content Selector.
This allows to use a well-tuned CD / DVD as Setup Source including Apps for Install of XP from USB.
In this case you must Uncheck the Copy Checkbox of XP Setup Source Folder Selection so that this XP Source Selection is only used to have access to the XP BootFiles NTLDR and NTDETECT.COM and is NOT used as normal to Copy the XP Source to a Folder on Target Drive. - Support for Ultimate Boot CD - UBCD ISO booting via boot.ini Menu from GRUB4DOS menu.lst Menu
See Info of Icecube given in U_XP_SET\USB_XP_Setup\usb_cfg_extra folder.
UBCD 5 - http://www.boot-land...?showtopic=7312 - Support for LiveXP minint was added to the BartPE group of Make_USB.exe
Autodetect of modified ntdetect.com when placed in U_XP_SET\USB_XP_Setup\makebt folder - Support for VistaPE on MultiBoot USB-stick was made, where you can use the Vista Add Extra Source Selector to Select your VistaPE\Target\VistaPE-Core Folder.
VistaPE - http://www.boot-land...hp?showforum=51 - BOOT_IMG.exe can be used to Add Multiple BartPE type IMG or ISO files.
LiveXP - BootSDI.img or BartPE.iso booting from RAMDISK must contain
I386\SYSTEM32\DRIVERS\RAMDISK.SYS file of Windows 2003 SP1
In that case Win2k3 SP1 setupldr.bin is renamed as RMLD1 and
patched for ramx1.sif file with the SetupData instead of winnt.sif
The index in RMLDx can range from 1-9 for support of 9 different LiveXP Boot Image Files.
http://www.911cd.net...o...21682&st=24 - BOOT_IMG.exe can be used to Add Multiple CD-ISO Images as Boot Option to GRUB4DOS menu.lst Menu,
where mapping of the ISO image to (hd32) or (0xff) is used.
VistaPE and Windows PE 2.1 ISO are booting from RAMDISK this way.
Other CD-ISO images when Installed on HD are copied first to RAM using the --mem option,
so that Harddisk operations are allowed.
In the case of Removable USB-stick the --mem option is NOT used in order to gain speed in all cases.
Then the CD-ISO Files need to be contiguous (unfragmented), check and repair with wincontig:
http://diddy.boot-la...s/files/map.htm - Parted Magic 4.0 of Patrick Verner and Icecube is a handy Partition Manager.
Parted Magic can be booted with grub4dos iso emulation.
http://partedmagic.c...so-booting.html
Download pmagic-grub4dos-4.0.iso.zip from http://www.digitalin...et/partedmagic/
Use latest BOOT_IMG.exe to Install pmagic-4.0.iso
as GRUB4DOS Boot Option in menu.lst on your Harddisk or USB-stick.
menu.lsttitle Boot pmagic-4.0.iso - ISO from RAMfind --set-root --ignore-floppies /pmagic-4.0.isomap --mem /pmagic-4.0.iso (0xff)map --hookroot (0xff)chainloader (0xff)
After Booting with Parted Magic ISO from GRUB4DOS menu.lst on Harddisk, you can use GParted to change the partioning of your USB-stick e.g. to Create a second partition.
In a similar way Booting from HD with LiveXP BootSDI.img into RAMDISK allows to use Acronis Disk Director 10 to create multiple partitions on USB-stick, without any need to use a filter driver as needed in regular Windows XP.
Guides on How to Make MultiBoot USB Drives:
Make_USB.exe is used to make MultiBoot USB-sticks
having NTLDR-type bootsector and boot.ini Menu plus GRUB4DOS menu.lst Menu.
NTLDR + NTDETECT.COM and boot.ini are copied to the root of an USB-stick previously NTFS formatted with Format Stick procedure,
so that it is configured as a Harddisk having NTLDR-type BootSector.
BOOTMGR-type Bootsector made by Vista Disk Management will be changed to the compatible NTLDR-type Bootsector.
This is the way to make Bootable USB-stick with boot.ini Menu, where GRUB4DOS grldr can be launched from boot.ini Menu.
Booting is as:
MBR > BootSector > NTLDR > boot.ini > grldr > menu.lst
The Bootsector refers to NTLDR file in Root of USB-stick or Harddisk
Windows XP can be launched from any primary partition of any harddisk using arcpath in boot.ini Menu.
Windows Vista can be launched from any harddisk using chainload of bootmgr in menu.lst Menu of GRUB4DOS.
Make_USB.exe can also be used to Install LiveXP BootSDI.img as Boot option on e.g. 30 GB USB Harddisk Primary partition, previously Formatted with NTFS FileSystem using Windows XP or Vista Disk Management.
Guide for MultiBoot USB-stick with boot.ini Menu
http://www.911cd.net...showtopic=20089
Important Info on making MultiBoot USB-drives was given by diddy in 2 Guides:
- Guide for Multi-booting from a USB Drive
http://www.911cd.net...showtopic=18846
Multiboot Usb (pe, Linux And Dos), Using Syslinux, GRUB4DOS and/or multiple partitions - Grub4dos Guide
http://diddy.boot-la...os/Grub4dos.htm
More Info on Booting with GRUB4DOS grldr with menu.lst Menu
http://grub4dos.sour...ub4dos_tutorial
grub4dos, .iso images and (hd32) or (0xFF) mapping
http://www.boot-land...?showtopic=5041
Install of Grub4dos MBR BootCode is used to make Bootable USB-sticks without the need of having XP Setup Source.
Booting is as: MBR > grldr > menu.lst
In this case Grub4dos grldr BootLoader can e.g. direct Boot CD ISO or DOS floppy images or chainload BOOTMGR of Vista or Windows 7 Setup Source.
=
=
================================================================================
Format Stick using Make_USB.exe
An AutoIt3 Routine was created to Format USB-sticks with a Harddisk like structure and NTFS/FAT32/FAT FileSystem.
It can be used in Make_USB.exe with the Format Stick Button instead of using the HP Format Tool.
- First 100 Sectors of USB-stick are erased quickly using dsfi.exe and file Erase_100.bin
- MBR BootCode is obtained from XP file dmadmin.exe just as in MBRBatch.cmd made by jaclaz
http://www.boot-land...?showtopic=3191 - Partition Table entry is constructed from the USB-stick CHS geometry as derived from MBRWiz.exe /list
- Partition is ending on Cylinder boundary to improve bootability as compared to HP Format Tool, which would give a CHS-LBA unbalanced partition.
- CHS Knockout Patches and Dummy Second Partition are user selectable options to improve USB-stick bootability
CHS Knockout Patches can be applied to XP-MBR BootCode (HP Patch)
http://www.boot-land...?...=2246&st=15
and to FAT32 or NTFS BootSector to improve bootability as described by Clemens Fruhwirth and tested by cdob to be useful.
http://blog.clemens....ndows_3170.html
http://www.911cd.net...o...1702&st=129
http://www.boot-land...?...5306&st=215
http://www.boot-land...?showtopic=8528
- Apply HP Patch to USB-stick XP-MBR Code for CHS Knock-out
Change at offset 0xCA 3 bytes - 0xB8 0x01 0x02 --> patched to 0xEB 0x1A 0x90
- Apply 4x NOP Patch to FAT32 and NTFS BootSector for CHS Knock-out
FAT32 boot sector ("MSDOS5.0" found at offset 0x03) :
Change at offset 0xE6 - 4 bytes - 0x0F 0x82 0x4A 0x00 --> patched to 0x90 0x90 0x90 0x90
NTFS boot sector ("NTFS" found at offset 0x03) :
Change at offset 0xD9 - 4 bytes - 0x0F 0x82 0x3A 0x00 --> patched to 0x90 0x90 0x90 0x90
USB-sticks with Dummy Second Partition of about 8 MB (using 1 Cyl in case of n/255/63 geometry) can be generated to further improve bootability as described by online
http://www.boot-land...?showtopic=7512
The Format Stick routine was further improved for FAT and FAT32 FileSystem,
by patching after Format two important bytes which determine bootability of USB-stick.
- MBR - Reset FAT FileSystem byte = 0E (LBA) at offset 0x1C2 in MBR, after format it was 06 (CHS) and not bootable
- FAT BootSector - drive-id patch 0x80 at offset 0x24 , after format it was 00 and Not bootable
- MBR - Reset FAT32 FileSystem byte = 0C (LBA) at offset 0x1C2 in MBR, after format it was 0B (CHS) and Not bootable
- FAT32 Bootsector - drive-id patch 0x80 at offset 0x40 , after format it was 00 and Not bootable
FAT and FAT32 USB-stick are NOT bootable without patching these two critical bytes, and flashing cursor or Disk Error would be the result.
The problem is that Windows OS all the time tries to reset these bytes to NON-bootable value.
But this problem was overcome in the present procedure.
================================================================================
7. Make_IMG.exe - Make and Install Boot Image File - Type IMG or ISO
Supported are:
- Make and Install 15 MB FreeDOS FAT12 Superfloppy IMG file from Source Folder containing kernel.sys
- Make and Install 25 MB MS-DOS FAT16 Superfloppy IMG file from Source Folder containing IO.SYS
- Make and Install 15 MB XP Recovery Console FAT12 IMG file Booting from RAMDISK and made from Windows XP Setup Source
- Make and Install LiveXP / BartPE / UBCD4Win ISO or NTFS Compressed IMG Files Booting from RAMDISK (max 500 MB)
- Install WinPE 2.1 or VistaPE ISO files Booting from RAMDISK
- Install CD-ISO file e.g. ubcd50b12.iso or pmagic-4.0.iso or LiveXP_RAM.iso as boot option in GRUB4DOS menu.lst Menu
Images are made from a Virtual Drive by using ImDisk virtual disk driver of Olof Lagerkvist
http://www.ltr-data.se/opencode.html
For using Make_IMG.exe it needs to install previously the ImDisk Driver with U_XP_SET\USB_XP_Setup\makebt\imdiskinst.exe
You will find the Image files made with Make_IMG.exe in U_XP_SET\USB_XP_Setup\makebt\make_image folder.
For the XP Recovery Console a 15 MB FAT12 Superfloppy Image file is made, where the cmdcons folder is generated by parsing dosnet.inf of the Windows XP Setup Source.
Then cmdcons folder is renamed as i386 and ramdisk.sys of win2k3 is added instead of the original one.
In root of bootdrive we have setupldr.bin of win2k3 renamed as the bootloader RCLDR, which is patched for using rcons.sif as setup information instead of winnt.sif to allow MultiBoot Environment.
More Info: http://www.boot-land...?...=5316&st=60
I would like to thank jaclaz for making use of his CATCH22 folder.
http://www.911cd.net...o...20983&st=25
Adding the CATCH22 folder to the root of any HD-like device allows to use Recovery Console Superfloppy Boot Image without using admin password and to get unlimited access to any folder by connecting to CATCH22 instead of to WINDOWS folder and then using the command:
batch SETALLON
For the LiveXP / BartPE / UBCD4Win ISO or NTFS Compressed IMG Files Booting from RAMDISK, it is possible to migrate USB-stick to DriveLetter U: so that Shifting of other Drive Letters is prevented.
In root of boot drive we have Win2k3 SP1 setupldr.bin renamed as RMLD1 and patched for ramx1.sif file with the SetupData instead of winnt.sif
The index in RMLDx can range from 1-9 for support of 9 different LiveXP Boot Image Files.
http://www.911cd.net...o...21682&st=24
Install of Boot Image files is possble on Harddisk Boot Drive C: or on Bootable USB-stick made e.g. with Make_USB.exe by making boot entries in GRUB4DOS menu.lst Menu and in some cases in XP boot.ini Menu as well.
The program will recognize the type of image and will generate the corresponding GRUB4DOS entry in menu.lst
The DOS Superfloppy Images including DOS-Apps are booting from RAM, which allows to boot with DOS from a NTFS Harddisk.
FreeDOS Superfloppy file BTFRDOS.img is in folder Downloads - http://wimb.winbuilder.net/downloads/
GRUB4DOS is updated to the latest version grub4dos-0.4.4-2009-06-11
which is also essential for booting the DOS Superfloppy Images using the generated menu.lst entries.
More Info on GRUB4DOS Menu entries for various types of Image files:
http://www.boot-land...?showtopic=5041
http://diddy.boot-la...os/Grub4dos.htm
=
=
================================================================================
Summary
After preparing your USB-stick with Make_USB.exe we have two cases,
each of them needs Booting from HD into RAMDISK with a compatible PE Boot Image.
- Install of XP needs Booting with LiveXP - IMG allowing to format Install Drive with NTLDR type BootSector.
- Install of Vista and Windows 7 need Booting with Windows PE 2 - ISO allowing to format Install Drive with BOOTMGR type BootSector.
Procedure - Install XP from USB-stick
- Connect USB-stick and Run BOOT_IMG.exe
- Install LiveXP IMG in boot.ini / GRUB4DOS Menu on Harddisk
- HD Boot LiveXP into Ramdisk - Quick Format and Run USB_XP_Setup.exe
- HD Reboot and Select XP Setup from boot.ini Menu
- Keep USB-stick Connected Until AFTER Logon XP
Procedure - Install Vista or Windows 7 from USB-stick
- Run BOOT_IMG.exe
- Install Windows PE 2 ISO in GRUB4DOS Menu on Harddisk
- HD Boot Windows PE 2 into Ramdisk - Start Vista Setup from USB
- Precisely on First Reboot - Remove USB-stick
The present approach is Install from USB without booting from USB.
So you don't need BIOS USB Boot Support and you don't need to change BIOS Settings.
Moreover, Unchanged Setup Sources can be used and can be located in a folder on USB-stick so that they do not interfere with eachother.
================================================================================
LiveXP + U_XP_SET
=
Program Direct Download - U-XP-SET - mirror
Live XP Script Download - U-XP-SET Script - mirror
Browse Folder Downloads - http://wimb.winbuilder.net/downloads/ - mirror - (Thanks to Siginet)
=
Credits:
I would like to thank ilko_t for publishing his AutoIt3 Source of WinSetupFromUSB_0-1-1.au3
at MSFN Forum http://www.msfn.org/...howtopic=120444
Parts of WinSetupFromUSB were used for Creating Make_USB.exe
================================================================================