|
|
MCC兄的以下方法,好像少了两个电源 1.Compaq SystemPro Multiprocessor or 100% Compatible 2.Silicon Graphics Visual Workstation 请问如何加呢?
1、从系统中提取如下文件(WIN2000在SP4.CAB/WINDOWS XP SP2在SP2.CAB/WINDOWS 2003在SP1.CAB中):
halacpi.dll
halapic.dll
halmps.dll
halaacpi.dll
halmacpi.dll
hal.dll →并更名为halstnd.dll
ntkrnlmp.exe
ntkrnlpa.exe
ntkrpamp.exe
ntoskrnl.exe →并更名为ntkrnlup.exe
2、将上述文件拷贝到系统\WINDOWS\SYSTEM32\(2000为\WINNT\SYSTEM32\)目录;
3、将以下代码保存为dtecthal.inf并拷贝到\WINDOWS\INF\(WINDOWS 2000为\WINNT\INF\)如果不可见,可在文件夹选项里在“显示所有的文件和文件夹”打上勾和“隐藏受保护的系统文件”去掉勾。
[Version]
signature="$Windows NT$"
DriverVer=07/01/2001
[hal]
MPS_MP = halmps.dll
MPS_UP = halapic.dll
E_ISA_UP = halstnd.dll
ACPIPIC_UP = halacpi.dll
ACPIAPIC_UP = halaacpi.dll
ACPIAPIC_MP = halmacpi.dll
[ACPIOptions]
ACPIEnable = 2
ACPIBiosDate = 01,01,1999
4、将原文件BOOT.INI重命名,如:BOOT1.INI,修改BOOT1.INI,在准备封装的系统后面加上 /DETECTHAL参数,另存为BOOT.INI
如:
[boot loader]
timeout=3
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /detecthal
C:\ = "Microsoft Windows"
注:如果你是采用的是FAT32格式且格式化时是用Format c:/s,那么建议保留最后一行,这样启动时会有两个选项,一个是进系统,一个是进DOS。
5、将系统下的NTLDR文件重命名,如:NTLDR3,将LONGHORN版本的NTLDR拷贝到从C:\
6、解压DEPLOY.CAB到c:\ sysprep
7、创建批处理文件,作为封装完后运行的命令,
如:
@echo off
cd c:\
attrib ntldr -h -s -r
attrib ntldr3 -h -s -r
del ntldr
ren ntldr3 ntldr
attrib ntldr +h +s +r
attrib boot.ini -h -s -r
attrib boot1.ini -h -s -r
del boot.ini
ren boot1.ini boot.ini
attrib boot.ini +h +s +r
del ZProgBar.ocx
del c:\windows\run.bat
exit
另存为C:\WINDOWS\RUN.BAT |
|