# Intel® Ethernet FCoE Boot Installation - Detailed Instructions

Requirements

Detailed Instructions for Installing WIndows Server with Local Disk

Appendix 1

Appendix 2

Appendix 3

### Requirements:

· Microsoft ImageX

· Microsoft WinPE v2.1 or later

## Detailed Instructions for Installing Windows Server with Local Disk

The following steps describe one method to install Intel® Ethernet FCoE Boot for Windows. Other methods, using different tools, may also work.

| NOTE: Please be sure to read the Appendix information when directed; they contain important details.

### Prepare for partition imaging

1. On the test server set up the local disk drives. These instructions will cover imaging with a partition imaging tool, so at a minimum a second partition will be needed to store the captured image. If the entire Windows disk will be captured, then a second local disk will be required.

### Prepare the Adapter for FCoE Booting

| NOTE: If the FCoE Option ROM doesn’t find the FCoE LUN, perform steps 2-4. Otherwise, skip to step 5.

2. Flash adapter with FCoE Option ROM.
   1. Intel® Ethernet drivers CD: \Apps\BootUtil\DOS\Bootutil /?
3. Configure the Option ROM to boot from an FCoE LUN:
   1. Input Ctrl+D during boot message.
   2. Select the boot port.
   3. Select Discover Targets.
   4. Choose a target, enter its LUN and set its boot order to 1.

> | NOTE: Once FCoE drivers are installed, in order to uninstall them the Option ROM must not be allowed to connect to an FCoE LUN. Either disable the boot port in the Option ROM or set all boot orders to 0.

4. During POST ensure that the FCoE Option ROM loads and finds the LUN.
5. Ensure local disk is set as first boot option in system BIOS boot menu.

### Install the OS and drivers

6. Install Windows Server on the first local drive.
7. Boot to the OS on the local disk. Install Intel® Ethernet drivers via CD, selecting FCoE Using Data Center Bridging. Windows 2008 may ask to install an update and request a reboot. Click OK and reboot at the prompt. After rebooting, re-run Intel® Ethernet driver FCoE/DCB installation.
8. Using Disk Management, verify that FCoE LUNs are mounted.
9. Reboot.

### Prepare Windows for imaging

10. As administrator: Open a command window. Navigate to Intel® Ethernet drivers CD “APPS\FCOEBOOT\Win32” or “APPS\FCOEBOOT\Winx64” depending on installed OS. Run fcoeprep.bat and verify no error messages.

The following steps capture the image that was created on drive C: to the secondary partition.

11. Reboot and ensure the server boots to a copy of WinPE. See Appendix 1 for WinPE information.

> | NOTE: This step is performed right after running fcoeprep. If the server boots back into Windows, fcoeprep must be run again. This is because Windows resets the settings every time it boots.

12. From the WinPE command line, capture the local Windows installation with ImageX. See Appendix 2 for ImageX information. Assuming WinPE mounts the Windows disk as C: and the secondary partition or disk as D:, use the following command line:

    imagex /capture /check /compress fast c: d:\fcoeboot.wim "FCoE Boot Image"

13. For Windows Server 2008 R2 only. Windows 2008 R2 may be installed onto two partitions: the normal Windows partition and a smaller partition called System Reserved. System Reserved contains files necessary to boot Windows. Assuming WinPE mounts the System Reserved partition as C: and the secondary partition as D:, use the following command line to capture the System Reserved partition:

    imagex /capture /check /compress fast c: d:\fcoesr.wim "FCoE Boot System Reserved"

    Note that in this case WinPE should mount the System Reserved partition as C:, and the Windows partition may be mounted as D or E.

14. ImageX usually takes about 15 minutes. Reboot to Windows when finished.

The following steps write the image to the FCoE LUN.

15. Open Disk Management and verify that the boot LUN on the FCoE Target is online. Note the drive letter assigned to the FCoE LUN.
16. Open a command prompt. Use DiskPart to create the necessary partition(s) on the FCoE LUN. If a System Reserved partition was captured, then one should be created on the FCoE LUN. See Appendix 3 for DiskPart information.
17. Assuming the image was saved to drive D: and the FCoE LUN was mounted as drive E:, use the following command line:

    imagex /apply d:\fcoeboot.wim 1 e:\

18. For Windows Server 2008 R2 only: If the System Reserved partition was captured above, it should be applied. In this case, you may need to use Disk Management to assign a drive letter to this partition on the FCoE LUN. Assuming the FCoE LUN’s System Reserved partition is mounted as drive F:, use the following command line:

    imagex /apply d:\fcoesr.wim 1 f:\

19. For Windows 2008 R2 only: Run bcdboot.exe from the local Windows installation to make the FCoE disk bootable.
    1. Open Disk Management
    2. If a System Reserved partition exists on the FCoE LUN, type: bcdboot F:\Windows /s E: where E: is the FCoE System Reserved partition and F: is the FCoE partition with the Windows directory.
    3. If a System Reserved partition does not exist, type: bcdboot E:\Windows /s E: where E: is the FCoE partition with the Windows directory.

Boot the system from the FCoE LUN

20. Shutdown the system.
21. Use the BIOS settings to configure the server to boot from the FCoE LUN.

| NOTE: If the server still boots from the local drive, then remove the local drives.

22. Boot to the OS on the FCoE LUN.

## Appendix 1: WinPE

WinPE is used to run ImageX to capture the local Windows partitions. WinPE versions 2.1 or later is required.

The simplest way to boot WinPE is with a Windows Server 2008 or 2008 R2 install DVD. A bootable WinPE USB flash drive may also be created and used.

For install DVD installation only: After booting, proceed to perform a “Custom” installation. When Windows setup displays the drive selection screen, input SHIFT-F10 to open a command prompt.

Important: At the command prompt, cycle through the drive letters and use the dir command to identify which disk partitions are mounted with which driver letters. WinPE may use different drive letters than Windows, so no assumptions can be made.

Once the partitions are identified, ImageX can be used to capture the image.

## Appendix 2: ImageX

ImageX is available as part of the Microsoft Windows Automated Install Kit (WAIK). Download and install the kit, then locate ImageX and copy it so it may be accessed from WinPE and the local Windows. Microsoft TechNet contains a section covering ImageX.

## Appendix 3: DiskPart

If a partition image tool is used to copy Windows to the FCoE LUN, then DiskPart must be used to create partitions on the FCoE LUN. There are two sets of instructions below. The first covers creating one partition, while the second covers the case where a System Reserved partition is captured in addition to the Windows partition.

To identify the FCoE LUN disk number within DiskPart, use the LIST DISK command. Alternatively, Disk Management also shows the disk numbers.

Windows Server 2008 and Windows Server 2008 R2 with no System Reserved partition

The following sequence of commands in DiskPart will create a Windows partition on an FCoE LUN, suitable for imaging Windows Server 2008 and Windows Server 2008 R2 when no System Reserved partition is used (assumes FCoE LUN is disk 1, and only C: and D: are already used by Windows):

1. SELECT DISK 1
2. CLEAN

> | NOTE: This will destroy everything on the disk, so be sure the correct disk is selected!

3. CREATE PARTITION PRIMARY

> | NOTE: Add SIZE=nnn to the end of the line to create a partition of size nnn in MB.

4. SELECT PARTITION 1
5. ACTIVE
6. FORMAT FS=NTFS QUICK
7. ASSIGN LETTER=E
8. EXIT

Windows Server 2008 R2 with a System Reserved partition

The following sequence of commands in DiskPart will create a System Reserved and Windows partition on an FCoE LUN, suitable for imaging Windows 2008 R2 (assumes FCoE LUN is disk 1, and only C: and D: are already used by Windows):

1. SELECT DISK 1
2. CLEAN

> | NOTE: This will destroy everything on the disk, so be sure the correct disk is selected!

3. CREATE PARTITION PRIMARY SIZE=100
4. SELECT PARTITION 1
5. ACTIVE
6. FORMAT FS=NTFS QUICK
7. ASSIGN LETTER=E
8. CREATE PARTITION PRIMARY

> | NOTE: Add SIZE=nnn to the end of the line to create a partition of size nnn in MB.

9. SELECT PARTITION 2
10. FORMAT FS=NTFS QUICK
11. ASSIGN LETTER=F
12. EXIT