C H A P T E R  9

Incorporating Sun Fire Drivers Into WIM or RIS Images

This chapter is intended for advanced system administrators who need to incorporate the server-specific drivers into a Windows Imaging Format (WIM) image or a Remote Installation Service (RIS) image.

WIM files are installed using Windows Deployment Services (WDS). RIS images can be deployed using either WDS in legacy mode or RIS.

This chapter is not a tutorial on WDS or RIS; it provides guidance on how to incorporate the server-specific drivers into a WIM or RIS image.


Determine Required Drivers

The server-specific drivers that must be incorporated into a WIM or RIS image are shown in TABLE 9-1.


TABLE 9-1 Server-specific Drivers Required for WIM or RIS Images

Server Support

Driver/Device

Incorporate for Windows Server 2003 (X4500 or X4540)

Incorporate for Windows Server 2008 (X4540 only)

32-bit

64-bit

32-bit

64-bit

X4500 and X4540

AMD-8132 HyperTransport IOAPIC Controller

Yes

Yes

No

No

X4500 ONLY

AMD-8111 High Precision Event Timer

Yes

No

n/a

n/a

X4500 ONLY

AMD-8131 HyperTransport PCI-X Tunnel

Yes

No

n/a

n/a

X4500 and X4540

AMD K8 Processor

Yes

Yes

No

No

X4500 and X4540

AMI Virtual Floppy

Yes

Yes

Yes

Yes

X4500 ONLY

Marvell SATA integrated disk controller

Yes

Yes

n/a

n/a

X4540 ONLY

LSI Logic Fusion-MPT integrated disk controller

Yes

Yes

Yes

Yes

X4540 ONLY

NVIDIA nForce PCI System Management

Yes

Yes

No

No

X4540 ONLY

NVIDIA nForce4 HyperTransport Bridge

Yes

Yes

No

No

X4540 ONLY

NVIDIA nForce4 Low Pin Count Controller

Yes

No

No

No



Add Drivers to a WIM Image for the Sun Fire X4540 Server

For remote installation of Windows Server 2008 using a server running Windows Deployment Services, the LSI integrated disk controller driver provided with Windows Server 2008 is sufficient to install the operating system.

Before you Begin

Before creating a WIM image, you need to do the following:


procedure icon  To Add Drivers to the WIM Image

1. Extract the contents of Windows Server 2008 DriverPack.zip to a network share (for example: \\yourshare\share\DriverPack), making sure to maintain the directory structure.

2. Select the service image to update and export the image.

a. Click Start, click Administrative Tools, and then click Windows Deployment Services.

b. Find the image to service. Right-click the image and then click Disable.

c. Right-click the image and click Export Image. Follow the Wizard directions to export the image to the location of your choice.

3. Mount the Windows image you just exported. For example,

imagex /mountrw C:\windows_distribution\sources\install.wim 1 C:\win_mount

The first Windows image in the Install.wim file is mounted to C:\wim_mount

4. Use Windows System Image Manager (Windows SIM, available in Windows AIK) to create an answer file that contains the paths to the device drivers that you intend to install. See the Microsoft documentation for the Windows Automated Installation Kit for the details of starting the Windows SIM application.

5. Add the Microsoft-Windows-PnpCustomizationsNonWinPE component to your answer file in the offlineServicing pass.

6. Expand the Microsoft-Windows-PnpCustomizationsNonWinPE node in the answer file. Right-click DevicePaths, and then select Insert New PathAndCredentials.

A new PathAndCredentials list item appears.

7. In the Microsoft-Windows-PnpCustomizationsNonWinPE component, specify the path to the architecture folder in the DriverPack folder on the network share, and the credentials used to access the network share.

For example, the path and credentials for a 64-bit image might be:

<Path>\\yourshare\share\DriverPack\amd64</Path>

<Credentials>

<Domain>MyDomain</Domain>

<Username>MyUserName</Username>

<Password>MyPassword</Password>

</Credentials>

8. Save the answer file and exit Windows SIM. The answer file must be similar tothe following sample. The sample assumes the architecture is 64-bit.


<?xml version="1.0" ?>
<unattend xmlns="urn:schemas-microsoft-com:asm.v3" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
   <settings pass="offlineServicing">
      <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
         <DriverPaths>
            <PathAndCredentials wcm:keyValue="1">
               <Path>>\\yourshare\share\DriverPack\amd64</Path>
               <Credentials>
                  <Domain>MyDomain</Domain>
                  <Username>MyUserName</Username>
                  <Password>MyPassword</Password>
               </Credentials>
            </PathAndCredentials>
         </DriverPaths>
      </component>
   </settings>
</unattend>

9. Use Package Manager to apply the unattended installation answer file to the mounted Windows image. Specify a location for the log file to create. For more information about using Package Manager, see the Microsoft Windows AIK documentation. For example,

pkgmgr /o:"C:\wim_mount\;C:\wim_mount\Windows" /n:"C:\unattend.xml" /l:"C:\pkgmgrlogs\logfile.txt"

The .inf files referenced in the path in the answer file are added to the Windows image. A log file is created in the directory C:\Pkgmgrlogs\.

10. Review the contents of the %WINDIR%\Inf\ directory in the mounted Windows image to ensure that the .inf files were installed. Drivers added to the Windows image are named oem*.inf. This is to ensure unique naming for new drivers added to the computer. For example, the files MyDriver1.inf and MyDriver2.inf are renamed oem0.inf and oem1.inf.

11. Unmount the .wim file and commit the changes. For example:

imagex /unmount /commit C:\wim_mount

12. Replace the service image and Enable the image.

a. If the Windows Deployment Services snap-in is not running, click Start, click Administrative Tools, and then click Windows Deployment Services.

b. Find the image to service. Right-click the image and then click Replace Image. Follow the Wizard directions to replace the service image with the Windows image that was updated.

c. Right-click the service image and then click Enable.

The service image is now available and all the server-specific drivers are added to the image.


Add Drivers to the RIS Image for the Sun Fire X4500 Server

The following procedure describes one method of incorporating the drivers into a RIS image.

Before You Begin

Before creating a RIS image, you need to do the following:


procedure icon  To Add Drivers to the RIS Image

In the following procedure, RemoteInstall\Setup\Language\Images\Dir_name\Arch refers to the image located on the RIS server where the drivers will be added.

To add drivers to the RIS image:

1. At the same level as the RemoteInstall\Setup\Language\Images\Dir_name\Arch folder on the RIS image, create a $OEM$ folder.

2. In the $OEM$ folder, create a $1\Sun\Drivers folder.

3. Extract the contents of DriverPack.zip to a temporary location, making sure to maintain the directory structure.

4. Copy the $OEM$\$1\Sun\Drivers\mrvl\mvsata.sys file to the
RemoteInstall\Setup\Language\Images\Dir_name\Arch folder.

5. Add the following text into the RemoteInstall\Setup\Language\Images\Dir_name\Arch\txtsetup.sif file, at the end of the visible text.

[SourceDisksFiles]
mvsata.sys = 1,,,,,,3_,4,1

HardwareIdsDatabase]
PCI\VEN_11ab&DEV_6041 = "mvsata"
PCI\VEN_11ab&DEV_6081 = "mvsata"

PCI\VEN_1000&DEV_6042 = "mvsata"

[SCSI.load]
mvsata = mvsata.sys,4

[SCSI]
mvsata = "Marvell Serial ATA Gen 2 PCI-X Adapter(Server 2003 32-bit)"

6. Make the following changes to the .sif file that is used for installation.

For readability, the OemPnpDriversPath information has been shown on multiple lines. The information must be entered on a single line.


TABLE 9-2 Sun Fire X4500 Server .sif File Changes

Windows Server 2003 32-bit

Windows Server 2003 64-bit

[Unattended]
OemPreinstall = yes

OemPnpDriversPath=”\Sun\Drivers\amd\cpu;\Sun\Drivers\amd\8131\ioapic;\Sun\Drivers\amd\8111\hpet;\Sun\Drivers\ati;\Sun\Drivers\mrvl;\Sun\Drivers\ami”

[Unattended]
OemPreinstall = yes

OemPnpDriversPath=“\Sun\Drivers\amd\cpu;\Sun\Drivers\amd\8132\ioapic;\Sun\Drivers\mrvl;\Sun\Drivers\ami”


7. Stop and start the Remote Installation Service (BINLSVC) on the RIS server. To do this, type the following commands at the command prompt and press Enter after each command:

> net stop binlsvc
> net start binlsvc


Adding Drivers to the RIS Image for the Sun Fire X4540 Server

For remote installation of Windows Server 2003 using a server running Windows Remote Installation Services, the LSI integrated disk controller driver provided with Windows Server 2003 is not sufficient to install the operating system. Sun recommends updating the RIS image with the LSI integrated disk controller driver available with DriverPack.zip.

Before you Begin

Before creating a RIS image, you need to do the following:


procedure icon  To Add Drivers to the RIS Image

In the following procedure, %RIS_Image% refers to the root of your Windows image on the RIS server.

1. Create the following directories in RIS_Image (root of your Windows image on the RIS server.):

2. Extract the contents of DriverPack.zip to a temporary location, making sure to maintain the directory structure.

3. Update the RIS_Image with the platform-specific drivers:

4. Copy the contents of the %RIS_Image%\$OEM$\$1\Sun\Drivers\lsi folder to the %RIS_Image%\$OEM$\textmode folder. (After copying the contents, you can delete the %RIS_Image%\$OEM$\$1\Sun\Drivers\lsi folder).

5. Copy the contents of the %RIS_Image%\$OEM$\$1\Sun\Drivers\RIS folder to the %RIS_Image%\$OEM$\textmode folder. (After copying the contents, you can delete the %RIS_Image%\$OEM$\$1\Sun\Drivers\RIS folder).

6. Create an answer file using the method described in the Microsoft TechNet article "Creating an Answer File with Setup Manager". The article can be found at:

http://technet2.microsoft.com/WindowsServer/en/library/78421630-6fcc-4604-a888-bd9c84244a5b1033.mspx

7. Make the changes listed in TABLE 9-3 to the .sif file that is used for installation.

For readability, the OemPnpDriversPath information has been shown on multiple lines. The information must be entered on a single line.


TABLE 9-3 Sun Fire X4540 .sif File Entries

Windows Server 2003 32-bit

Windows Server 2003 64-bit

[Unattended]
OemPreinstall = yes

OemPnpDriversPath=“\Sun\Drivers\amd\cpu;\Sun\Drivers\ast;\Sun\Drivers\nvidia\smbus;\Sun\Drivers\nvidia\ethernet”

[MassStorageDrivers]
"LSI Logic Fusion-MPT SAS Driver (32-bit)" = OEM

[OEMBootFiles]
lsi_sas.inf
lsi_sas.sys
lsinodrv.inf
s2k332.cat
txtsetup.oem

[Unattended]
OemPreinstall = yes

OemPnpDriversPath=“\Sun\Drivers\amd\cpu;\Sun\Drivers\ast;\Sun\Drivers\nvidia\smbus;\Sun\Drivers\nvidia\ethernet”

[MassStorageDrivers]
"LSI Logic Fusion-MPT SAS Driver (64-bit)" = OEM

[OEMBootFiles]
lsi_sas.inf
lsi_sas.sys
lsinodrv.inf
s2k3am64.cat
txtsetup.oem


8. Stop and start the Remote Installation Service (BINLSVC) on the RIS server.

To do this, type the following commands at the command prompt and press Enter after each command:

net stop binlsvc

net start binlsvc