Sie sind auf Seite 1von 3

1. Download MS Windows Server 2003 Service Pack 1 (RC). It is a SFX CAB archive.

You may use WinRAR to open it. A. Extract the SETUPLDR.EX_ and RAMDISK.SY_. STARTROM.n1_ B. Expand SETUPLDR.EX_ and ramdisk.sy_ to get SETUPLDR.EXE RAMDISK.SYS and STARTROM.N12 C. Make a folder called tftproot copy the setupldr.exe to the folder tftproot an d rename it to NTLDR (no extension) D. copy STARTROM.N12 to tftproot and rename it to STARTROM.0 (zero) E. copy NTDETECT.COM from the win2k3 sp1 folder to the tftproot folder 2. Build a normal XPsp2 source (a directory with xp cd contents, and sp2 slipstr eamed in. not a cd) 3. set up your tftp server. 4. start with a fresh UBCD4WinV3.12 install 5. launch UBCD4WinBuilder.exe , disable as many plugins as you are comfortable w ith, I disabled ones like opera and some of the duplicate tools. 6. (**OPTIONAL**)go through the drivers directory and delete the ones you know y ou won't be using. these will take up space in the disk image, and we want it to be as small as pos sible, but make sure you have the ones you need. 7. update malware defs/antivirus defs from the plugin configuration tool (enable ,disable config etc..) 8. once you are happy with your plugins, go ahead and build and create the iso. (Just do it.. its needed for post processing.) ***replace c:\pebuilder3.10a\bartpe\i386\system32\drivers\ramdisk.sys with the o ne you extracted in step1. if you rebuild make sure you replace the file again because it'll get deleted. you can also put the ramdisk.sys file in your xp-sp2 source folder replacing the ramdisk.sy_ file there then when you rebuild, you won't have to keep replacing it in the bartpe folder. ***if you want to build a smaller sdi disk image continue on to step 9. ***if you want to use ISO file instead of smaller SDI image. copy the ISO image to the tftproot folder and skip down to step 21 9. ok so we have built the bartpe output directory structure. right click on the "c:\pebuilder3.10a\bartpe" output folder and select properties, notice the size, subtract 80M. Write this down, this is the size of the SDIdisk we will create la ter. 10. download xpeffi.exe from here http://www.microsoft...;DisplayLang=en 11. launch xpffi.exe and select only "windows xp embedded sp1 tools"

In the middle where it says download location click "change location" and select somewhere familiar to you, I created a folder called sdi on the desktop and chose it .. click "start download now" when its done it will launch the setup application. cancel out of it, we are not interested in it. 12. in the sdi folder will be a couple of files, one of them is tools.cab. you can use winzip to extract the files. keep all the files together.. we are interested in the file called sdiloader.exe, sdi.sys, sdi.inf, and sdi.ca t 13. launch sdiloader, it will prompt you to install a driver, go ahead and do it . when the gui comes up, click the "add disk" button and navigate our tftproot fol der and for a file name I used "bartpe.sdi". it will prompt you to create it if it d oes not exist. It will ask you what size it should be, (the default is 64) change it to the num ber we wrote down earlier. this will create a virtual hard disk which we will work with next. keep sdiloade r running, just minimize it. 14. open a cmd window. and run DISKPART.EXE (case is unimportant in the followin g.) A. type: LIST DISK <enter>(it will return the hard disks it finds. one will be t he disk we just created with sdiloader B. type: SELECT DISK x <enter> (where x is the small drive we just created,(usua lly disk 1 but make sure you have the right one!!!) C. type: CLEAN <enter> d. type: create partition primary <enter> e. type: ASSIGN LETTER=R (or whaterver, I'll use R...) f. type: EXIT 15. In the cmd window type: format R: /FS:NTFS /V:BARTPE_SDI /Q /C /Y (make sure your drive letter is the same as what we ASSIGNed just now!! this formats the drive and enables compression. 16. once the format is done, in the cmd windows type robocopy.exe /MIR c:\pebuilder3.10a\bartpe\ R:\ /MIN:150000 /R:3 /W:4 17. in the cmd window type DEFRAG R: 18. in the cmd windows type robocopy.exe /MIR c:\pebuilder3.10a\bartpe\ R:\ /MAX:150000 /R:3 /W:4 (note the min and max difference in the 2 robocopy commands. 19. all of the files should fit. you can play with different sizes after you are familiar with the process. 20. go back to the sdiloader application, or relaunch it if you closed it. and s elect "remove disk" it will dismount our disk image file. 21. navigate to the tftproot folder and create a textfile called WINNT.SIF and p aste the following lines

for using sdi image: #############snip################## [SetupData] BootDevice="ramdisk(0)" BootPath="\i386\System32\" OsLoadOptions = "/noguiboot /fastdetect /minint /rdimageoffset=36352 /rdpath=bar tpe.sdi" #############snip################## for using ISO image #############snip################## [SetupData] BootDevice="ramdisk(0)" BootPath="\i386\System32\" OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=bartpe.iso " #############snip################## so in our tftproot folder we have the files: NTDETECT.COM, NTLDR, WINNT.SIF, STARTROM.0, and (BARTPE.SDI or BARTPE.ISO) *I capitalized all of them... I think it makes a difference, I did it just in ca se. **important----copy all of the files in our tftproot folder into the root direct ory of your tftp server.*** 22. if you are already running a pxe server, you will have to configure its menu so that it passes the STARTROM.0 file as the start up file. this file will handle booting the machine correctly. once you have it working, you can just replace your iso/sdi image if you're using sdi image, it is good to keep an eye on how much free space it has. the smaller the file the less time it will take to download to boot the machine.

Das könnte Ihnen auch gefallen