Hi, first of all- great site, great project and exceptional work on these driver packs, respect
I was looking for ages for a script or a way to automate sysprep mass storage section, using MS DP, even started doing it by hand, a post in 911cd.net showed me this thread, great job
JakeLD wrote:...Is there any way to update the HAL after running sysprep ???
I tried with the boot.ini options and it didnt work at all.
Hi, what options did you use in boot.ini?
I have successfully switched between all possible HALs (incl. standard), on the vary same installation, transferred on 5 different type machines, including old P233 board, using the boot.ini options as described here:
http://www.microsoft.com/technet/sysint … otini.mspx
BOOT.INI
[boot loader]
timeout=10
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
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Standard PC" /fastdetect /KERNEL=Ntoskrnl.exe /hal=Halstd.dll
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Compaq SystemPro" /fastdetect /KERNEL=Ntoskrnl.exe /hal=Halsp.dll
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Advanced Configuration and Power Interface (ACPI) PC" /fastdetect /KERNEL=Ntoskrnl.exe /hal=Halacpi.dll
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="ACPI Uniprocessor PC" /fastdetect /KERNEL=Ntoskrnl.exe /hal=Halaacpi.dll
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="ACPI Multiprocessor PC" /fastdetect /KERNEL=Ntkrnlmp.exe /hal=Halmacpi.dll
Get the needed files from SP2.CAB, rename hal.dll to halstd.dll and put them in SYSTEM32 folder. When switching HALs first run must be in SAFE MODE, or it hangs.
About the sysprep masstorage pack- I have also encountered the same infinite loop, haven't had time recently to dig deeper what was happening.
AFAIK what sysprep does with the mass storage section is to add the HID in HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase with the relevant service, copy the files needed and install the service itself. My point is that once this is achieved, these entries can be exported and imported in a generic installation with the needed files copied, thus next sysprep could be without the mass storage section. I know it may take long to collect all bits and pieces, but once this is done, the settings will be somehow "universal", and could be used pretty easy to prepare a generic installation to become "universal", even without using sysprep.
Regards,
ilko