Development Platform Description - Microsoft Windows Embedded Standard 2009 Developer Resource Kit Componentizing...

Standard 2009 supports booting and executing from CD ROM. The requirements for running the Standard 2009 operating system from CD ROM are as follows:
A BIOS which supports the El-Torito specification
El Torito component included with the Standard 2009 build
The Standard 2009 build must use the Enhanced Write Filter when running from CD since the CD is a read only format.
For more information on the El Torito Specification, see the Web page:
http://www.phoenix.com/NR/rdonlyres/98D3219C-9CC9-4DF5-B496-A286D893E36A/0/specscdrom.pdf
El Torito creation process Process overview
Creating a bootable CD ROM consists of building a Standard 2009 operating system, and then converting it to a CD image file.
The following process outlines building a Standard 2009 system, and then deploying the system on CD ROM.
1. Create a Standard 2009 configuration, which includes all desired functionality:
Include the El Torito and Enhanced Write Filter components.
Configure the EWF to use RAM overlay
Clear the Start EWF Enabled check box.
Run dependency check and resolve all errors.
2. Build the image and copy the image along with the etprep.exe tool to the Target Machine Drive C:. The drive will need to be accessible by both the XP Pro OS on the target as well as the development system. Do not boot the new image if you have not generated a preliminary El Torito CD, but proceed to step 3. If you have a preliminary El Torito CD in the CDR drive, proceed to step 4.
3. If you have not generated a preliminary CD with El Torito format yet, then run the HD2ISO program from the target XP Pro system and convert the image on the C drive to an ISO file on the target system. Place the ISO image on the development system, and burn a CD with this image. Place this CD in the CDROM drive on the target system.
4. With the preliminary El Torito CD in the drive, boot the Standard 2009 operating system from the C: drive on the target system. After FBA has run, boot the Standard 2009 operating system on the target device and check the Windows\FBA\FBAlog.txt to see if the EWF was properly initialized.
5. From the C: drive, execute the El Torito preparation tool: etprep.exe. This tool configures the Enhanced Write filter for an El Torito disk, as well as swap drive letters so the El Torito CD will appear as the C: drive. Re-boot back into XP Pro, and verify the changes to the drive letters by examining the system hive on the EL Torito image with regedit.
6. Convert this image to an ISO image using the hd2iso utility. In order to do this, the development machine must have access to the volume which contains the operating system. The hd2iso utility will convert the volume into an ISO CD ROM image file. Transfer this image to the development system, and burn the final image to CD ROM. Place the final CD in the CDR drive of the target. Make any changes to the setup for booting from CD and boot the target. Then test the functionality of your CD.
General flowchart
See flowchart on the next page.
Required components in your configuration
The following table shows which components to include in Bootable CD Rom Standard 2009 build:
Component name
|
Where to find it?
|
Function
|
Enhanced Write Filter
|
Software/System/System Services/Base
|
Enhanced Write Filter (EWF) is an upper filter in storage device driver stack that redirects disk writes to a volatile (RAM) or non-volatile (Disk) storage
|
El Torito CD
|
/Software/System/System Services/Base
|
El Torito component definition
|
EWF Manager Console application
|
/Software/System/Storage & File Systems/Applications
|
Enhanced Write management application
|
EWF NTLDR
|
/Software/System/System Services/Base
|
Special version of NTLDR that works with EWF
|
Optional but useful components
|
Disk Management Command line utility
|
/Software/System/Storage & File Systems/Applications
|
Contains Diskpart.exe
|
FAT/NTFS Common Format/Tools Files
|
/Software/System/Storage & File Systems/Applications
|
Contains Format.com, autochk.exe, autofmt.exe, chkdsk.exe, label.exe, recover.exe, chkntfs.exe
|
Registry Editor
|
/Software/System/User Interface/Shells/Windows Shell
|
Use this to inspect registry settings, particularly useful when troubleshooting!
|
You can optionally include the following:
Enhanced Write Filter API (include this if you wish to programmatically control EWF)
System Cloning Tool
If you are planning to use the System Cloning tool in order to generate a unique computer id (SID) for each deployed runtime, be sure to also include the System Cloning Tool and then set its Advanced Property of cmiResealPhase to zero (0) (or under Settings, set Reseal Phase to Manual). This setting disables automatic FBA cloning deployment, which allows you the opportunity to make custom changes to the image before the cloning step. You must manually activate the cloning tool using FBRESEAL at a later step. If you included the Automatic Logon component in your image, note that you must configure FBRESEAL so it does not overwrite the automatic logon information. To retain the settings you specified in the Automatic Logon component, set the extended property "cmiRemoveAutoLogon" in the System Cloning Tool to FALSE.
|