[12-22-2001] (Part 6)
Traditional Boot Process of a WinXP-CD
We have just finished generating the CORP2IN1.ISO which will give you a Bootable 2in1 CD if you burn it. The only shortcomings are the missing 2in1 Multi-Boot Menu and Autorun Menu.
Before we build Multi-Boot Menu, let us learn the Traditional Single Boot Process of the current 2in1 CD in our hand. I hope I can explain this process in simple words and you should pay attention to those important files names and location I highlighted:
1. You boot your computer with the 2in1 CD, the BIOS search information on the CD which tells to run the [b:05c39ad69e]BOOT.BIN[/b:05c39ad69e].
2. The [b:05c39ad69e]BOOT.BIN[/b:05c39ad69e] is actually a Boot-Sector telling where to load and what to see. With a HexEditor like UltraEdit, you may see the following contents:
00000470h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 45 ; ..............SE
00000480h: 54 55 50 4C 44 52 2E 42 49 4E 42 4F 4F 54 46 49 ; TUPLDR.BINBOOTFI
00000490h: 58 2E 42 49 4E 49 33 38 36 00 00 00 00 00 00 00 ; X.BINI386.......
The BOOT.BIN said: "You go to the directory I386 where you can find SETUPLDR.BIN and BOOTFIX.BIN plus some other important files."
3. Now the computer goes to the I386 (the i386 folder of our DevilsOwn), and starting to look into the contents of some important files which once again will tell where and what to to copy in the next setup step. You should pay full attention to the following 3 files which will be very important when we are going to build our Muti-Boot Menu: SETUPREG.HIV, SETUPLDR.BIN, TXTSETUP.SIF.
4. The SETUPREG.HIV in the I386 folder tells that the system to be setup is a full retail version of Windows XP Professional and from now on an ID-Card is given to your final product even though it is not finished yet.
5. The SETUPLDR.BIN in the I386 folder tells how to load, and even more important, where to load the minimum set of drivers and required files in the next DOS Setup stage. If you ASCII-search in the setupldr.ldr for I386, you will find 4 occurrance of "I386".
i.e. the SETUPLDR.BIN said: "You go to the I386 folder to load the minimum set of drivers and required files for DOS Setup Stage!"
6. Now the minimum set of files have been loaded. But before it jumps to the DOS Setup Stage, it will also look into the TXTSETUP.SIF in the I386 folder for another piece of important information: setupsourcepath. The setupsourcepath tells the location of the SetupSourceRoot containing the i386 folder which have all the SourceFiles to be copied. By performing a ASCII-search in the TXTSETUP.SIF, it is able to find SetupSourcePath = "".
i.e. TXTSETUP.SIF said: "Listen, in the next DOS Setup Stage, you should go to the i386 folder located under "" of the CD and copy all those files as the listed in my body for the subsequent Graphical Setup Stage."
The computer keep the words from TXTSETUP.SIF and then jump to the DOS Setup Stage, copying files as specified in TXTSETUP.SIF, followied by a Graphical Windows Setup Stage of the DevilsOwn Windows XP Professional.
After you feel comfortable to understand the boot process of the current Single-Bootable 2in1 CD, we shall start to cook a more complicated Muti-Bootable CD in our next step. By the mean time, try to get the following stuffs from the links provided and add them to your sourceroot (E:CORP2IN1_EN):
/http://members.rogers.com/khayftp2/wpro.rar
/http://members.rogers.com/khayftp2/wpro.r01
/http://members.rogers.com/khayftp2/wpro.r00
/http://members.rogers.com/khayftp2/loader.bin
/http://members.rogers.com/khayftp2/diskem1x.bin
/http://members.rogers.com/khayftp2/diskemu.cmd
/http://members.rogers.com/khayftp2/deload.bin
/http://members.rogers.com/khayftp2/mkbootcd.exe
We shall be using them in the "Multi-Boot" time.
Make yourself ready and Stay tuned!
New content segment is now in [12-22-2001] (Part 7). Check it out!
Last edited by khauyeung at Jul 20 2002, 10:19 AM
|