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
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.
Shut down your system and remove the power cable.
Remove the development hard disk from the system.
Attach the deployment disk to the primary IDE channel as master.
Attach the CD-ROM drive to the secondary IDE channel as master.
Reattach the power cable and power on the system. Insert the Pre-FBA CD-ROM into the CD-ROM drive.
Configure your BIOS to boot from the hard disk.
Boot your run-time image from the deployment hard disk and allow the FBA phase to finish.
During the FBA phase, the system will reboot twice.
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:]
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
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.
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
The system will immediately reboot. Do not reboot your post-FBA run-time image. Shut down the system and remove the power cable.
Reattach the Windows Embedded Studio development disk to the system as a master disk on the primary IDE channel.
Reattach the deployment disk to the system as the slave disk on the primary IDE channel.
Reattach the power cable and configure the BIOS to boot from the hard disk.
Remove the Pre-FBA CD-ROM from the CD-ROM drive.
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.