March 12, 2009

Bootable Windows XP installation CD-Rom

This will show you how to create a bootable Windows XP Home Edition or Professional installation/setup CD-Rom. Optionally you can integrate (slipstream) service pack 1, and add other stuff you want to your CD. The boot catalog and the NT bootstrap loader are hidden, just like the original bootable Windows XP CD-Rom.

Joliet extensions are enabled by default, so you can have long filenames on the CD.
Note: This will not create a "dual" bootable XP CD with Home edition and Professional together on one CD.

The steps to create are:
BCD installation instructions:

Download BCD full package v1.1.1 (523KB).

Or update from previous version: BCD update package (v1.1.0-v1.1.1) (5KB).
When updating from previous versions, just extract the package over the previous version, overwrite any existing files. The bcd.cfg file will not get overwritten!

Unpack the BCD package to some folder for example d:\bcd. If you want to be able to run it from a server you should unpack it to a share from where your workstations can run it. You will need to map a drive letter to that share and run bcd using that drive letter.
Make sure you also unpack the subdirectories!

Download wnaspi32.dll and copy it into BCD's d:\bcd\bin directory.

Download Windows XP package v1.0 ( (5KB).
Unpack it into the BCD directory, d:\bcd.
Make sure you also unpack the subdirectories!

The Windows XP package contains the Windows XP bootstrap loader (same as Windows 2000) and some other files used to build the CD.

You must copy the i386 folder from your Windows XP installation/setup CD-Rom.
For Windows XP Home Edition copy it to the d:\bcd\cds\wxphome\files\ folder.
For Windows XP Professional copy it to the d:\bcd\cds\wxppro\files\ folder.
Make sure you copy all files and all subdirectories!

If you're Windows XP files are already "slipstreamed" with a service pack you must also copy the win51ic.SPx or win51ip.SPx file.
This will prevent the CD asking "put the SPx CD into drive A:" during install.

The location of the i386 folder may differ, for example when you have a dual boot MSDN cd-rom it will be in \%lang%\winxp\%edition%, where %lang% is your language, like "ENGLISH", "GERMAN" and %edition% is "Home" or "Pro". Other CD's may have it just in the root or in some other location.

Optionally you can also copy the following files (not needed for bootable CD installation):

If you have a Windows XP CD from MSDN...
Edit the file i386\txtsetup.sif
section [SetupData], and change the setup source path, it should read: SetupSourcePath = "\"

You can apply Service Pack 1 to this installation (integrated installation). So that you have an installation CD-ROM with the service pack built in.
Apply service pack 1 to your files using the "-s" option (you must supply full path).
For Windows XP Home edition: xpsp1_en_x86.exe -s:d:\bcd\cds\wxphome\files\
For Windows XP Professional: xpsp1_en_x86.exe -s:d:\bcd\cds\wxppro\files\

The Service Pack file can have another name, like xpsp1_nl_x86.exe for Dutch language.
The xpsp1_en_x86.exe can only be run on a Windows 2000 or XP PC!
You should now have a win51ic.sp1 or win51ip.sp1 file in the files directory. Check this, to prevent the CD asking "put the SP1 CD into drive A:" during install.

All other files and folders you want on the CD-Rom must also be added to the files directory, these files will not be integrated in the Windows XP installation, they're just parked there. Things you could add are: latest patches, internet explorer, directx.

Add your files to:
For Windows XP Home edition: d:\bcd\cds\wxphome\files\.
For Windows XP Professional: d:\bcd\cds\wxppro\files\.

Open a command prompt, go to the d:\bcd folder and run:
For Windows XP Home edition: bcd wxphome.
For Windows XP Professional: bcd wxppro.
This will build the (bootable) ISO image and burn it to your recorder.


No comments:

Post a Comment

Whats your thought on this post?