LINUX Add XP virtual machine

Source: Internet
Author: User

Microsoft has discontinued the vulnerability update support for XP systems. However, at present, the major technical big guys have successively declared, continue to provide XP Vulnerability Update service, for XP escort!

Save the memory, so you have to play a game!

One. Go to msdn.itellyou.cn to download an ISO file

or download it with me:

Http://yunpan.cn/Q7nsH3gGcZYdI Extraction Code: 22DE

Do not want to use, to download

Two. The following is my procedure

Define virtual machine name WinXP operating system type windowsxp and register

(1) vboxmanage CREATEVM--name winxp--ostype windowsxp--register--basefolder/data/virtualbox/

Successful, return a hint similar to the following:

Virtual machine ' WinXP ' is created and registered.

uuid:e5ee52d7-597c-44db-96fc-af4af4c3235f
Settings file: '/data/virtualbox/winxp/winxp.vbox '

(2) Create a hard drive

Vboxmanage createvdi--filename/home/virtualbox/winxpp.vdi--size 20480 virtual machine Well, give a 20G.

(3) RAM and memory size

Vboxmanage MODIFYVM WinXP--memory 16--vram

(4) Set the boot sequence and mount the disk location you just created, turn on SATA support

Vboxmanage modifyvm "winxp"--boot2 disk--boot1 DVD--hda "/home/virtualbox/winxpp.vdi"--sata on--nic1 hostif--BRIDG Eadapter1 eth0 (wireless changed to Wlan0)

If error: ERROR: Could not find a storage controller named ‘IDE Controller‘

Execute: Vboxmanage storagectl winxp--name "IDE Controller"--add IDE, then re-execute the above command to

The following code is used as appropriate:

Vboxmanage modifyvm "winxp"--ostype "windowsxp"--memory "Up"--vram ""--boot2 disk--boot1 DVD--hda "/home/virtualb Ox/winxp.vdi "--sata on--ACPI in--pae on--hwvirtex on--nic1 hostif--cableconnected1 on--nictype1" Am79C973 "--bridge Adapter1 eth0--intnet1 brigh1--macaddress1 Auto--VRDP on--vrdpport 4000--vrdpmulticon on

The above parameter is to set up the virtual machine's networking mode: Bridge, support network card type MAC address, turn on remote connection option

(5) loading ISO file to DVD drive

Vboxmanage MODIFYVM WinXP--dvd/home/download/zh-hans_windows_xp_professional_with_service_pack_3_x86_cd_ X14-80404.iso

The error is as follows:

VBoxManage:error:No drive attached to device slots 0 on port 1 of controller ' IDE controller ' VBoxManage:error:Details: Code Vbox_e_object_not_found (0x80bb0001), Component Sessionmachine, interface Imachine, callee nsisupportsvboxmanage: Error:context: "Mountmedium (Bstr (" IDE Controller "). Raw (), 1, 0, Dvdmedium, FALSE)" at line 1123 of file vboxmanagemodify VM.cpp

It doesn't matter, we continue to set

Place the WINXP.VDI disk on port No. 0 of device 0
    VBoxManage storageattach winxp --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /home/virtualbox/winxpp.vdi
Mount ISO on 1th port of device 0
    VBoxManage storageattach winxp --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /home/download/zh- hans_windows_xp_professional_with_service_pack_3_x86_cd_x14-80404.iso

(6) Key moments

VBoxManage startvm winxp  --type SDLor run the--type headless or--type GUI window interface (the virtual machine that can install the desktop)

At this point, after the start, is to install the system, look at the prompt operation.

Three. What about sharing the clipboard between the host and the virtual machine?

No problem, look down.

Vboxmanage Modify Winxp–clipboard "parameters"

Disabled do not share the Clipboard

Hosttoguest sharing the host's clipboard to a virtual machine

Guesttohost sharing the Clipboard of a virtual machine to a host

Bidirectional host and virtual machines use a single clipboard

Four. How do I share files with virtual machines?

No problem, look here.

.....

Five. What if I want to install a few virtual machines?

According to the above method, the processing of a, note the hard drive path and ISO file do not make a mistake, just made a mistake, reset a set, now normal installation

Please visit the above parameters: http://www.cnblogs.com/readleafblackrain/articles/3974882.html

LINUX Add XP virtual machine

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.