Share via


Step 5: Run FBA, Enable EWF, and Run ETPrep on your Run-Time Image

You must run First Boot Agent (FBA), configure Enhanced Write Filter, and run the ETPrep utility on your run-time image before it can be copied to a CD-ROM.

To run FBA, enable EWF, and run ETPrep on your run-time image

  1. Copy the run-time image to the deployment hard disk. For example, use Windows Explorer, select the run-time image files in the Windows Embedded Images directory and drag and drop them to the deployment hard disk.

  2. Shut down your system and remove the power cable.

  3. Remove the development hard disk from the system.

  4. Attach the deployment disk to the primary IDE channel as master.

  5. Attach the CD-ROM drive to the secondary IDE channel as master.

  6. Reattach the power cable and power on the system. Insert the Pre-FBA CD-ROM into the CD-ROM drive.

  7. Configure your BIOS to boot from the hard disk.

  8. Boot your run-time image from the deployment hard disk and allow the FBA phase to finish.

  9. During the FBA phase, the system will reboot twice.

  10. To verify that EWF is configured, open a command prompt and run EWF manager. For example, type the following at a command prompt:

    ewfmgr
    

    The following sample output is displayed.

    Ewf Volume Configuration
    Volume Size            64512
    Segments               0
    Segment Size           20
    Free segments          0
    Max Levels             1
    Max Protected Volumes  1
    Protected Volumes      1
    Overlay volume percent full 0.00
    Protected volumes
    Arc Path "\Device\HarddiskVolume1" [C:]
    
  11. Verify that EWF is configured to protect the C: drive by typing the following command:

    ewfmgr c:

    The following sample output is displayed:

    Protected Volume Configuration
    Type            RAM
    State           DISABLED
    Boot Command    NO_CMD
      Param1        0
      Param2        0
    Persistent Data ""
    Volume ID       D2 02 96 49 00 0E 59 96 02 00 00 00 00 00 00 00
    Device Name     "\Device\HarddiskVolume1" [C:]
    Max Levels      1
    Clump Size      512
    Current Level   1
    Disk space used for data 0 bytes
    Disk space used for mapping 0 bytes
    Memory used for mapping 0 bytes
    
  12. If EWF is reporting errors, verify that EWF is configured properly by opening the C:\Windows\FBA\FBALOG.txt file. For more information, see Troubleshooting Enhanced Write Filter.

  13. After you have verified that EWF is properly configured, use the etprep /all command from a command line. This command will delete the EWF volume and configure the run-time image to boot from the CD-ROM drive. For example:

    etprep /all

  14. The system will immediately reboot. Do not reboot your post-FBA run-time image. Shut down the system and remove the power cable.

  15. Reattach the Windows Embedded Studio development disk to the system as a master disk on the primary IDE channel.

  16. Reattach the deployment disk to the system as the slave disk on the primary IDE channel.

  17. Reattach the power cable and configure the BIOS to boot from the hard disk.

  18. Remove the Pre-FBA CD-ROM from the CD-ROM drive.

  19. Boot the development hard disk.

After your run-time image is properly configured, you are ready to burn it to a bootable CD-ROM.

See Also

Tutorial: Creating a Bootable CD-ROM | Step 6: Create an ISO Image of the Post-FBA Run-Time Image

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.