Run Windows kernel in Virtual Machine

Source: Internet
Author: User

Run Windows kernel in Virtual Machine

Although the reader can compile a kernel program and run it on his computer according to the previous settings, it is unwise to directly load the kernel module on the local machine. If there is an error in the module, it is easy to cause the operating system to immediately blue screen. At this time, the working file may not be saved, leading to code loss.
I usually install a virtual machine and put the compiled sys file into the virtual machine for running. In this way, even if the operating system crashes, it will not cause your own troubles.
Go to the official VMware homepage to download the free trial version of VMware for 30 days. The official website is as follows:

Http://www.vmware.com/download/ws/

The official website does not always provide trial version downloads. If you cannot find it, you can search for it by yourself. Other Software Download websites are provided.
Readers who have never used a virtual machine may find it interesting, because another Windows XP system (or another system, such as Linux) is running on their Windows XP system ), it's like having two computers.
Open VMWare, select "file"> "create VM", and follow the wizard. The Virtual Machine Used for debugging is no different from the general virtual machine. The reader needs the Windows XP installation CD, and installs Windows XP on the virtual machine like installing a common computer.
After the installation is complete, another problem may be how to copy files from the outside (Local Machine) to the virtual machine. There are many ways to do this, one of which is to make the virtual machine also access the Internet normally, so that the two computers can be accessed by network neighbors.
Another way is to drag the file from the outside to the virtual machine, or drag the file from the inside to the outside. This operation is similar to the six-pulse sword of Duan Yu, Which is powerful but does not work properly.
You can also select "Edit Virtual Machine Settings" and then select "options ". Select "Shared Folders" on the left and add a shared directory on the right, which is on the local machine. You can also access this directory in the virtual machine after selecting it, but the access method is odd: You must enter "//" in "My Computer" in the virtual machine. host ", press enter to see the shared directory.

 

 

More exciting resources:
Web development column: http://blog.csdn.net/broadviewwebdev
Data Development column: http://blog.csdn.net/broadviewdatabase
Program Design column: http://blog.csdn.net/broadviewprograming
Security column: http://blog.csdn.net/BroadviewSecurity

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.