Building a custom Windows PE Service OS

  1. Go to a Windows command prompt, and change to the <version> folder in the directory that you just created.

    Here, <version> is the SOS version number. For example:

    C:\ Build_scripts\<version>

  2. Type run

    In a few moments, a list of HPCA versions is displayed.

  3. Type the number corresponding to the HPCA version that you want to use.
  4. When asked whether you want to create a new WIM file, type Y or N.

    Note: If the script that you are running was provided with an OS management service OS update (driver patch), you cannot create a WIM file. You can only create ISO files.

    If you typed Y, follow these steps to specify the WIM file options:

    1. You will be prompted to type the path to your Windows AIK tools directory. For example, C:\Program Files\Windows AIK\Tools
    2. When asked whether you want to use the winpe.wim file from the Microsoft Windows AIK, type Y or N.

      Note: It is strongly recommended that you use the winpe.wim file from the Microsoft Windows AIK.

      If you type N, you will be reminded to ensure that your pre-existing winpe.wim file is built according to specifications. Then, you will be prompted to specify the fully qualified path of the pre-existing winpe.wim file.

    3. When asked whether you want to include font support for Chinese, and Japanese, type Y or N.
    4. When asked whether you want to pause the WIM creation process to add extra drivers or packages, type Y or N.
    5. When asked whether you want to provide a path to a directory containing additional drivers to be added during the WIM creation process, type Y or N.
    6. If you typed Y, you will be asked to type the fully qualified path to the directory containing the drivers.
  5. The next group of questions determines whether you want to create a new Image Capture ISO or Image Deploy ISO and which Service OS to include.

    Follow these steps to specify the ISO options:

    1. When asked whether you want to create a new Image Capture ISO, type Y or N.
    2. When asked whether you want to create a new Image Deploy ISO, type Y or N.
    3. If you answered Y to question, you will be asked which Service OSs to include on the ISO. Type the appropriate selection. Then, press Enter.
    4. When asked if you want to create a new rombl.cfg or use a pre-existing rombl.cfg file, choose one of the following actions:
      • To create a new rombl.cfg file, type 1, and press Enter.
      • To use a pre-existing rombl.cfg file and skip to the next step, type 2, press Enter.
    5. When asked which Service OS you want to boot by default, type the appropriate selection. Then, press Enter.
    6. Specify how the boot menu should be handled in each ISO that you are creating. There are three choices:
      0Hide the boot menu from the user of the target device. The default service OS that you specified in steps above will be used.
      -1Show the boot menu, and wait for a user response. The response will override the default Service OS setting.
      Number greater than zeroShow the boot menu, and wait this number of seconds for a user response before booting into the default service OS specified in the step Building a custom Windows PE Service OS.
    7. When asked if you want to change the port used to connect to the HPCA infrastructure, type Y or N. The default port is 3466.
    8. When asked if want to specify the ISO boot load value that gets included in the ISO boot sector, type Y or N.

      Caution: Use this option only if you experience problems using the default value and you have been instructed by HP Software Support to change it.

      Certain hardware models require a boot load segment of 0x2000 because of a BIOS issue. Other models cannot boot from the CD when the boot load segment is something other than the default loader segment of the El Torito ISO format: 0x0000.

      To specify the boot load segment setting, type 1, 2 or 3:

      1

      HPCA default (0x2000) – works with most BIOSs

      2

      ISO default (0x0000) – gets translated to 0x07c0 by most BIOSs

      3

      Manually type a value

      Then press Enter. If you typed 3, specify the boot load segment setting as a hexadecimal string beginning with 0x.

    9. When prompted for the fully qualified path to the build items, type the directory name (such as C:\build_items), and press Enter.

    This completes the questions pertaining to the Image Capture and Image Deploy ISOs.

  6. When prompted for the fully qualified path for the temporary work directory, type a directory name (such as C:\build_work). This directory will be referred to as the <work-dir> in later steps.

    Note: If the directory already exists and has information in it, you will be asked whether you want to delete the information or not. If you choose No, you will be asked to type a directory again. If you prefer to exit, press Ctrl + C to exit the process. If you choose Yes, the information will be overwritten.

  7. When prompted for the fully qualified path for the output directory, type a directory name such as (C:\build_output).

    Note: If you are prompted to create ISOs for CAS, type N.

  8. The build process takes some time, as you will see from the on-screen messaging. When it is finished, you will see a message indicating that the Service OS creation process completed successfully and be returned to a command prompt.

After the build is completed, go to the directory where the Windows PE.wim was stored, such as C:\WinPE_output, and perform the following action:

Boot Method for Target Devices Action Required
PXE Copy winpe.wim from the output directory to <InstallDir>\BootServer\X86PC\UNDI\boot
LSB Use the CSDB Editor to replace winpe.wim in the LSB package.
CD Create a new ISO using the Windows PE scripts.

If you chose to create ImageCapture.iso or ImageDeploy.iso, they will be stored in the same output directory.


© 2003 - 2012 Hewlett-Packard Development Company, L.P.