|
发表一下原作教程吧
First, from a windows GUI run this command:
c:\xpcd\i386\winnt32.exe /noreboot
XP Setup should come up. Make sure you chose New Installation, not Upgrade. Go through the options as usual. Don't 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's grayed out - that's fine.
It will create 2 folders on the root of the drive. These folders are hidden so make sure you can see hidden files/folders.
The BT folder has your boot files; the LS folder has the main install files (the i386 folder). Rename the 2 folders as follows:
Rename $WIN_NT$.~BT to BOOT (note capital letters)
Rename $WIN_NT$.~LS to Install (case doesn't matter)
Put the BOOT folder into the Install folder. In the BOOT folder, delete the following files:
BOOTSECT.DAT
migrate.inf
winnt.sif
In the Install folder, delete size.sif. You should now have the following:
In the BOOT folder, open setupldr.bin in a hex editor (like hexworks). In the hex editor, replace i386 with BOOT. It should do this 4 times.
If you want to use an unattend file, rename it to winnt.sif and put it in the BOOT folder.
Now we need to make the cd idents and boot menu. If you want you can download the cd idents above, or you can copy them from your local source.
If you download my boot sector, extract VOL1.DAT to the Install folder. Hex edit VOL1.DAT and replace VOL1 with BOOT. See picture below.
We just need to make it an image using cdimage.exe. Run the following command. Make sure you have at least 500 megs free. XPCD is your cdname, you can change that if you want. XP.ISO is the cd image made.
cdimage -lXPCD -t08/23/2001,13:00:00 -h -n -m -o -bc:\Install\VOL1.DAT c:\Install c:\XP.ISO
大概意思:
1。首先运行 c:\xpcd\i386\winnt32.exe /noreboot
2。改名 $WIN_NT$.~BT为 BOOT
改名$WIN_NT$.~LS为 Install
把BOOT文件夹放到Install下面
3。在BOOT目录下面删除
BOOTSECT.DAT
migrate.inf
winnt.sif(如果你需要无人值守安装,保留此文件)
4。在Install目录下面,删除
size.sif
5。打开BOOT目录下面的setupldr.bin(用WINHEX),替换I386为BOOT,一共有4处
6。找一个光盘启动文件,例如:xpsect.bin打开它,替换I386为BOOT,一共有1处
7。制作ISO文件
cdimage -lXPCD -t08/23/2001,13:00:00 -h -n -m -o -bc:\Install\xpsect.bin c:\Install c:\XP.ISO
8。完成
[ 本帖最后由 jasonwang 于 2007-1-25 02:35 PM 编辑 ] |
|