USB Boot Configuration help
The procedures below are copied from the xpehelp.chm to configure USB Boot on XPe in the Feature Pack. I'm copying them here to give me an easy to reference URL when people asking for help. You can download the updated help files for the new technologies from the Connect site along with the disk.iso.
-Andy
To boot XPe from USB, format the USB media, build the USB bootable image, and transfer the image to the USB media.
In this procedure, the term development machine refers to a PC running Windows XPe Embedded Studio tools. The term target machine refers to an embedded device running Windows XPe FP 2007 image.
These are the major steps in booting XPe from USB:
Step 1: Format USB Media
Step 2: Generate and Transfer .pmq File
Step 3: Import .pmq File to Target Designer
Step 4: Resolve Component Dependencies
Step 5: Modify Component Set
Step 6: Build USB Bootable Target Image and Transfer to USB Media
Step 1: Format USB Media
First format the USB media. The formatufd.exe tool can be found in the utilities folder under Windows XPe Embedded Studio tools.
To format USB media
1. On the development machine, insert the USB media.
2. In the Command Prompt window, enter the following command:
formatufd.exe <drive letter of USB media>
The USB media is now formatted, including an MBR.
Step 2: Generate and Transfer .pmq File
Next, run the Target Analyzer tool (ta.exe or tap.exe) on the target machine to generate the .pmq file on the target machine, then transfer it to the development machine.
To generate and transfer .pmq file
1. On the target machine, in the Command Prompt window, run the following command:
tap.exe /o TargetDevice.pmq
Result: The target device .pmq file is generated.
2. Transfer the TargetDevice.pmq file to the development machine.
Step 3: Import .pmq File to Target Designer
Next, import the .pmq file to Target Designer
To import the .pmq file
1. On the development machine, run the Target Designer.
2. From the File menu, choose New.
3. In the New Configuration dialog box, enter the name of the configuration in the Configuration Name box. Choose OK.
4. From the File menu, choose Import.
5. In the Choose File for Import dialog box, locate and choose the TargetDevice.pmq file, then choose Open.
6. In the Import File dialog box, enter a log file name in the Log file box, then choose Start.
Result: Target Designer imports TargetDevice.pmq.
Step 4: Resolve Component Dependencies
Next, use Target Designer to resolve component dependencies.
To resolve component dependencies
1. From the Tools menu of Target Designer, choose Options.
2. In the Options dialog box, on the Dependency Check tab, check the Auto-resolve dependencies checkbox.
3. On the Advanced tab, in the Minimum Visibility box, select 100 and choose OK.
4. From the Configuration menu, choose Check Dependencies. The Dependency Check status box appears.
5. When the dependency check completes, close the Dependency Check status box.
The Tasks pane displays components with dependency check errors.
6. For each component in the Tasks pane, double-click on its line.
The Resolve Dependency dialog box appears.
7. In the Resolve Dependency dialog box for each component, choose the component required to resolve the dependency, as shown in the following table, then choose Add.
Component Required Components
ACPI Multiprocessor PC USB NT Hardware Detect
ACPI Multiprocessor PC NT Loader
Session Manager Windows Logon / Minlogon
User Interface Core FAT Format / NTFS Format
Step 5: Modify Component Set
Next, use Target Designer to modify the set of components included in the USB bootable image.
To modify component set
1. Verify the presence of required components.
In the Configuration Editor and Details pane of Target Designer, verify that each of the following components is present:
- USB 2.0 Common
- USB Boot 2.0
- USB Boot Mass Storage Device
- USB NT Hardware Detect
2. Delete unwanted components.
For each of the following components in the Configuration Editor and Details pane:
- USB 2.0
- NT Hardware Detect
- USB Root Hub
- USB Mass Storage Device
a. Right-click on the component and choose Delete.
b. In the Microsoft Target Designer dialog box, choose Yes to confirm the deletion.
3. From the Tools menu, choose Options.
4. In the Options dialog box, on the Dependency Check tab, uncheck the Auto-resolve dependencies checkbox, then choose OK.
5. Repeat the Step 4: Resolve Component Dependencies procedure to identify remaining dependency issues.
For dependency errors that require components deleted in number 2 above, ignore them. For other errors, resolve them.
Step 6: Build USB Bootable Target Image and Transfer to USB Media
Finally, build the USB bootable target image and transfer it to the USB media.
To build and transfer USB bootable image
1. From the Configuration menu of Target Designer, choose Build Target Image
2. In the Build dialog box, choose Build.
3. In the Microsoft Target Designer dialog box, choose Yes.
4. Again, in the Microsoft Target Designer dialog box, choose Yes.
The target USB bootable image builds.
5. In the Build dialog box, choose Close.
6. From the File menu, choose Exit to close Target Designer.
7. Copy the USB bootable image files to the USB media.
Comments
Anonymous
August 27, 2006
Where is formatufd.exe?Anonymous
August 27, 2006
The comment has been removedAnonymous
October 28, 2008
The comment has been removedAnonymous
March 26, 2009
**Updated 3/26/09 with preface [The following article is authored by one of the Windows Embedded MVPsAnonymous
June 18, 2009
PingBack from http://thestoragebench.info/story.php?id=10574Anonymous
August 16, 2009
"First format the USB media. The ufdprep.exe tool can be found in the utilities folder under Program FilesWindows Embedded." http://msdn.microsoft.com/en-us/library/bb521584.aspx /PerAnonymous
November 26, 2009
ssssssssssssssssssssssssssssssssssssssssssssssAnonymous
November 26, 2009
"First format the USB media. The ufdprep.exe tool can be found in the utilities folder under Program FilesWindows Embedded."Anonymous
November 26, 2009
The comment has been removed