:: Windows XP Home SP1 ::

Copying the CD Contents

Inside of your SETUP folder which should be in AIO-DVD create a folder called XP and then create another folder inside of it called Home.

eg. - D:\AIO-DVD\SETUP\XP\Home\

Copy the entire XP Home cd to the Home folder.


Creating the Boot Folder

Thanks to gosh from the MSFN forums, I have discovered a much better way to obtain the boot files. Go to Start -> Run and type or paste the following command with the correct drive letter of course:

D:\AIO-DVD\SETUP\XP\Home\i386\winnt32.exe /noreboot

Windows XP Home setup should come up.  Choose "New Installation" and go through the options as usual. Do NOT download updated setup files.  At the "Setup Options" screen, click on "Advanced Options" and make sure "copy all installation files from the CD" is checked. If it is grayed out don't worry about it.

Setup should create 2 folders in the root of your main drive. They will be hidden so make sure "Show hidden files and folders" is enabled.

$WIN_NT$.~BT - the boot folder
$WIN_NT$.~LS - installation files folder

Delete $WIN_NT$.~LS that was just created. All we're concerned with is the boot folder.

Rename $WIN_NT$.~BT to HOM1 and move the entire folder into the AIO-DVD folder.

eg. - D:\AIO-DVD\HOM1\

Now in the HOM1 folder delete the following files:

BOOTSECT.DAT
migrate.inf
winnt.sif

IMPORTANT: Now there's just one last thing we have to do. When we ran setup like we just did, it expects us to be installing a new operating system the next time we reboot, so setup adds an extra boot option in the boot.ini file and changes the default boot choice to it. If you followed the instructions in "Getting Started", you should have made a copy of your boot.ini file. Take this copy, and copy it back over the boot.ini file in the C:\. Don't get rid of your original boot.ini, you will need it again if you plan on using other portions of this guide to add more operating systems.

If you don't have a backup of your boot.ini file, you can edit it yourself. This is what it normally looks like if you have XP Home installed on the first or only partition of your hard drive:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home" /fastdetect


Editing "setupldr.bin"

Let's start modifying some files. First in your HOM1 directory open up the file setupldr.bin in Hex Workshop. Under Edit -> Replace (Ctrl+H) search for Type: "Text String." We want to find i386 and replace it with HOM1. The screenshot below is just for reference.

Click OK and then choose Replace All. It should say "4 Occurrences Replaced." If it does not find 4 occurrences, there may be a problem somewhere. When done, save the file and choose not to back it up.


Editing "txtsetup.sif"

In your HOM1 folder find the file txtsetup.sif and open it in NotePad. Choose Edit -> Find (Ctrl+F) and search for SetupSourcePath. You will need to change the default "\" to reflect the directory you copied your XP Home cd to. In this case it is "\SETUP\XP\Home\"

SetupSourcePath = "\SETUP\XP\Home\"


Creating the Boot Sector

Now we will need to create the boot sector file that will actually load the text-mode setup for our operating system. Download the HOM1.zip file. Extract the file and then open HOM1.dat in Hex Workshop. Scroll down until you see the following text in the right hand side. The red text is what we will be replacing. Replace I386 with HOM1.

Save the file, choose not to back it up and then place it in the AIO-DVD folder.

NOTE: If the boot sectors I have provided for download to not work for you I have provided a section on how to create your own. Please check the "Boot Sectors" section under "Get Help".


Finishing Up

Navigate to your setup folder \AIO-DVD\SETUP\XP\Home\ and copy (not move) the following files into the root folder, AIO-DVD.

  • readme.html
  • spnotes.html (only found on an SP1 cd)
  • win51
  • win51ic
  • win51ic.sp1 (only found on an SP1 cd)