[Version]
signature="$Windows NT$"
DriverVer=07/01/2001,5.1.2600.2180
[hal]
acpipic_up = halacpi.dll
e_isa_up = halstnd.dll
mps_up = halapic.dll
mps_mp = halmps.dll
acpiapic_up = halaacpi.dll
acpiapic_mp = halmacpi.dll
;
;
;-------------------------------------------------------------------------
; Auto detecd Computer HAL with BIOS information
;-------------------------------------------------------------------------
; Copyright(R)1980-2005 Microsoft Crack Center MCC(1980-2005)
;
; tesk work by mstest@MCC 20050515
;
; mstested@hotmail.com
;-------------------------------------------------------------------------
;
;
; [ACPIOptions]
; This section lists options that affect the installation of ACPI on x86
;
; ACPIEnable
; 0 - ACPI will be disabled at install time regardless of the BIOS
; 1 - ACPI will be enabled at install time if an ACPI BIOS is present
; 2 - ACPI will be enabled based on the GoodACPIBios list, the NWACL
; and ACPIBiosDate
;
; ACPIBiosDate = mm,dd,yyyy
; Supplies the date that a BIOS must have to be considered good if it is
; not in the GoodACPIBios list. If a BIOS has a date greater than this and
; is not in the NWACL list, then it will be used unless ACPIEnable = 0
;
[ACPIOptions]
ACPIEnable = 2
ACPIBiosDate = 01,01,1999
4、修改BOOT.INI
在准备封装的系统后面加上 /DETECTHAL参数
如:
[boot loader]
timeout=0
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" /fastdetect /detecthal
5、将LONGHORN版本的NTLDR拷贝到从C:\,覆盖原有的NTLDR
6、将电源更改成标准Standard PC重启然后更改IDE为标准IDE,
7、删除所有驱动:
在设备管理器中先将Intel(r)* Bus Master IDE Controller(各主板不同)更新为 Standard Dual Channel PCI IDE Controller;将Primary IDE Channel,Secondary IDE Channel更新为Standard IDE/ESDI Hard Disk Controller
我们先卸载和更改里面的驱动:注意是有顺序的!!
先卸载网络适配器,和通用串行总线控制器,和声音,视频游戏控制器,监视器,显示卡,卸载时按右键,点卸载就行了。系统提示你要重新启动,都按否,不启动!!( 卸载显卡是为了防止GHOST到别的机上可能会出现的蓝屏现象)
然后从上到下把能卸的全删完。在系统设备中留下Microcode update Device,PCI bus,Plup and Play Software Device Enumerator三个。当然这之中要重启都选"否"!
8、在C:新建文件夹重命名为sysprep然后解压DEPLOY到此文件夹,执行setupmgr创建自动应答文件。双击sysprep.inf(用记事本打开),将[Unattended]下 InstallFilesPath=C:\sysprep\i386 一行删除(不删的话在安装是会提示插入Win2000sp4光盘)。在[UserData]下加上一行 ProductID="*****-*****-*****-*****-*****" 即原始安装光盘的序列号(不加的话会在安装时让你手动输入的!)。保存退出。
9、将DllCacheManager复制到2000(winnt)xp(windows)下面,执行DllCacheManager备份
10、HAL的信息的注册表的位置
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root
下面的XXXX_HAL,(2000在winnt\system32\regedit32打开删除此键值,xp直截在开始、运 行里键入regedit既可)
11、封装:执行sysprep.exe进行封装,执行后自动关机
12、ghost
应该是你的boot.ini中下面一行中的X设置不对:
default=multi(0)disk(0)rdisk(0)partition(X)\WINDOWS
估计你封装前的系统分区和恢复后的系统分区的分区号不一致。
这个现象经常是由于品牌机的硬盘的前面有一个很小的诊断分区,从而使真正的windows系统分区的序号变了。相应的按照你恢复后的电脑分区的情况更改X的值,或者象我一样做成多启动。
附上我的boot.ini:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="从第一个主分区上启动 Microsoft Windows XP Professional" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="从第二个主分区上启动 Microsoft Windows XP Professional" /noexecute=optin /fastdetect