shuttrbug Posted March 12, 2007 Posted March 12, 2007 My team has been tasked to redo the several different ghost images we have to just one image. We have 5 different HALs that have to be included 3 different desktop HALs and 2 laptops. So far we have been successful with the 1 HAL for the base image. This will be a ghost image so we are using an .inf. Software will be packaged and installed after the base install depending on the computer.Any guidance you gurus have would be greatly appreciated. My team (me and another guy) have limited experience in this although we have a couple of other guys in our group that have done extensive imaging before but won't help cause they are 'too busy'...great team spirit. Thanks in advanced.
BoaSoft Posted March 13, 2007 Posted March 13, 2007 Before make ghost image unpack all hall& kernel into system32 dir. before copy, rename standart (non-acpi) hall to hallstd.Edit boot.Ini[boot loader]timeout=10default=multi(0)disk(0)rdisk(0)partition(1)\WINXP[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINXP="Microsoft Windows XP Professional RU" /noexecute=optin /fastdetectmulti(0)disk(0)rdisk(0)partition(1)\WINXP="Standart PC" /noexecute=optin /fastdetect /hal=halstd.dll /kernel=ntoskrnl.exemulti(0)disk(0)rdisk(0)partition(1)\WINXP="ACPI PC" /noexecute=optin /fastdetect /hal=halacpi.dll /kernel=ntoskrnl.exemulti(0)disk(0)rdisk(0)partition(1)\WINXP="ACPI Uniprocessor PC" /noexecute=optin /fastdetect /hal=halaacpi.dll /kernel=ntoskrnl.exeIn first boot select platform type.
shuttrbug Posted March 15, 2007 Author Posted March 15, 2007 Can anyone explain this a bit fuller for me? Is he saying, change the HAL on each different machine we are using to ACPI and then copy all 5 HAL versions into the .inf file?
kickarse Posted March 15, 2007 Posted March 15, 2007 (edited) This topic has come up many, many times. I'd do a search on it on the forum because it's already been covered completely.Some useful info of what the above poster said... You add the text to the boot.ini NOT the sysprep.infhttp://support.microsoft.com/kb/309283http://www.altirigos.com/vbulletin/showthr...=953&page=3Also, before you take the image you want to change the Computer type (in hardware manager) to "Advanced Configuration and Power Interface (ACPI) PC". Just update the driver and click on the appropriate one. Edited March 15, 2007 by kickarse
shuttrbug Posted March 15, 2007 Author Posted March 15, 2007 Here is the list of our HALs we have. I have looked at UIU ...which looks wonderful but not cost effective for our company.HP dx5150 halaacpi.dll LaptopHP NX5000 halaacpi.dll LaptopHP NX6110 halaacpi.dll LaptopHP D530S halaacpi.dll DesktopHP D51S halaacpi.dll DesktopHP D5000 halaacpi.dll DesktopHP D510 halaacpi.dll DesktopDell LT-D510 halaacpi.dll LaptopIBM T42 halacpi.dll LaptopHP NX9008 halacpi.dll LaptopHP NX7000 halacpi.dll LaptopDell GX520 halmacpi.dll DesktopIBM 8183 halmacpi.dll DesktopDell LT-D520 halmacpi.dll DesktopHP DC7100 halmacpi.dll DesktopIBM 8148 halmacpi.dll DesktopDell LT-D820 halmacpi.dll LaptopDell LT-D620 halmacpi.dll LaptopDell LT-D420 halmacpi.dll Laptop
dhdan Posted March 16, 2007 Posted March 16, 2007 Here is my attempt at this. http://www.msfn.org/board/index.php?s=&...st&p=617727 Mysysprep seems like a great utility to me, but I want my image to update the hal regardless of what it is dropped onto. The limitations of my sysprepped image are that you must use windows pe to deploy otherwise the script won't run. Other than that I use my image on quite a few pcs with 3 different hals and have had good luck with it. Good luck to you and if you find a solution that works for you, post it.
shuttrbug Posted March 19, 2007 Author Posted March 19, 2007 (edited) OK here is our sysprep.inf;SetupMgrTag[unattended] unattendedMode=Fullunattended OemSkipEula=Yes InstallFilesPath=C:\sysprep\i386 DriverSigningPolicy=Ignore OemPnPDriversPath=Drivers\Dell\GX520\controller;Drivers\Dell\GX520\Audio\SMAXWDM\W2K_XP;Drivers\Dell\GX520\Network\winxp;Drivers\Dell\GX520\Video\3;Drivers\IBM\8183\Audio\SMAXWDM\W2K_XP;Drivers\IBM\8183\Network\PRO100\WS03XP32;Drivers\IBM\8183\Network\PRO1000\WS03XP32;Drivers\IBM\8183\Video\3;Drivers\HP\DX5150\Audio;Drivers\HP\DX5150\Network;Drivers\HP\DX5150\Video ConfirmHardware=No OverwriteOemFilesOnupgrade=No DriverSigningPolicy=Ignore updateInstalledDrivers=Yes TargetPath=\WINDOWS[GuiUnattended] AdminPassword=password EncryptedAdminPassword=No OEMSkipRegional=1 OEMDuplicatorstring="Universal Image Testing V2.2" TimeZone=20 OemSkipWelcome=1[userData] ProductKey=******-PP2YQ FullName="Employee" OrgName="*****, LLC" ComputerName=[RegionalSettings] LanguageGroup=1 SystemLocale=00000409 UserLocale=00000409 InputLocale=0409:00000409[Display] BitsPerPel=32 Xresolution=1024 YResolution=768[setupMgr] DistFolder=C:\sysprep\i386 DistShare=windist[GuiRunOnce][identification] JoinDomain=******************.com[Networking] InstallDefaultComponents=Yes[sysprepcleanup][sysPrep] BuildMassStorageSection=Yes[sysprepMassStorage]and here is our mysysprep.inf file[Manufacturer];Dell Inc.=mfg.inf[Model];Dell Inc. Optiplex GX520=model.inf;Dell Inc. Optiplex GX520=mp.inf;Dell Inc. Optiplex GX520=up.inf HP dx5150 SFF(PZ585UA)=up.infOptiplex GX520=mp.inf[serialNo];Serial No=serial.infWe made the image on the Dell after changing the HAL to apci. and then sealed it up and it works on the DELL and IBM but not the HP Edited March 19, 2007 by shuttrbug
shuttrbug Posted March 26, 2007 Author Posted March 26, 2007 OK. Here is a thought that I had. 1. I have found numerous places (and tested myself) how to manually change the HAL type in windows (replacing the hal.dll file).2. I have seen scripts that detect the computer hardware (determining the required HAL type) and then will update the sysprep.inf file.Would it be possible to build a script that would determine the hardware type and then change the HAL file automatically?I am able to boot with the ACPI HAL, but would like to update it to MP_HAL, etc?I have done some scripting and would be able to build the script to update the hal file, but am not sure how to read the hardware type. Any help is greatly appreciated. Thanks
shuttrbug Posted April 11, 2007 Author Posted April 11, 2007 SUCCESS!My company nixed spending money on UIU and Acronis. So my partner, being the super intelligent one, wrote a vbs script that will change the HAL type within a winpe boot. SO we boot to winpe (from a hidden partition on the HD even!), run the VBS script that automatically based on the machine, changes the boot.ini file and then reboot to load the image. Works perfectly on 5 different machines so far!
lodoss900 Posted April 13, 2007 Posted April 13, 2007 http://blog.case.edu/djc6/2005/09/22/imagi...t_hals_wsysprepmakes sense.. i'm trying it now
kickarse Posted April 13, 2007 Posted April 13, 2007 SUCCESS!My company nixed spending money on UIU and Acronis. So my partner, being the super intelligent one, wrote a vbs script that will change the HAL type within a winpe boot. SO we boot to winpe (from a hidden partition on the HD even!), run the VBS script that automatically based on the machine, changes the boot.ini file and then reboot to load the image. Works perfectly on 5 different machines so far!Care to share?We've been doing a couple things here... I am using DriverPacks for LAN, MassStorage, CPU and Chipset. I use a driver scanner that adds them to the registry, which negates the need to add them to OemPnPDriversPath in the SYSPREP.inf.I also add a couple other things under SysprepMassStorage[Sysprep] BuildMassStorage=Yes;--- Enables SysprepMassStorage[SysprepMassStorage];--- This enables imaging on different hard IDE controllers Primary_IDE_Channel = %windir%\inf\mshdc.inf Secondary_IDE_Channel = %windir%\inf\mshdc.inf PCMCIA\*PNP0600=%systemroot%\inf\mshdc.inf *PNP0600=%systemroot%\inf\mshdc.inf PCMCIA\KME-KXLC005-A99E=%systemroot%\inf\mshdc.inf PCMCIA\_-NinjaATA--3768=%systemroot%\inf\mshdc.inf PCMCIA\FUJITSU-IDE-PC_CARD-DDF2=%systemroot%\inf\mshdc.inf *AZT0502=%systemroot%\inf\mshdc.inf PCI\CC_0101=%systemroot%\inf\mshdc.inf PCI\VEN_10B9&DEV_5215=%systemroot%\inf\mshdc.inf PCI\VEN_10B9&DEV_5219=%systemroot%\inf\mshdc.inf PCI\VEN_10B9&DEV_5229=%systemroot%\inf\mshdc.inf PCI\VEN_1097&DEV_0038=%systemroot%\inf\mshdc.inf PCI\VEN_1095&DEV_0640=%systemroot%\inf\mshdc.inf PCI\VEN_1095&DEV_0646=%systemroot%\inf\mshdc.inf PCI\VEN_0E11&DEV_AE33=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_1222=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_1230=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_7010=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_7111=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_2411=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_2421=%systemroot%\inf\mshdc.inf PCI\VEN_8086&DEV_7199=%systemroot%\inf\mshdc.inf PCI\VEN_1042&DEV_1000=%systemroot%\inf\mshdc.inf PCI\VEN_1039&DEV_0601=%systemroot%\inf\mshdc.inf PCI\VEN_1039&DEV_5513=%systemroot%\inf\mshdc.inf PCI\VEN_10AD&DEV_0001=%systemroot%\inf\mshdc.inf PCI\VEN_10AD&DEV_0150=%systemroot%\inf\mshdc.inf PCI\VEN_105A&DEV_4D33=%systemroot%\inf\mshdc.inf PCI\VEN_1106&DEV_0571=%systemroot%\inf\mshdc.inf;---- Latest Drivers for INTEL Chipsets PCI\VEN_8086&DEV_24D0=C:\D\C\I\xp\ich5core.inf PCI\VEN_8086&DEV_24DC=C:\D\C\I\xp\ich5core.inf PCI\VEN_8086&DEV_24D3=C:\D\C\I\xp\ich5core.inf PCI\VEN_8086&DEV_2640=C:\D\C\I\xp\ich6core.inf PCI\VEN_8086&DEV_2641=C:\D\C\I\xp\ich6core.inf PCI\VEN_8086&DEV_2642=C:\D\C\I\xp\ich6core.inf PCI\VEN_8086&DEV_27B0=C:\D\C\I\xp\ich7core.inf PCI\VEN_8086&DEV_27B1=C:\D\C\I\xp\ich7core.inf PCI\VEN_8086&DEV_27B8=C:\D\C\I\xp\ich7core.inf PCI\VEN_8086&DEV_27B9=C:\D\C\I\xp\ich7core.infI also do this withing UnattendedGUI ;UpdateHAL=ACPIAPIC_MP,%WINDIR%\Inf\Hal.inf;--- ONLY Un-Comment the beginning if your making a uniprocessor image become a multiprocessor;UpdateUPHAL=ACPIAPIC_UP,%WINDIR%\Inf\Hal.inf;--- ONLY Un-Comment the beginning if your making a multiprocessor image become uniprocessor;ForceHALDetection=Yes; --- ONLY un-comment if you un-comment one of the two aboveAnother note is that you do not need to un-comment the UpdateHAL in the Sysprep.inf if you’re imaging, let's say, from a 1.2 GHz Celeron to a 2.8 GHz Core 2 Duo. These are NOT multiprocessor but multi-core. A multiprocessor machine is TWO or more PHYSICAL chips. Most companies DO NOT have multiprocessor workstations. These are also either ACPI Uniprocessor PC or ACPI MultiProcessor PC, which should all work with Advanced Configuration and Power Interface (ACPI) PC.For some reason WLAN really slows down the sysprep component in min-setup, so I leave that out. I use the utility from the drivers section of this forum called Hardware 0.7.1 that is called to run on first login. This is setup to automatically install anything that didn't install during sysprep from the rest of the DriverPacks; sound, video and wlan.
shuttrbug Posted April 17, 2007 Author Posted April 17, 2007 Kickarse, what's this driver scanner you are talking about. ALso...whats the max characters allowed for a sysprep file? I think we have too many items in the drivers portion now and its causing and its causing an issue.
IcemanND Posted April 17, 2007 Posted April 17, 2007 I believe it is 1024 characters in the sysprep.inf, 512 in winnt.sif, and theoretically unlimited in the registry.
kickarse Posted April 19, 2007 Posted April 19, 2007 I just PM'd you. The guy who made the driver scanner was on this forum too...Whats great about the driver scanner is that it adds it to the registry, almost like native windows inf's folder. Works really well.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now