# Microsoft* Windows* Setup for Intel® iSCSI Boot

### Requirements

| NOTE: iSCSI Boot installation on a Intel Extended Memory 64 Technology (Intel EM64T) platform can only be done via Local Disk Installation.

1. Follow installation steps to install the Intel® iSCSI Boot-capable adapters with Intel iSCSI 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 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 version 2.03 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 upgrade or install network drivers, OS service packs or new hardware, follow the steps in Upgrading/Installing Network Drivers, OS Service Packs, or New Hardware.

## 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, SP2, or R2 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 Boot.

5. Install the Microsoft Hotfix for Windows Server, KB902113 NDIS QFE.

6. Reboot the system.

7. Install Microsoft iSCSI Software Initiator version 2.03 with integrated software boot support. Select MPIO Multipath support when more then one network port is available for iSCSI Boot. During installation when prompted select an Intel iSCSI Boot-capable Gigabit Network Adapter as a Boot Device. Check box to configure iSCSI 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 Computer 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 Boot firmware.

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

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

| NOTES: An F6 installation requires two or more ports; either a multi-port adapter or two or more separate single port adapters. iSCSI Boot installation on a Intel Extended Memory 64 Technology (Intel EM64T) platform can only be done via Local Disk Installation.

1. Copy iSSetup.sys, iSSetup.inf and txtsetup.oem files from the Intel iSCSI 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 in the very start of OS Installation process and is easy to miss. You are only given three seconds to press F6. If you fail to Press F6, restart the system and begin the OS installation again.

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

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

6. Install Network Driver for Intel PRO/1000 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. Install the Microsoft Hotfix for Windows Server, KB902113 NDIS QFE.

8. Reboot the system.

9. Install Microsoft iSCSI Software Initiator version 2.03 with integrated software boot support. Select MPIO Multipath support when more then one network ports are available for iSCSI Boot. During installation when prompted select Intel iSCSI 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 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) PRO/1000 iSCSI Setup Driver.

14. Reboot the system.

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

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

17. System is now ready for Windows iSCSI 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 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.

> | 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. 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.

## Upgrading/Installing Network Drivers, OS Service Packs, or New Hardware

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 4/10/07 10:35a Revision 22`