Install the Windows-Linux Release Technology-Debian information on DebianEtch. For more information, see. To install Windows on Linux, in addition to VMWare's full-virtual software, xen can also be used to implement hardware-supported virtualization. Now, xen is built in all major releases. I was planning to try it on Redhat Enterprise 5, but hardware configuration is too troublesome. It is too troublesome to compile the source code. It is best to use the installation package once, and finally decide to use Debian Etch. Several apt-get statements will be done, which is very convenient.
Prerequisites for installing Windows:
The CPU must support Intel VT or amd pt virtualization technology. To check whether the CPU is supported, run the following command:
Grep vmx/proc/cpuinfo
Grep svm/proc/cpuinfo is used for amd cpu.
My hardware configuration: Intel Core2 Duo T7200 2 GHz, 2G RAM
Install Debian Etch and Gnome Desktop first. The first step is to install the kernel supported by xen. Note that the version must be consistent with the current Linux kernel. Install with apt-get:
After the installation is complete, restart the system, in GRUB you can see the kernel with xen, after the boot found that the wireless network card does not work, you need to install a ipw3945-modules-2.6.18-5-686, after restarting the network card works normally.
Step 2 is installation preparation. First, create a 4G file as the Windows virtual hard disk:
Dd if =/dev/zero of =/home/xuefeng/xen/winxp. img bs = 1 M count = 4096
Prepare the ISO file for Windows XP. Put it in/home/xuefeng/xen/winxp. iso.
Compile the configuration file/home/xuefeng/xen/winxp. cfg. The following is my configuration file:
# Memory size:
Memory = 1024
Pae = 1
# Configure a hard disk and a CD:
Disk = ['file:/home/xuefeng/xen/winxp. img, ioemu: hda, W', 'file:/home/xuefeng/xen/winxp. iso, hdc: cdrom, R']
# Failed to start the network. Temporarily comment out:
# Vif = ['Type = ioemu, bridge = xenbr0']
# First set to start from d. After installation is complete, change to c to start directly from hard disk:
After the VM is started, you can view all the VMS in the xm list. The last step is to connect to the winxp virtual machine through the VNC client. If xvncviewer is not installed first, start it after installation:
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.