Sysprep and HAL Types

K

Kevin Vaughn

I'm trying to use sysprep to reduce the number of builds I must maintain.
Right now I have six different Dell Optiplex machines: GX1, GX60, GX110,
GX150, GX260, GX270. I currently have XP builds for the GX60 and GX270. I
would like to sysprep these builds and use them on the other models if
possible.

My problem, is that I don't know how HALs work. For example, on my NT4
build for GX110 the original file name for HAL.DLL is HAL.DLL, but when I
put XP on that same model the HAL changes to HALACPI.DLL. I don't know why
the name changes, because I don't understand how XP determines the HAL.
What would happen if the HALs don't match? What if I install a HALAACPI.DLL
image on a computer that would otherwise be HALACPI.DLL?

If you can help me understand HALs better, or you know of a simplified way
of dealing with this issue, I would really appreciate your help.

-Kevin
 
K

Kevin Vaughn

I think I found what I'm looking for. Here is a snippet from:
http://support.microsoft.com/?kbid=309283
Notes
1.. If an incorrect HAL is forced during Setup or by using a System
Preparation Image (Sysprep), you can see the correct list of HALs only if
you perform a new installation of Windows XP or Windows Server 2003. You
cannot change to a HAL other than what is listed in Device Manager.
2.. Device Manager does not permit the change from a Non-ACPI HAL to an
ACPI HAL. You must use a new install of Windows XP or Windows Server 2003
for this type of change. Change from an ACPI HAL to a Non-ACPI HAL only for
troubleshooting purposes.
3.. On Windows XP and later, the ACPI Uniprocessor HAL and the MPS
Uniprocessor HAL recognize the existence of more than one processor and
report the MP ID. Plug and Play detects that the computer devnode's hardware
ID list has changed and moves the devnode back through the "found new
hardware" detection process. As a result, when you add a second processor
the MP files (HAL and kernels) are automatically installed, and you do not
have to manually update the driver in Device Manager.
4.. Microsoft does not support running a HAL other than the HAL that
Windows Setup would normally install on the computer. For example, running a
PIC HAL on an APIC computer is not supported. Although this configuration
may appear to work, Microsoft does not test this configuration and you may
have performance and interrupt issues.
5.. Microsoft recommends that you switch HALs for troubleshooting purposes
only or to workaround a hardware problem.
6.. When you create a Sysprep image, the image must contain the correct
HAL type for the target computer. The following list describes the computers
that you can deploy a particular Sysprep image to based on the HAL type in
the source computer:
a.. You can deploy a Sysprep image created on a computer that uses a
Standard PC, Non-ACPI PIC HAL (Hal.dll) to a computer that uses the
following HAL types:
a.. Standard PC, Non-ACPI PIC HAL (Hal.dll)
b.. You can deploy a Sysprep image created on a computer that uses an
Advanced Configuration and Power Interface (ACPI) PC, ACPI PIC HAL
(Halacpi.dll) to a computer that uses the following HAL types:
a.. Advanced Configuration and Power Interface (ACPI) PC, ACPI PIC HAL
(Halacpi.dll)
c.. You can deploy a Sysprep image created on a computer that uses a MPS
Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll) to a computer that uses
the following HAL types:
a.. MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll)
b.. MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll)
d.. You can deploy a Sysprep image created on a computer that uses a MPS
Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll) to a computer that uses
the following HAL types:
a.. MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll)
b.. MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll)
e.. You can deploy a Sysprep image created on a computer that uses an
ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll) to a computer that
uses the following HAL types:
a.. ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll)
b.. ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll)
f.. You can deploy a Sysprep image created on a computer that uses an
ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll) to a computer that
uses the following HAL types:
a.. ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll)
b.. ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll)
 
K

Kevin Vaughn

In addition to my last post:
http://www.microsoft.com/technet/tr...r2003/proddocs/deployguide/acicd_sys_pfae.asp

Evaluating Hardware Differences
You might need to create separate disk images if your computers have
different hardware configurations. To determine whether you need additional
disk images based on your hardware configurations, you need to evaluate the
following categories of hardware.

HALs
You can only copy a disk image onto a destination computer if the HAL on the
disk image is compatible with the HAL on the destination computer.
Compatible HALs are those that are identical or those that can be updated
during an image-based installation. If the HAL on your disk image is not
compatible with the HAL that is required on a destination computer, you need
to create a separate disk image for the HAL that is required on the
destination computer. Table 3.2 can help you determine which HALs are
compatible.

Caution

a.. Copying a disk image to a destination computer that has an
incompatible HAL can cause the destination computer to restart continuously,
become unresponsive, or generate Stop errors.
Using the information in your hardware inventory, you can determine whether
you need more than one disk image for each operating system based on your
HAL requirements. For example, if you are installing Windows Server 2003,
Standard Edition on 50 computers, 10 of which require a non-ACPI HAL and 40
of which require an ACPI HAL, you need to create two disk images of Windows
Server 2003, Standard Edition: one image for the ACPI HAL and one image for
the non-ACPI HAL.

Use the following guidelines to determine how many disk images you need
based on the HALs used in your organization:

a.. PIC and APIC HALs are not compatible: You need one disk image for
computers that require PIC HALs and one disk image for computers that
require APIC HALs.
b.. ACPI and non-ACPI HALs are not compatible: You need one disk image for
computers that require ACPI HALs and one disk image for computers that
require non-ACPI HALs.
c.. Non-ACPI APIC uniprocessor HALs and non-ACPI APIC multiprocessor HALs
are compatible: You can use a single disk image for all computers that
require these HALs.
d.. ACPI APIC uniprocessor HALs and ACPI APIC multiprocessor HALs are
compatible: You can use a single disk image for all computers that require
these HALs.
e.. ACPI PIC HALs are not compatible with any other HAL: You need a
separate disk image for computers that require ACPI PIC HALs.
In addition, you might need to have a separate disk image if any of your
computers support hyper-threading. Hyper-threading enables multithreaded
software applications to execute threads in parallel within each processor.
On a hyper-threading enabled system, Windows XP and the Windows Server 2003
family function as they would on a multi-processor system, even when only a
single physical processor is installed.

Windows automatically uses the hyper-threading capabilities of the processor
if the following conditions are met:

a.. The computer hardware supports hyper-threading, and this functionality
is enabled in the computer's BIOS.
b.. Hyper-threading functionality is installed in the computer processor.
c.. The computer is using an ACPI Uniprocessor HAL.
d.. Windows detects one or more processors or enabled threads.
When the listed conditions are met, Windows automatically updates the HAL to
the ACPI Multiprocessor HAL and installs an additional processor.

When a disk image is copied to a hyper-threading-enabled system, and the HAL
is incompatible, the computer might not boot correctly. If the computer does
boot correctly, it might not be able to take advantage of hyper-threading
technology.

To ensure that the HALs on your disk images are compatible with
hyper-threading enabled systems, you must create the master installation on
a computer that has one of the following:

a.. An ACPI hyper-threading enabled HAL.
b.. An ACPI APIC uniprocessor HAL.
c.. An ACPI multiprocessor HAL.
If you do not create the master installation on one of these types of
computers, Windows is not able to update the system to use multiple
processors. A Sysprep image made on an ACPI-compliant multiprocessor
computer will run in a multiprocessor configuration even if support for
hyper-threading is turned off in the BIOS.

In each copy of the job aid "Disk Image Worksheet " (ACISYS_1.doc), under
"Hardware Installed on this Image," enter the type of HAL that will be
included on the disk image. You might have to create more copies of the
worksheet if you are deploying several different types of HALs with the same
operating system and the HALs are incompatible. Be sure to include the file
name of the HAL in the worksheet. HAL file names and descriptions are listed
in Table 3.2.

Portable computer devices
You might also need to create a separate disk image for portable computers.
Portable computers often require vendor-specific or hardware-specific device
drivers. Frequently, these specialized device drivers are not compatible
with desktop computers. For example, if you configure a disk image of a
portable computer that has an inboard pointing device, and then copy the
disk image onto a desktop computer, the desktop computer might not have
mouse or keyboard support.

If the portable computers in your organization require special device
drivers, consider creating separate disk images for your portable computers.
Having separate disk images for your portable computers prevents device
conflicts and ensures that the appropriate device drivers are installed on
both your portable and desktop computers.

In each copy of the worksheet under "Hardware Installed on this Image,"
record the names of the portable devices the disk image supports and the
names of the device driver files that are associated with the devices. You
might have to create more copies of the worksheet if you decide to create
separate disk images for your portable computers.

Other devices
You do not need to create separate disk images for legacy (non-Plug and
Play) hardware or hardware that requires vendor-specific device drivers;
however, you might want to do this if you have a large number of computers
that require the same special device drivers and have the same hardware
configuration. For example, you might want to create a separate disk image
for file servers that have RAID storage devices. Frequently, you have to
install vendor-specific drivers for RAID devices, and you have to use a
vendor-specific utility to configure them. Having a separate disk image lets
you copy a fully configured and optimized system without having to perform
any configuration tasks after deployment.

You can use your hardware inventory to identify legacy devices or other
devices that require vendor-specific device drivers. In each copy of the
worksheet under "Hardware Installed on this Image," record the names of any
legacy devices and vendor-specific devices a disk image supports. Also
include the names of all files that are associated with the device drivers.

Mass storage controllers
You do not need a separate disk image for each mass storage controller.
However, you need to make sure that the appropriate device drivers for a
mass storage controller are available on a disk image or on a floppy disk.
If a mass storage controller is listed in the device information files that
ship with Windows Server 2003 and Windows XP Professional - Machine.inf,
Scsi.inf, Pnpscsi.inf, or Mshdc.inf - then the device drivers for it will be
available on the disk image. If the mass storage controller is not listed in
one of these .inf files, you need to record the name of the mass storage
controller under "Hardware Installed on this Image." If the mass storage
controller is not listed in the "Mass Storage Controller Worksheet"
(ACISYS_2.doc), you also need to record the following information for the
mass storage controller under "Hardware Installed on this Image": the Plug
and Play device ID, the names of the device driver files, the tag file or
disk tag, and the name of the .inf file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top