Documente Academic
Documente Profesional
Documente Cultură
0
by Wayne Humphrey September 2008 Applies to Microsoft Windows XP Embedded with Service Pack 2 and Feature Pack 2007, Microsoft Windows Preinstallation Environment (Windows PE) and VMware Workstation 6.5.0.
Summary
This document describes the following procedures: Using Vmware Workstation to host a Windows XP Embedded image on your Windows XP Professional machine Creating the Windows XP Embedded image in a single partition, using Windows PE to transfer the image
Contents
Creating the Virtual Machine Preparing the Virtual Disk with Windows XPE Capturing the Hardware Information Creating the Hardware Component Finalizing the Component Building Your Windows XP Embedded Image Transferring the Windows XP Embedded Image from the Development Machine to VMware Running Windows XP Embedded For More Information
Select Next > We will configure this later, as if you chose the image now it will look for a XP Key which we not going to use. So Select I will install the operating system later
Select Microsoft Windows as your guest operating system, and Windows XP Professional as your Version.
Select Next > Select a Name and Location for your Virtual Machine.
Select your desired Size of your Virtual Disk. 1GB should be Ample, if you do decide to go bigger than two, from my experience always use split the disks into 2GB files as some File Systems cannot handle files larger than 2GB.
Select Next > You are now done setting the Virtual Machine up.
Select Finish.
You will now have the Virtual Machine open in Vmware Workstation
Double click on the CD/DVD. You will be presented with the properties of the CD/DVD (Figure 8). Select Use ISO image file: Then Select Browse... and select the first Windows XP Embedded CD.
Select OK.
To partition the disk: 1. Type the following command from a command prompt: DISKPART 2. Type the following commands to create the partition: SELECT DISK 0 CLEAN CREATE PARTITION PRIMARY This creates a partition however big you selected (Figure5). 3. Type the following command to verify the partition:
LIST PARTITION 4. Type the following commands to verify that the partition is active:
where xx.xx.xx is the IP address of your machine. The default folder is: C:\Windows Embedded Images\ For the purposes of this article, we assume you created a share named XPe that points to this folder. If we assume that X: is the CD drive and Z: is the letter assigned to this network share, use the following command to move the TAP output to the location you want: X:\XPE\TAP /O Z:\VMware.pmq The following figure (Figure 9) shows the result of this process:
You can now switch from the Virtual PC to your development machine and start Component Designer. From the Start menu, choose All Programs, then choose Microsoft Windows Embedded Studio.
Select the Repositories and then choose Windows XP Embedded Client (x86) Feature Pack 2007. You can optionally select and deselect items detected in your hardware while building your image. 1. From the File menu, choose Save to save your component. A file with extension SLD is created with your component definition.
With the component finalized, we still need to import it into the Windows XP Embedded database. Use the following procedure: 1. From the Tools menu, choose Component Database Manager to open this tool. 2. Select Import and choose the SLD file that you just created.
Transferring the Windows XP Embedded Image from the Development Machine to the Virtual PC
We must now copy the Windows XP Embedded image from our host operating system to the Virtual PC, using the networking of VPC in the same way we created the TAP output in the shared folder. To copy the image to the Virtual PC: On the virtual machine, open a command prompt and type the following command: ROBOCOPY z:\ c:\ *.* /E You can find the ROBOCOPY utility in the Windows Server 2003 Resource Kit Tools. Access this tool in VPC by using the NET USE command to map to another folder. For example you can map \UTIL, a shared folder where you would have copied ROBOCOPY.EXE, from the host machine to the VPC. Type the following command: NET USE Y: \\xx.xx.xx\Util You can then run ROBOCOPY from the Y: drive.