Exit Print View
#### Sun Netra X6270 M2 Server Module Installation Guide for Windows Operating Systems |

| Part II Windows Server System Administrator References E. Incorporating Device Drivers Into Windows Server 2008 WIM Images for Windows Deployment Services Procedures for Incorporating Drivers Into WIM Image(s)Before you Begin |

# Add Device Driver(s) to Boot WIM – Windows Server 2008 SP2 Only

Note - If you are performing a Windows Server 2008 R2 installation, skip this procedure. Device drivers are not required at boot time for Windows Server 2008 R2 installations.

For Windows Server 2008 SP2 installations only, perform the following steps to add the appropriate SAS HBA LSI device driver (MegaRAID or MPT2) to the `boot.wim` image. Note that if the required SAS HBA device driver (as described in Device Driver Directory Location on Tools and Drivers DVD and Device Drivers to Add to WIM Image(s)) is not added to the `boot.wim` image, the Windows Server 2008 SP2 installation will fail.

1. Insert the Windows Server 2008 SP2 DVD media into the DVD reader of the system that is hosting the Windows Deployment Services.
2. Perform the following to launch the Windows Deployment Services Administration tool and import the Windows Server 2008 SP2 Boot WIM.
   1. Click `Start` -->`All Programs` -->`Windows Deployment Services.`
   2. Right-click `Boot Images` and select `Add a Boot Image`, then click `Browse` to specify the Windows Server 2008 SP2 boot WIM file.

      For example: `DVDDrive:\sources\boot.wim`

      Click `Open` then `Next`.

3. To import the Windows Server 2008 SP2 boot image, click `Next` twice then click `Finish`.
4. Disable the Windows Server 2008 SP2 boot WIM using the Windows Deployment Services Administration:
   - Click and expand `Boot Images`, right-click `Microsoft Windows Server (Setup)x64`, then select `Disable`.
5. Launch and run the Deployment Tools Command Prompt as Administrator.

   For example:

   - Click `Start -->All Programs -->Microsoft Windows AIK`, then right-click `Deployment Tools Command Prompt`, and select `Run as Administrator`.
6. In the Deployment Tools Command Prompt, perform the following:
   1. Use `mkdir` command to create a temporary directory mount point to mount the Windows Server 2008 SP2 boot WIM image.

      For example:

      ```mkdir C:\Mnt`

   2. Use the `cd` command to change the directory to the folder containing the Windows Server 2008 SP2 boot WIM.

      For example:

      `cd DVDDrive:\RemoteInstall\Boot\x64\images`

   3. Use the `imagex` command to mount the Windows Server 2008 SP2 boot WIM with read/write permissions to the temporary directory mount point.

      For example:

      `imagex /mountrw boot.wim 2 C:\Mnt`

   4. Use the `cd` command to change the directory to the device driver repository containing the Windows Server 2008 SP2 device driver for the Sun Storage 6 Gb SAS RAID HBA option (SG-SAS-R-REM-Z or SG-SAS-R-EM-Z):

      For example, to change to the directory containing the LSI device driver for the Sun Storage 6 Gb SAS RAID HBA option (SG-SAS-R-REM-Z or SG-SAS-R-EM-Z), type:

      `cd C:\Unattend\Drivers\W2K8\lsi\1.19.2.64`

   5. Use the `peimg` command to add the LSI MegaRAID device driver for the Sun Storage 6 Gb SAS RAID HBA option (SG-SAS-R-REM-Z, or SGX-SAS-R-REM-Z, or SG-SAS-R-EM-Z) to the Windows Server 2008 SP2 boot WIM image.

      For example, to add the LSI MegaRAID device driver for the Sun Storage 6 Gb SAS RAID HBA option (SG-SAS-R-REM-Z, SGX-SAS-R-REM-Z, or SG-SAS-R-EM-Z), type:

      `peimg /INF=*.inf C:\Mnt\Windows`

   6. Repeat Steps 7d and 7e for each additional device driver (as described in Device Drivers to Add to WIM Image(s)) that is required in the boot WIM image:
      - Sun Storage 6 Gb SAS HBA option (SG-SAS-REM-Z or SG-SAS-EM-Z).
      - Intel Network Driver
   7. Use the `imagex` command to unmount and commit the modified Windows Server 2008 SP2 boot WIM image.

      For example:

      `imagex /unmount/commit C:\Mnt`

7. To enable the Windows Server 2008 SP2 boot WIM image, do the following:
   1. Launch the Windows Deployment Services administration tool.

      Click `Start-->All Programs-->Windows Deployment Services`.

   2. In the Windows Deployment Services (WDS) administration tool, click and expand `Boot Images`.
   3. Right-click `Microsoft Windows Server (Setup) x64` and select `Enable`.
8. The modifications to include the device drivers into the `boot.wim` image are complete. Exit the Deployment Tools Command Prompt and the WDS administration tool, then proceed to Map `ImageUnattend.xml` Setup Script to Windows Server 2008 (SP2 or R2) Install Image.

Copyright © 2010 , Oracle and/or its affiliates. All rights reserved. Legal Notices |