# Microsoft* Windows* Setup for Intel® iSCSI Remote Boot

### Requirements

1. Follow installation steps to install the Intel® iSCSI Remote Boot-capable adapters with Intel iSCSI Remote Boot firmware support.

2. Create a disk target (LUN) on an available iSCSI target system. Configure this LUN to be accessible to the MAC address of the adapter of the host being booted.

3. Make sure the iSCSI initiator system starts the iSCSI Remote Boot firmware. The firmware should be configured properly, be able to connect to iSCSI target, and detect the boot disk. Refer to the troubleshooting page if the firmware is not able to connect to target.

4. You will need Microsoft* iSCSI Software Initiator with integrated software boot support. This boot version of the initiator is distributed via http://connect.microsoft.com. Invitation Code: ms-8RR8-6K43.

5. To setup Windows Server* 2003 boot system when a local disk is available, follow the steps in installing Windows 2003 with Local Disk

6. To setup Windows Server 2003 boot system when a local disk is not available, follow the steps in installing Windows 2003 without Local Disk.

7. To perform a diskless install directly to an iSCSI target using RIS, follow the steps in RIS Installation of Windows 2003.

8. To setup Windows Server 2008 boot system, following the steps in Installing Windows 2008 from Microsoft Media.

9. To perform a diskless install directly to an iSCSI target using WDS, follow the steps in WDS Installation of Windows Server 2008.

10. To enable crash dump support, follow the steps in Crash Dump Support.

11. To upgrade or install network drivers, OS service packs or new hardware in Windows Server 2003, follow the steps in Upgrading/Installing Network Drivers, OS Service Packs, or New Hardware in Windows Server 2003.

## Installing Windows 2003 with Local Disk

1. If the local disk is not already connected, connect the hard drive temporarily to the system to be setup for diskless boot.

2. Create a disk target (LUN) on an available iSCSI target. Configure this LUN to be accessible to the MAC address of the NIC card of the host being booted.

3. Install Microsoft Windows 2003 SP1, SP1 R2, or SP2 Operating System on a temporarily connected local hard drive of the host system.

4. Install Network drivers for Intel Gigabit Network Adapters that are to be used for iSCSI Remote Boot.

5. If you installed Windows 2003 SP1 or SP1 R2 then install the Microsoft Hotfix for Windows Server, KB902113 NDIS QFE. Windows 2003 SP2 contains the QFE.

6. Reboot the system.

7. Install Microsoft iSCSI Software Initiator with integrated software boot support.

   1. Select MPIO Multipath support when more then one network port is available for iSCSI Remote Boot.

   2. During installation when prompted select an Intel iSCSI Remote Boot-capable Gigabit Network Adapter as a Boot Device. Check box to configure iSCSI Remote Boot. The Intel Gigabit Network Adapter is identified as `"e1express"` during the installation.

8. Reboot and confirm the remote disk is accessible and configurable in Windows Disk Management.

| NOTE: You don't need to configure Microsoft iSCSI Software Initiator for Windows to be able to detect the iSCSI Disk. Microsoft iSCSI Software Initiator automatically retrieves the iSCSI configurations from the Gigabit Network Adapter iSCSI Remote Boot firmware.

9. Use sysprep to prepare the OS Image for deployment.

   | NOTE: For more information on sysprep and image-based installations go here.

10. Create a “sysprep” directory in the root of your system Drive.

    1. Locate SUPPORT\TOOLS\DEPLOY.CAB archive on your Window 2003 CD, extract files, and copy all the files within the archive to the sysprep directory

    2. Create the Sysprep.inf file using setupmgr.exe wizard and answer all the questions.

    3. Edit the resulting sysprep.inf file by adding the LegacyNic=1 option in the
       [Unattended] section, like so

    > > `[Unattended]
    > > OemSkipEula=Yes
    > > LegacyNic=1`

    4. Run Sysprep. Select "Reseal" and "shutdown" options for preparing an OS image.

11. Shut down the machine and capture OS image to a local disk partition.

12. Transfer image from local hard drive to iSCSI target.

13. Remove local hard drive or keep local hard drive for pagefile use. Configure the system BIOS to boot from iSCSI disk and boot it.

NOTE: For more detailed information regarding image-based installations, see the following white papers on the Microsoft TechNet web site:

- Overview of Image-based Installations
  http://technet2.microsoft.com/WindowsServer/en/Library/ea2bd8a6-6b68-425d-8cf4-ff517a3dae171033.mspx

- 892778 Updated System Preparation tool for Windows Server 2003 Service Pack 1
  http://support.microsoft.com/default.aspx?scid=kb;EN-US;892778

- 830958 Summary of the limitations of the System Preparation tool
  http://support.microsoft.com/default.aspx?scid=kb;EN-US;830958

- 828287 Unsupported Sysprep scenarios
  http://support.microsoft.com/default.aspx?scid=kb;EN-US;828287

- 314828 The Microsoft policy concerning disk duplication of Windows XP installations
  http://support.microsoft.com/default.aspx?scid=kb;EN-US;314828

### Sample Sysprep.inf file

> ;SetupMgrTag
> [Unattended]
> OemSkipEula=Yes
> InstallFilesPath=C:\sysprep
> LegacyNic=1
> TargetPath=\WINDOWS
> [GuiUnattended]
> AdminPassword="password"
> EncryptedAdminPassword=NO
> AutoLogon=Yes
> AutoLogonCount=1
> OEMSkipRegional=1
> OEMDuplicatorstring=2.02Boot
> TimeZone=4
> OemSkipWelcome=1
> [UserData]
> ProductKey=[my key here]
> FullName="iSCSIBoot"
> OrgName="Org"
> ComputerName=*
> [LicenseFilePrintData]
> AutoMode=PerServer
> AutoUsers=500
> [TapiLocation]
> CountryCode=1
> Dialing=Tone
> AreaCode=425
> LongDistanceAccess="9"
> [Identification]
> JoinWorkgroup=WORKGROUP
> [Networking]
> InstallDefaultComponents=No
> [Branding]
> BrandIEUsingUnattended=Yes
> [Proxy]
> Proxy_Enable=0
> Use_Same_Proxy=0

## Installing Windows 2003 without a Local Disk

| NOTE: An F6 installation requires two or more ports; either a multi-port adapter or two or more separate single port adapters.

| NOTE: To Install Windows 2003 x64 you must first create an Operating System installation media including a Hot Fix referenced from KB article #934848 at: http://support.microsoft.com/kb/934848/en-us.

1. Copy iSSetup.sys, iSSetup.inf, iSSetup.cat and txtsetup.oem files from the Intel iSCSI Remote Boot Media to a Floppy Disk.

2. Start the system and boot from the Windows Server 2003 Installation CD.

3. When prompted "Press F6 if you need to install a third party SCSI or RAID Driver..." Press F6.

   WARNING: The option to press F6 is available at the very start of the OS Installation process and is easy to miss. You are only given three seconds to press F6. If you fail to Press F6 in time, restart the system and begin the OS installation again.

4. When prompted to install third party storage Device press <s> and select "Intel(R) iSCSI Setup Driver".

5. Press Enter and continue to complete the OS Installation.

6. Install Network Driver for Intel Gigabit Network Adapters. You must install the driver via Device Manager and not via SetupBD or the "Install Drivers and Software" button in Autorun which will use SetupBD.

   | NOTE: You will not be able to install the Network driver for the Network port that is being used by the iSSetup driver, so install the network Driver for other Network port.

7. If you installed Windows 2003 SP1 or SP1 R2 then install the Microsoft Hotfix for Windows Server, KB902113 NDIS QFE. Windows 2003 SP2 contains the QFE.

8. Reboot the system.

9. Install Microsoft iSCSI Software Initiator with integrated software boot support. Select MPIO Multipath support when more than one network ports are available for iSCSI Remote Boot. During installation when prompted select Intel iSCSI Remote Boot-capable Gigabit Network Adapter as a Boot Device. Intel Gigabit Adapter is identified as `"e1express"` during the installation.

10. Reboot the system.

11. Confirm the remote disk is accessible and configurable in Windows Disk Management Computer Management. Note that you don't need to configure Microsoft iSCSI Software Initiator for Windows to be able to detect the iSCSI Disk. The Microsoft iSCSI Software Initiator automatically retrieves the iSCSI configurations from the Gigabit Network Adapter iSCSI Remote Boot firmware.

12. Open the Microsoft iSCSI Software Initiator, go to the Target Tab and make sure it is loaded and connected to iSCSI target.

13. Run the iSCSIApp to uninstall the Intel(R) iSCSI Setup Driver.

    | NOTE: The Intel(R) iSCSI Setup Driver must be uninstalled before other drivers are installed.

14. Reboot the system.

15. Install Network driver for the port that was being used by Intel(R) iSCSI Setup Driver.

16. Run iscsibcg.exe with /verify and /fix command line parameters.

    | NOTE: In the case of a Windows 2003 F6 installation with two different drivers running on Primary and Secondary, the user will need to re-install the Microsoft iSCSI Sortware Initiator rather than use iscsibcg, in order to bind the primary adapter to the MS Initiator. Otherwise the system will continue to boot via the Secondary port only.

17. System is now ready for Windows iSCSI Remote Boot.

## RIS Installation of Windows 2003

### Overview:

In order to do a diskless install directly to an iSCSI target using RIS, a minimum of three network ports are required: one port for PXE; and 2 ports for iSCSI. The user will need to modify their RIS image according to the MS TechNet article Adding Text Mode Drivers to a RIS Image. From that point the user can follow the instructions for the standard F6 installation.

### Setting Up the System:

1. Install an adapter flashed with Intel® Boot Agent, or configure the LOM in your system to enable PXE.

2. Install an adapter flashed with the iSCSI Remote Boot option rom.

3. Boot the machine.

4. Enter the BIOS and set the PXE adapter as the primary boot device.

5. Reboot the machine.

6. Enter the iSCSI Setup screen via CTRL-D, and enable the primary and secondary ports. Enter any static settings if you are not using DHCP. For more information on options in the iSCSI Setup screen click here.

> | NOTE: If the user want to strictly use DHCP, you will need to enable Option 60 for PXE, as well as options 12 and option 17 for iSCSI in the DHCP server.

7. Reboot the machine.

8. Ensure that the iSCSI option rom connects to the target, and the PXE option rom connects to your RIS server.

Setting UP RIS:

1. Locate the files required for a standard F6 floppy:

   1. iSSetup.INF
   2. iSSetup.sys
   3. iSSetup.cat
   4. txtsetup.oem

2. Copy and modify these files on your RIS server as directed by the MS TechNet article Adding Text Mode Drivers to a RIS Image.

### Performing an Installation:

1. Boot the system via PXE to your RIS server, ensuring that the iSCSI option rom has made a connection to the target.

2. Choose the Windows 2003 image you have modified with the F6 driver.

3. During textmode setup, Windows should find the target LUN and allow the standard partitioning options.

> | NOTE: These settings may be automated by your RIS server.

4. Continue the installation from this point as if it was a regular F6 installation.

> | NOTE: The F6 driver will skip the PXE enabled port, and bind to the Primary iSCSI port. This will allow the connection to the target during Windows Setup. Once setup has completed, the user should follow the usual process for installing NDIS and the iSCSI initiator, then uninstall the F6 driver.

## Installing Windows Server* 2008 from Microsoft Media

| NOTE: Windows Server* 2008 natively supports OS installation to an iSCSI target without a local disk and also natively supports OS iSCSI boot.

1. Start installing Windows Server* 2008.

2. Select an iSCSI LUN on the “Where do you want to install Windows?” screen. Windows Server* 2008 installation media supports the network controller by default. Continue to complete the OS Installation.

3. If no iSCSI LUN is listed on the “Where do you want to install Windows?” screen, click “Load Driver” to install the network drivers for the network controllers. The network drivers are located on the Intel Network Driver CD or can be downloaded at http://www.intel.com/support/network/sb/CS-006120.htm to USB media. If an iSCSI LUN is listed, continue to complete the OS Installation.

4. For 10 gigabit network controllers only: If after performing step 3 above you don’t see the iSCSI LUN, then proceed with the following from the driver selection window:

   1. Create the WINPE INF driver directory.
      1. Create a temporary directory (for example, F:\temp\winpe on the USB media).
      2. Copy all files from the PROXGB\Win32\NDISxx (or PROXGB\Winx64\NDISxx) directory to the temporary directory. NDISxx indicates the NDIS version: Windows Server 2008 SP1 or SP2 uses NDIS61; and Windows Server 2008 R2 uses NDIS62. Do NOT copy the INF files from NDISxx directory to the temporary directory.
      3. Extract the .INF files from PROXGB\Win32\NDISxx\WinPE\*.zip to the temporary directory.

   2. Press shift+F10 to bring up the Windows PE command line.

   3. Enter “drvload <path>” where <path> is the path to the WinPE inf.

   4. Close the driver selection window by clicking x mark on the upper right side of the window. It automatically restarts from the initial installation screen with the network driver installed. Continue to complete the OS Installation.

## WDS Installation of Windows Server* 2008

### Overview:

Microsoft provides WDS, Windows Deployment Services, for acquiring installation image remotely. One network adapter is assigned for PXE Option ROM in order to pull the install image, and another adapter to iSCSI Option ROM for Windows Server* 2008 installation destination. The user may need to prepare a custom boot image based on the MS TechNet article Windows Deployment Services. A key difference from Windows Server* 2003 is that Windows PE is used for the Windows Server* 2008 installation process.

### Setting up WDS:

1. Prepare the WDS environment and the custom boot image based on the MS TechNet article.

2. For 1 gigabit network adapters and 10 gigabit retail adapters, inject the network driver and INF from PROXGB\Win32\NDISxx (or PROXGB\Winx64\NDISxx) directory to the custom boot image.

   1. For other 10 gigabit adapters, follow the instruction in the readme.txt file at the PROXGB\Win32\NDISxx\WinPE (or PROXGB\Winx64\NDISxx\WinPE) directory for injecting the network driver and INF to the custom boot image.

| NOTE: NDISxx indicates the NDIS version: Windows Server* 2008 SP1 or SP2 uses NDIS61; and Windows Server* 2008 R2 uses NDIS62.

### Setting Up the System:

1. Install an adapter flashed with Intel® Boot Agent, or configure the LOM in your system to enable PXE.

2. Install an adapter flashed with the iSCSI Option ROM.

3. Boot the system.

4. Enter the BIOS setup menu and set the PXE adapter as the primary boot device.

5. Reboot the system.

6. Enter the iSCSI Setup screen via CTRL-D, and enable the primary port. Enable the Secondary port if required by your configuration. Enter any static settings if you are not using DHCP. For more information on options in the iSCSI Setup screen click here.

| NOTE: If the user wants to strictly use DHCP, you will need to enable Option 60 for PXE, as well as options 12 and option 17 for iSCSI in the DHCP server.

7. Reboot the machine.

8. Ensure that the iSCSI Option ROM connects to the iSCSI LUN, and the PXE Option ROM connects to the WDS server.

### Performing an Installation:

1. Boot the system via PXE to your WDS Server, ensuring that the iSCSI Option ROM has made a connection to your target.

2. Choose the Windows 2008 boot image you modified with the network drivers.

3. Select an iSCSI LUN on the “Where do you want to install Windows?” screen. Continue to complete the OS Installation.

4. If no iSCSI LUN is listed on the “Where do you want to install Windows?” screen:

   1. Inject the other INF discussed in Step 2 of the Setting UP WDS section above into your custom boot image on your WDS server. Reboot, and attempt the install again.

OR

2. Manually load the network drivers:

   1. Click “Load Driver” to install the network drivers for the network controllers. The network drivers are located on the Intel Network Driver CD or can be downloaded at http://www.intel.com/support/network/sb/CS-006120.htm to USB media. If an iSCSI LUN is listed, continue to complete the OS Installation.

   2. For 10 gigabit network controllers only: If after performing step 1 above you don’t see the iSCSI LUN, then proceed with the following:

      1. On another system, create the WINPE INF driver directory on a removable media.

         1. Create a temporary directory (for example, F:\temp\winpe on the USB media).

         2. Copy all files from the PROXGB\Win32\NDISxx (or PROXGB\Winx64\NDISxx) directory to the temporary directory. NDISxx indicates the NDIS version: Windows Server 2008 SP1 or SP2 uses NDIS61; and Windows Server 2008 R2 uses NDIS62. Do NOT copy the INF files from NDISxx directory to the temporary directory.

         3. Extract the .INF files from PROXGB\Win32\NDISxx\WinPE\*.zip to the temporary directory.

      2. Reboot, and follow the above instructions until you get to the “Where do you want to install Windows?” screen.

      3. Press Shift+F10 to bring up the Windows PE command line and connect the removal media to the system.

      4. Enter “drvload <path>” where <path> is the location of the temporary directory you created in Step A, above.

      5. Press “Refresh” on the “Where do you want to install Windows?” screen.

      6. The iSCSI LUN will be listed after the refresh completes. Continue to complete the install.

## Crash Dump Support

### Windows Server 2003:

Crash dump file generation is supported for iSCSI-booted Windows 2003 x86/x64 by the Intel iSCSI Crash Dump Driver. A hotfix is available that adds support for crash dump file generation on a Windows Server 2003-based computer using Microsoft iSCSI Remote Boot Initiator 2.05 at: http://support.microsoft.com/default.aspx?scid=kb;EN-US;939875

To setup crash dump support follow these steps:

1. Setup Windows iSCSI Remote Boot as described in earlier documentation.

2. Install the Microsoft hotfix, KB939875.

3. Install Intel PROSet for Windows Device Manager by Autorun from the Intel Network Driver CD.

4. Run iscsibcg.exe with /verify and /fix command line parameters.

5. Open Intel PROSet for Windows Device Manager and select the Boot Options Tab.

6. From Settings select iSCSI Remote Boot Crash Dump and the Value Enabled and click OK.

### Windows Server 2008:

Crash dump file generation is supported for iSCSI-booted Windows 2008 x86/x64 by the Intel iSCSI Crash Dump Driver. A hotfix is available for crash dump file generation using Intel 10 gigabit Ethernet at:

http://support.microsoft.com/kb/970312

| NOTE: This hot fix is not necessary for Intel 1 gigabit Ethernet.

To setup crash dump support follow these steps:

1. Setup Windows iSCSI Remote Boot as described in earlier documentation.

2. If you have not already done so, install Intel PROSet for Windows Device Manager by Autorun from the Intel Network Driver CD.

3. Open Intel PROSet for Windows Device Manager and select the Boot Options Tab.

4. From Settings select iSCSI Remote Boot Crash Dump and the Value Enabled and click OK.

## Upgrading/Installing Network Drivers, OS Service Packs, or New Hardware in Windows Server 2003

After adding or updating hardware or software that might impact the Networking stack e.g. Network Drivers, OS service packs etc., you must re-run the iscsibcg.exe with /verify /fix command line options. This utility is installed as part of Microsoft iSCSI Software Installation. It is strongly recommended that this utility is setup to run at each system shutdown so you will not forget and break the system. To setup this utility to run at system shutdown follow these steps.

1. Run gpedit.msc. This will start the group policy editor; in this utility:

2. Expand "Computer Configuration"

3. Expand "Windows Settings"

4. Expand or select "Scripts(startup/shutdown)"

5. Double click "Shutdown"

6. This will open a Shutdown Properties dialog; click the Add button and add this executable or a batch file to run this.

`Last modified on 2/04/10 3:33p Revision 60`