Installing windows XP on XEN virtualization in CentOS 5

In this post I will explain on how to Install windows XP on Xen virtualization engine in CentOS 5.
In comparison to VMware based virtualization .. this one might be a bit behind in term of functionality and user-friendliness.

Prior to the installation process.. make sure you had the Windows XP Installation CD handy or

copy it into the system itself in iso format..with these command.

Read through the feature list before starting..

assume you CD-Drive is /dev/hda and the destination as /data/iso/

dd if=/dev/hda of=/data/iso/XP3_3282_V2_EN.iso

then only start ..

First of all have to make sure ,you’ve got the xen kernel already installed.

if not having yet. better off start with

yum groupinstall "Virtualization"

then all the virtualization package will be installed..

to verify

yum install qemu

it shall install the emulator that need to run windows O/S

after all packages has been install.. you can start the virtual machine manager

using commad

virt-manager

or using shortcut at Application -> System Tools -> Virtual Machine Manager

something like this will appear.

localhost


highlight the localhost qemu and press File-> Open Connection.

the status will change to Active

and now you can click the New button.

new-virtual-system

Press Forward.. it will asked for the new system name.

naming-virtual-system

Put any name that make sense to you.. and press Forward.

and it will asked for virtualization method..

in this case it will be fully virtualized with some choice of architecture to be selected.

choose-method-2

and press Forward button.. and it will asked for Locating installation media.

locationg-installation-media

here you can specify where to get the installation media.. as per defined on the first paragraph in this article.
Press Browse button and point it to the iso image that had been copied earlier.

be it at

/data/iso/XP3_3282_V2_EN.iso

or anywhere you have put it.

and also specify the OS Type .

os-type

and OS Variant..

windows-variant

Select windows and -> Microsoft Windows XP.

then it will asked to assign the storage…

assigning-storage-space

Here you can select either pointing to real physical device or just to a single file..

allocatee

Press Forward and it will asked for Network interface to connect to host network.

connect-to-host-network

then time to Allocate Memory & CPU..

allocate-memory-cpu

and press Forward.. ready to begin screen will pop up..

ready-to-begin

whenever you hit the Finish button.. it will automatically start with.. creating storage system..

creating-storage

Creating domain.. and then starting to install windows..

startingcpu-load

hmm.. it will go on.. like the normal windows xp..

enter-continue1

but don’t be surprised if CPU load shoot up.. .. my previous attempt the CPU load will go as high as 26.7..
[ad#postad] freaking-load-average

.. just as normal process ..

wind-xp-setup

wait.. and.. wait.. till it done..

25-minutes

here can notice the CPU load will go up..

dones

seting-displah

personalized_setting

hmm.. here I did play a bit with the display..

virtual-display

so that when i use ssh with port forwarding.. to the box from my other machine (nbnamran)

ssh [email protected] -L5900:127.0.0.1:5900

i can view the xp machine with just

vncviewer localhost

..

qemuqemu-runnig

and.. that’s about it..

p/s : this one project failed me because.. I am unable to use my USB Network Card(dongle) with the windows XP XEN virtualization guest.

there are simply no option to attach USB dongle from the Virtual Hardware . some were pointing to manual hack at the config.. but to no avail..

some got it worked to attach USB thumbdrive.. but not that simple as the “VMware Player ” interface .. (which can just unplug-plug. ).. lol.

hardware

and my personal comment of CPU load.. it is very irriating.. as same machine to use VMware virtualization would’nt suffer that much CPU load.. though.

may be some time later to write about VMware virtulization instead.. *sigh*

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Like

Related Post

Anything to add?

X