boaboa а еще можно использовать DTECTHAL.INF от лонгхорна - сам все сделает
[more=примерно так]
cls
@echo off
MODE CON COLS=50 LINES=50
Title Preparing system
color 1e
ECHO Adding HAL files and kernels...
set WinDir=c:\windows
set SystemDrive=c:
MD %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:hal.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:halaacpi.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:halacpi.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:halapic.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:halmacpi.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:halmps.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:halsp.dll %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:ntkrnlmp.exe %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:ntkrnlpa.exe %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:ntkrpamp.exe %SystemDrive%\HAL
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:ntoskrnl.exe %SystemDrive%\HAL
copy %SystemDrive%\HAL\*.* "%WinDir%\system32\"
copy %SystemDrive%\HAL\*.* "%Windir%\system32\dllcache\"
copy %SystemDrive%\HAL\hal.dll "%WinDir%\system32\halstnd.dll"
copy %SystemDrive%\HAL\ntoskrnl.exe "%WinDir%\system32\ntkrnlup.exe"
MD %SystemDrive%\CAB
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:ATAPI.SYS %SystemDrive%\CAB
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:INTELIDE.SYS %SystemDrive%\CAB
expand "%WinDir%\Driver Cache\i386\sp3.cab" -F:PCIIDEX.SYS %SystemDrive%\CAB
expand "%WinDir%\Driver Cache\i386\driver.cab" -F:PCIIDE.SYS %SystemDrive%\CAB
copy %SystemDrive%\CAB\*.* "%WinDir%\system32\drivers\"
RMDIR "%SystemDrive%\HAL" /s /q
RMDIR "%SystemDrive%\CAB" /s /q
ECHO>>%WinDir%\INF\DTECTHAL.INF [Version]
ECHO>>%WinDir%\INF\DTECTHAL.INF signature="$Windows NT$"
ECHO>>%WinDir%\INF\DTECTHAL.INF DriverVer=07/01/2001
ECHO>>%WinDir%\INF\DTECTHAL.INF [hal]
ECHO>>%WinDir%\INF\DTECTHAL.INF MPS_MP = halmps.dll
ECHO>>%WinDir%\INF\DTECTHAL.INF MPS_UP = halapic.dll
ECHO>>%WinDir%\INF\DTECTHAL.INF E_ISA_UP = halstnd.dll
ECHO>>%WinDir%\INF\DTECTHAL.INF ACPIPIC_UP = halacpi.dll
ECHO>>%WinDir%\INF\DTECTHAL.INF ACPIAPIC_UP = halaacpi.dll
ECHO>>%WinDir%\INF\DTECTHAL.INF ACPIAPIC_MP = halmacpi.dll
ECHO>>%WinDir%\INF\DTECTHAL.INF [ACPIOptions]
ECHO>>%WinDir%\INF\DTECTHAL.INF ACPIEnable = 2
ECHO>>%WinDir%\INF\DTECTHAL.INF ACPIBiosDate = 01,01,1999
[/more]