Install Win CE in a virtual machine

Source: Internet
Author: User

 

// Configure //-----------------------------------------------------------------------------------------

// Author: lanyang123456

// 2011-7-29

// Configure //-----------------------------------------------------------------------------------------

 

 

 

There are three steps to install Win CE in a virtual machine.

Step 1:

Create a Win CE system and compile and generate an image file NK. bin for backup.

This document uses Windows Embedded ce6.

Note that when creating a project, you must select BSP as cepc: x86, as shown in,

 

 

 

Figure 1 select cepc: x86

 

Another note is that after the project is created, you need to set the configuration attributes. Specifically: Project properties-> Configuration properties-> kitl in build options, such,

 

 

 

 

Figure 2 do not select a kitl item

 

Then, compile and generate the system image NK. Bin.

Step 2: Install the DOS system in VMware.

The virtual machine used is the VMware-7.0.1. The specific process is as follows:

 

 

 

 

Figure 3 select Custom

 

Figure 4 select

Next, go to the next step.

 

 

Figure 5 select

 

 

Figure 6 select

This step selects others and then selects the MS-DOS.

 

 

 

 

Figure 7 set the name and Path

 

 

 

 

 

 

Figure 8 selected by default

 

 

Figure 9 set the memory to 128 MB

 

 

 

Figure 10 default

 

 

 

Figure 11 selected by default

 

 

Figure 12 create a new Virtual Machine

 

 

 

 

Figure 13 select ide as the Virtual Machine Disk Type

 

 

Figure 14 setting disk space

Set to 500 m, which is sufficient for the wince system.

 

 

 

 

Figure 15 set the Save path and name

 

 

 

Figure 16 creation complete

Next, double-click the floppy disk icon on the newly created VM's main interface.

 

 

 

Figure 17 double-click "enable floppy disk"

Load the DOS system's floppy disk image file to the floppy drive. For details, 18 .. The floppy image used in this article is a http://download.csdn.net/down/3030997/longxye.

 

 

 

Figure 18 mount the image file of a floppy disk

Remember to check the red box. Otherwise, the following error occurs after the VM is started,

 

 

 

 

Figure 19 error message

Next, start the VM

 

 

Figure 20 start a VM

 

 

 

 

Figure 21 enter the DOS installation page

Press enter all the time and restart it once in the middle.

 

 

 

 

 

Figure 22 dos installation path

Use the default settings and press Enter.

 

 

 

 

 

 

Figure 23 installation of the first image is complete

After the first image is installed, change disk2 to the menu bar VM-> setting. Then, change the floppy disk image file.

 

 

 

Figure 24 select Cancel to install other functions

Select cancel.

Press enter all the way and restart to enter the DOS interface.

 

 

 

Figure 25 main dos Interface

Step 3: copy the relevant wince600 files to the DOS system.

Shut down dos in the VM and return to the starting page.

Double-click to open hard disk (IDE ).

 

 

Figure 26 double-click to Open Hard Disk

Go to the following page:

 

 

 

Figure 27 go to the hard disk attribute page

Next, map the hard disks in the virtual machine to the local system.

 

 

 

 

 

Figure 28 map the hard disk in the virtual machine to the Local Machine

Map the Virtual Machine hard disk to a drive letter of this machine.

 

 

 

Figure 29 remove the hook before the read-only attribute

Remove the hook, OK, and jump out of the prompt box

 

 

 

Figure 30 Select Yes

Select Yes to confirm.

Next, jump out of the VM disk ing to the host's Z: disk interface (tool-> View, select not to show hidden files and folders)

 

 

 

 

 

 

 

Figure 31 vm z disk mapped to host

 

Next, copy the Win CE system image file NK. binto the Z: disk.

In addition, add all content in the specified folder under the Windows CE installation directory to the Z: disk.

The specified folder in this article is F: \ wince600 \ platform \ cepc \ SRC \ bootloader \ dos \ bootdisk

 

 

 

Figure 32 files to be copied to drive Z

Overwrite config. sys autoexec. bat in the original Z disk.

Next, modify config. sys and open the file in text. The last sentence of the file

Device = himem. sys/testmem: Off

Change to device = c: \ dos71 \ himem. sys/testmem: Off

After modification, save and exit.

 

 

 

 

Figure 33 disconnect

Be sure to disconnect.

Restart the VM and select local NK. Bin.

 

 

 

 

 

Figure 34 select local start NK. Bin

Select the first item.

Run for a moment, but the following error occurs.

 

 

 

Figure 35 error message

Solution:

Use text to open autoexec. bat under the directory c of the VM, that is, it maps to autoexec. bat under the directory Z of the host.

 

Some of the files are

: Cepc_local

Rem ####################################### ##########################

Rem launch loadcepc using a local NK. Bin image.

 

Loadcepc/v nk. Bin

Goto end

 

Modify it

 

: Cepc_local

Rem ####################################### ##########################

Rem launch loadcepc using a local NK. Bin image.

 

Loadcepc/V/L: 800x600x16 NK. Bin

Goto end

 

Save changes

 

 

Restart the virtual machine, OK, and finally the long-awaited Win CE interface.

 

 

 

 

Figure 36 Windows CE system interface appears in the Virtual Machine

 

Welcome to learn and exchange!

Please indicate the source for reprinting. Thank you.

 

References

Http://blog.csdn.net/winembedded/article/details/4490281

Http://www.cnblogs.com/LikeMelody/archive/2008/09/13/1289251.html

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.