pebuilder

pebuilder 是用來建立可以 boot 得起機的 Xp Live CD

pebuilder.exe 它會從 Source CD 精煉出 "易化的xp" 放在以下目錄
C:\pebuilder3110a\BartPE

此 xp 大約 170 mb 左右, 有時覺得它簡得太過份了 .........

它不支持中文(沒有中文 font), 沒有 IE, 亦沒有 explorer !!

真係要 turn 好耐才算好工具 ~

 

建立 bartpe.iso

mkisofs.exe -iso-level 4 -force-uppercase -volid "BartPE" -b bootsect.bin -no-emul-boot -boot-load-size 4 -hide bootsect.bin -hide boot.catalog -o bartpe.iso C:\pebuilder3110a\BartPE

-iso-level LEVEL             Set ISO9660 conformance level
-force-uppercase              Do not allow lower case characters
-volid ID              Set Volume ID
-b FILE   Set El Torito boot image name
-no-emul-boot                 Boot image is 'no emulation' image
-boot-load-size #             Set numbers of load sectors
-hide GLOBFILE              Hide ISO9660/RR file

 


放在 usb 手指

 

首先我們必需要有 server03SP1 的以下兩檔

ramdisk.sys
setupldr.bin

放在 C:\pebuilder3110a\srsp1

!!!注意!!!

一定要係 SP1的, 因為其他的全部無效

 

建立手指:

pe2usb.cmd u:

如果失敗, 可以用 pe2usb.cmd -f u:
但要少心, 它會 format 手指的

 

建立後 usb 手指應該有以下檔案

ntldr
ntdetect.com
winnt.sif
bartpe.iso

===========================

at least 225MB of memory
iso size + 64

===========================

 

============winnt.sif============
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\I386\SYSTEM32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=bartpe.iso"

============pe2usb.cmd============

<<Installing bootsector>>

mkbt.exe -x -l=BartPE pe2usb.bin U:

-l=<xxx>  Set Volume Label to <xxx>
-x             Expert mode (do not check drive A or B only)

<<copy file>>

copy /y "%_base%srsp1\ramdisk.sys" "%_base%BartPE\i386\system32\drivers"

Copying %_base%srsp1\setupldr.bin to %_target%\ntldr

<<建立 winnt.sif>>

 


後記:

如果要咁辛苦才可實現此救機工具, 那我不用了 ~

因為芳間有不少代替品 !!