Howto Install Windows XP / Vista on Xen

This short guide describes how to install Windows XP or Windows 2003 Server on Xen. It provides an overview of the Debian Linux Etch installation, and detailed steps for installing and configuring Xen and starting the Windows XP or Windows 2003 Server
installation.
Requirements
- CPU with either Intel’s Vanderpool (IVT – Intel Virtualization Technology) or AMD’s Pacifica Technology (AMD virtualization)
- Windows iso-image
First you need to install Xen on Debian Etch:
sudo apt-get install xen-linux-system-2.6.18-4-xen-686 libc6-xen bridge-utils
Boot into the newly installed Xen enabled Linux kernel
sudo reboot
Then adjusted the network settings in /etc/xen/xend-config.sxp. Enabling the network bridge:
(network-script network-bridge)
Install Xen IO Emulation tools:
sudo apt-get install xen-ioemu-3.0.3-1
Create a directory for the virtual machine files e.g. /home/xen/domains/win01 and create a disk image for the virtual machine’s primary disk.
mkdir /home/xen
mkdir /home/xen/domains
mkdir /home/xen/domains/win01
sudo dd if=/dev/zero of= /home/xen/domains/win01/disk.img bs=1M count=4096
Establish a Xen machine Configuration file (/etc/xen/win01.cfg) like this
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
memory = '256'
device_model='/usr/lib/xen/bin/qemu-dm'
# Disks
disk = [ 'file:/home/xen/domains/win01/disk.img,ioemu:hda,w',
'file:/home/cc/iso-images/WindowsXP-SP2/image.iso,ioemu:hdc:cdrom,r' ]
# Hostname
name = 'win01'
# Networking
vif = ['type=ioemu, bridge=xenbr0']
# Behaviour
boot='d'
vnc=1
vncviewer=1
sdl=0
The ready to fire up the new machine and start the Windows installation in a vnc terminal.
xm create win01.cfg
After the virtual machine is started – a VNC server port should be available on port 5900 at the Xen server’s IP, e.g. 192.168.1.102 – A VNC XEN Client session is depicted here.
If an error like this shows up
Error: Device 0 (vif) could not be connected. Backend device not found.
You should check your that you have enabled the network bridge, “(network-script network-bridge)”, in /etc/xen/xend-config.sxp and restarted the xen deamon by /etc/init.d/xend restart
For more on creating Xen virtual machines read this guide, which outlines the features of the xen-tools package.
Related posts:
- Xen Howto: Install Windows
- Ubuntu Howto: Install Xen
- Installing Xen on Debian Etch 4.0
- Importing / Exporting Virtual Disk Images with Virtual Box
- Howto: Install Windows Vista Fonts in Ubuntu
- Seamless Windows Applications on Ubuntu Linux Using VirtualBox
- Howto Install Fedora From a USB Flash Key Drive
- InfraRecorder: Open Source CD Burning for Windows XP/Vista
- Fedora Howto: Install From Memory-stick
- Windows Vista and Symbolic Links
Popular Related Items »
Incoming search terms
- xen windows
- Xen Windows XP
- windows on xen
- windows xen
- xen howto
- xen install windows
- xen windows guest
- xen for windows
- xen vista
- install windows on xen
- xen xp
- xen windows 2003
- windows xp xen
- xen windows 7
- Xen on windows
- install windows xen
- installing windows on xen
- xen windows vista
- debian xen windows
- XEN install windows xp
- xen windows install
- linux xen windows
- windows xp on xen
- xen windows howto
- Xen and Windows
- install xen
- windows in xen
- install windows xp xen
- xen linux windows
- xen winxp
- xen install
- xen windows server 2003
- vista xen
- xen windows 2008
- xen debian windows
- xen xp guest
- xen vnc
- xen install from iso
- xen install xp
- install windows xp on xen
- windows 7 xen
- how to install xen
- xp xen
- xp on xen
- xen windows xp guest

.bootstrap » Windows ontop of Xen said,
June 18, 2007 @ 8:11
[...] Updated 18. June 2007: Guide on how to install Windows XP, Windows Server 2003 or Windows Vista on Xen. [...]
Jason said,
July 5, 2007 @ 11:23
Hello
Thank you for a great guide.
It is super fast way to install Windows Vista on a Xen-based machine.
I wonder if it is not that easy with Windows 2003 Server too.
Frank said,
August 1, 2007 @ 5:11
When I complete the initial load of XP in Zen and then reboot, ZEN no londer sees the Win XP boot CD to complete the install in GUI mode. Any thoughts on what I am missing?
Claus said,
August 15, 2007 @ 17:11
Hello Jason,
Installing Windows 2003 Server properly includes the same steps.
Manfred said,
August 20, 2007 @ 9:54
Vnc worked out of the box? Or do I need to install ‘libvncserver’ or something like that?
Anton said,
August 22, 2007 @ 22:21
ubuntu feisty showed so much promise. Just nothing seems to work. And this certainly doesn’t work. And yet everything seems to work with etch.
.
I was so looking forward to it.
Conrad said,
August 26, 2007 @ 18:10
Anton: Your comment “this certainly doesn’t work” won’t get you any help. Please be specific and explain precisely what you did and happens when you do it.
an_bloG_el » QEMU i XEN en un Centos 5.0 (2ª part XEN) said,
August 27, 2007 @ 15:40
[...] Networking – http://wiki.kartbuilding.net/index.php/Xen_Networking http://www.cl.cam.ac.uk/research/srg/netos/xen/ http://www.e-compugraf.com/sciret/index.php?view=ViewArticle&id=4&set=all http://www.howtoforge.com/centos_5.0_xen http://www.linuxsilo.net/articles/xen.html http://mediakey.dk/~cc/howto-install-windows-xp-vista-on-xen/ http://www.linuxtopia.org/online_books/linux_virtualization/xen_3.0_user_guide/linux_virualization_xen_user_67.html http://wiki.xensource.com/xenwiki http://www.planetjoel.com/viewarticle/568/HOWTO:+Windows+XP+running+under+Xen+3.0+on+Ubuntu+Dapper+Drake [...]
Luis said,
August 27, 2007 @ 19:20
How to connect to windows console with vncviewer.
thanks
lws said,
September 1, 2007 @ 11:07
Thank you very much by the article!
A very good work!
————————
http://www.luckywebsoft.com
Install/config log: « sysblogd said,
September 3, 2007 @ 9:29
[...] Howto setup XP on Xen [...]
poyuerito said,
September 4, 2007 @ 1:22
I don’t have the winxp install CD but my winxp partition is mounted by linux as /mnt/windows (read-only NTFS). How can I boot winxp from /mnt/windows/ via xen with linux as host?
John said,
September 13, 2007 @ 1:04
Frank,
I have the same problem as you :
“When I complete the initial load of XP in Zen and then reboot, ZEN no londer sees the Win XP boot CD to complete the install in GUI mode. Any thoughts on what I am missing?”
Did you find a solution?
Thanks in advance,
John
David Legg said,
September 21, 2007 @ 13:07
Good article.
Has anyone tried this on Fedora 7?
Jaycee K Dewey said,
September 22, 2007 @ 4:48
Keeping the Windows CD(s) mounted after reboot:
First make disk images from your CD(s):
dd if=/dev/cdrom of=/iso/win2k3_1.iso bs=2048
dd if=/dev/cdrom of=/iso/win2k3_1.iso bs=2048
Then edit your config file:
disk = [ 'file:/vm/win2k3.img,hda,w', 'file:/iso/win2k3_1.iso,ioemu:hdb:cdrom,r', 'file:/iso/win2k3_2.iso,ioemu:hdc:cdrom,r', ]
Lucidus said,
October 4, 2007 @ 15:18
Hello!
I strugled for sometime with correct VNC configuration. It seems that aleast with XEN 3.1 on Fedora Core 7 and WinVNC you need to install vnc-server pakage to DOM-0 and have these lines in virtual domains config file:
# Disable VNC viewer’s listening function and use vnc-server instead.
# You can also comment this out to have same effect.
vncviewer=0
# Listen the host servers ip-address, you should change the DOM-0 ip-
# address here.
vnclisten=193.168.0.100
When you contact server’s ip-address with VNC viewer you should see the Windows XP installation screen as usual.
Cheers,
J.
bobg said,
October 30, 2007 @ 5:40
A late addition, but for those googlers not getting a console in ubuntu 7.10, check the paths of:
kernel = ‘/usr/lib/xen/boot/hvmloader’
device_model=’/usr/lib/xen/bin/qemu-dm’
On my freshly updated 7.10 system, they are in:
kernel = “/usr/lib/xen-ioemu-3.1/boot/hvmloader”
device_model = “/usr/lib/xen-ioemu-3.1/bin/qemu-dm”
I also used:
vnc=0
vncunused=0
sdl=1
to get a console immediately. Actually, here’s my full config for a win2k3 server:
name = “win2k3″
builder = “hvm”
memory = “1024″
shadow_memory = “8″
disk = [
'file:/xen/win/win2k3.img,hda,w',
'file:/home/bob/Windows/win2k3.iso,hdc:cdrom,r' ]
boot=’d’
vif = [ 'type=ioemu, bridge=xenbr0' ]
device_model = “/usr/lib/xen-ioemu-3.1/bin/qemu-dm”
kernel = “/usr/lib/xen-ioemu-3.1/boot/hvmloader”
#vnc=1
#vncunused=1
apic=0
acpi=0
sdl=1
vcpus=2
serial = “pty” # enable serial console
on_poweroff = ‘destroy’
on_reboot = ‘restart’
on_crash = ‘restart’
Hope this helps someone.
Dávur Eyðunsson Sørensen said,
October 31, 2007 @ 10:57
Hi there,
I’m in the middle of a test of http://www.howtoforge.com/ganeti_xen_cluster_management_debian_etch – does anyone know how one should go about mixing these two tutorials?
/regards
DES
RedHat goes into the Cloud - Tiernans Comms Closet said,
November 8, 2007 @ 0:54
[...] RedHat has announced that they have enabled RedHat Enterprise Linux to run in the EC2 service. This comes at more of a cost than the normal price for EC2: $19 a month per user, plus 21, 53 and 91c per hour used (small, large and extra large). Amazon has a little more about it here. This is cool. this could mean that any vendor, including Microsoft (in theory since Windows can run on Xen), could enable this to work with their Operating system. [...]
XEN Noob said,
November 28, 2007 @ 7:42
with ubuntu 7.10 I had to use the ne2000 option and download the realtek 8029 drivers to get networking to work under vista.
here is my config
name = ‘vista-32-0′
builder = ‘hvm’
memory = ‘1024′
disk = [
'file:/home/xen/domains/vista-32-0/disk.img,hda,w',
'file:/home/xen/drivercd-ne.iso,hdc:cdrom,r' ]
boot=’c’
vif = [ 'type=ioemu, mac=00:16:3e:0c:6e:18, bridge=xenbr0, model=ne2k_pci']
device_model = ‘/usr/lib/xen-ioemu-3.1/bin/qemu-dm’
kernel = ‘/usr/lib/xen-ioemu-3.1/boot/hvmloader’
vnc=1
vncunused=1
apic=1
acpi=1
pae=1
sdl=0
usbdevice=’tablet’
vcpus=2
#serial = ‘pty’ # enable serial console
on_reboot = ‘destroy’
on_crash = ‘destroy’
on_powerof = ‘destroy’
Quasi.dot » links for 2007-11-30 said,
November 30, 2007 @ 2:25
[...] Howto Install Windows XP / Vista on Xen This short guide describes how to install Windows XP or Windows 2003 Server on Xen. It provides an overview of the Debian Linux Etch installation, and detailed steps for installing and configuring Xen and starting the Windows XP or Windows 2003 Server ins (tags: blog reference xen windows virtualization linux howto debian) [...]
LastLink said,
January 30, 2008 @ 23:10
VNC Not Connecting FIX
i had a helluvuh time getting VNC to work. as the how-to explains at the bottom:
“After the virtual machine is started – a VNC server port should be available on port 5900 at the Xen server’s IP”
Simply didn’t work that way
Had to edit the “/etc/xen/win01.cfg” file like so:
kernel = ‘/usr/lib/xen/boot/hvmloader’
builder = ‘hvm’
memory = ‘1024′
#device_model=’/usr/lib/xen/bin/qemu-dm’
#NOTE this line was wrong as I’m using a Fedora 8 x64
device_model=’/usr/lib64/xen/bin/qemu-dm’
# Disks
disk = [ 'file:/home/xen/domains/win01/disk.img,ioemu:hda,w',
'file:/home/cc/iso-images/WindowsXP-SP2/image.iso,ioemu:hdc:cdrom,r' ]
# Hostname
name = ‘win01′
# Networking
vif = ['type=ioemu, bridge=xenbr0']
# Behaviour
boot=’d’
#vnc=1
#vncunused=1
apic=0
acpi=0
sdl=1
vcpus=2
UncleLumpy said,
February 7, 2008 @ 0:01
VNC Problems – i’m an idiot!
Ubuntu 7.10 AMD64, Xen 3.1
kernel = ‘/usr/lib64/xen-ioemu-3.1/boot/hvmloader’
builder = ‘hvm’
memory = ‘768′
device_model=’/usr/lib64/xen-ioemu-3.1/bin/qemu-dm’
# Disks
disk = [ 'file:/home/xen/domains/win2k3/disk.img,ioemu:hda,w','file:/home/xen/domains/win2k3/Win2K3Server.iso,ioemu:hdc:cdrom,r' ]
# Hostname
name = ‘win01′
# Networking
vif = ['type=ioemu, bridge=xenbr0']
# Behaviour
boot=’d’
vnc = 1
vncunused = 1
vnclisten = ‘0.0.0.0′
apic=1
acpi=1
sdl=1
vcpus=2
serial = ‘pty’ # enable serial console
on_poweroff = ‘destroy’
on_reboot = ‘restart’
on_crash = ‘restart’
xm create win01.cfg
then… vncviewer 127.0.0.1 and a Win2K3 boot screen appeared, yay.
Tresko said,
March 27, 2008 @ 21:37
I am trying to run windows xp on Fedora with xen. Everytime I do “xm cr win.config”, I can initially see a window opening that starts the windows but in few moments I see “setup is being restarted” and the window disappears. Although I can see the windows guest domain when I type “xm list”. Can some one please help. Thanks
bob said,
March 28, 2008 @ 17:46
Tresko, could you provide a link to some screenshots or a screencast, perhaps?
mike vassileiou said,
April 5, 2008 @ 9:47
Great guide!! It was to easy to setup windows on that way.
But I think that Virtualbox is much more suitable for running windows on Linux. Xen and other virtual software are too slow with win guests.
leli said,
April 8, 2008 @ 13:30
Hello,
I have a problem installing Windows XP.
I’m working on Debian Etch with no graphical interface (only a text console), accesing via ssh. When I write “xm create windows.cfg” appears:
/usr/lib/xen-3.0.3-1/bin/../lib/python/xen/xm/opts.py:520: DeprecationWarning: Non-ASCII character ‘\xe2′ in file windowsXP.hvm on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
execfile(defconfig, globs, locs)
VNC= 1
Started domain windowsXP
But the screen installation doesn’t appear.
My question is if the problem should be caused by not having a graphical interface in Debian or maybe I’m working via ssh.
Thanks in advance.
Mike said,
April 8, 2008 @ 14:09
Hello leli,
I have installed Windows XP on Xen without any graphical interface, so it is possible.
Try to look for “wrongly” characters in line 3 in the windowsXP.hvm file.
leli said,
April 10, 2008 @ 10:52
Thanks Mike.
I have fixed the windowsXP.hvm file. There are any errors now. But it doesn’t matter, the screen installation doesn’t appear.
# xm create windowsXP.hvm
Using config file “windowsXP.hvm”.
Started domain windowsXP
And nothing happens.
Here is the windowsXP.hvm file:
import os, re
kernel = ‘/usr/lib/xen-3.0.3-1/boot/hvmloader’
builder = ‘hvm’
memory = 256
name = ‘windowsXP’
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/root/iso/WINDOWS.ISO,ioemu:hdc:cdrom,r','phy:/dev/lvg1/windowsXP,ioemu:hda,w' ]
on_reboot = ‘restart’
on_crash = ‘restart’
device_model = ‘/usr/lib/xen-3.0.3-1/bin/qemu-dm’
boot=’d’
sdl=0
vnc=1
vnclisten=’0.0.0.0′
vncviewer=0
ne2000=0
serial = ‘pty’
I thing that all is ok.
Reading the tutorial, I understand that the screen installation appears automatically when running the command “xm create”.
Also, I don’t understand very well how to connect with the vnc.
Cheers.
Mike said,
April 10, 2008 @ 16:01
Hello leli,
Great that you solved your problem so far.
You should be able to connect to the Xen host with any vnc client like the Gnome Terminal Server Client [tsclient]
http://sourceforge.net/projects/tsclient/
After connecting with the vnc client you should be able to proceed with the Windows install.
leli said,
April 11, 2008 @ 10:35
Hi,
thank you for your help Mike! Everything works fine!
Mike said,
April 12, 2008 @ 9:06
Hello leli,
I would like to hear about your experiences with Linux, Xen and Windows.
ktulu said,
May 28, 2008 @ 23:54
Hi,
did any have an idea, why vnc in xen iss so slow?
I tried kvm, an vnc is fast as sdl………….
I like xen more and after the windows installation, I can also use rdp.
But I wonder, why it’s so terrible slow (on localhost!!).
Thanks
Michael said,
May 30, 2008 @ 8:09
Hello Michael,
I use RDP for everyday use. I did only use VNC to do the actual installation.
RDP works very well and it is very quick.
Warren said,
August 5, 2008 @ 17:27
Thanks for the guide, I used parts of this + another, it was a good start to add a xp domU: my sys details + cfg as follows for anyone as a guide too.
Asus mobo, 8gig ram, quadcore, nvidia pci express g/c. Nothing else special.
Ubuntu 8.04 – 2.6.24-19-xen
xen 3.2.1 rc1-pre
kernel = “/usr/lib/xen/boot/hvmloader”
builder = ‘hvm’
memory = 2048
name = “winxp”
vcpus = 2
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'tap:aio:/home/xen/domains/winxp/WinXP.img,ioemu:hda,w', 'phy:/dev/scd0,ioemu:hdc:cdrom,r' ]
device_model = ‘/usr/lib/xen/bin/qemu-dm’
ne2000=0
#boot=’d’
boot=’c’
vnc=0
vncviewer=1
sdl=1
Installed and running RDP to is very well now. Thanks again for the pointers.
Linux Hazor said,
August 5, 2008 @ 20:58
I used the guide to install Windows XP on a Debian Lenny-based machine and everything works great and the UI is very responsive through RDP.
Thank you for this great Xen Windows guide.
MD said,
August 18, 2008 @ 21:49
i used about the same config as warren, but i have the following problem: after windows setup copied it’s files to the virtual disk it restarts. i then change the config to boot from “c” instead of “d”, otherwise the setup starts from the beginning.
but booting from ‘c’ i get the following error:
invalid boot.ini file
booting from c:\windows
ntdetect failed
and there it stops… any hints? this is a ubuntu hardy amd64 with xen 3.2.1 and win2k3.
MD said,
August 19, 2008 @ 10:04
i now followed the suggestion mentioned here on
http://wiki.mitopia.net/Xen_3.0.2_Setup#Install_QEMU and installed the vm using qemu. i had to recreate the disk image to make it work.
MD said,
August 19, 2008 @ 11:50
posted too soon… windows installed fine in qemu. but after “converting” the qemu image to xen i get the same errors again. don’t know what’s wrong with my setup…
kernel = “/usr/lib64/xen/boot/hvmloader”
builder = “hvm”
memory = “512″
device_model = “/usr/lib64/xen/bin/qemu-dm”
name = “testwin”
#vcpus = “1″
vif = [ 'ip=78.46.218.251,mac=00:16:3E:DD:DC:64' ]
disk = [
'phy:/var/xen/domains/testwin/disk.img,hda,w',
'phy:/dev/loop0,hdc:cdrom,r'
]
#ne2000 = “0″
boot = “c”
sdl=0
vncviewer=0
vnc=1
vnclisten=’0.0.0.0′
vncpasswd=’xxx’
stdvga=0
serial=’pty’
#shadow_memory = 8
acpi=0
apic=0
John Allegro said,
August 21, 2008 @ 17:14
I had the same problem. Turned out that you have to convert the disk image you create :
dd if=/dev/zero of=/home/xen/domains/win01/disk.img bs=1M count=4096 conv=notrunc
after the creation of the image with dd
see http://en.opensuse.org/Xen_Full_Virtualization_Example
Tiago said,
August 27, 2008 @ 1:51
Hi MD,
In you config you set the disk as ‘phy’, but it seems to be a disk image in a file, so you should use ‘file:/var…’ instead.
‘file:/var/xen/domains/testwin/disk.img,hda,w’,
Oliver Wilcock said,
August 28, 2008 @ 18:01
FYI:
If you find your WinXP guest is slow or sluggish and xm top tells you that Windows XP is using a lot of CPU, try changing the HAL.
To improve the situation, I changed the HAL from multi-processor halaacpi.dll to halacpi.dll and changed the ntoskrnl.exe as well (uniprocessor, I think).
To change the HAL on Windows XP, I did the following:
copy c:\WINDOWS\ServicePackFiles\i386\halacpi.dll c:\windows\system32\halu.dll
copy c:\WINDOWS\ServicePackFiles\i386\ntoskrnl.exe c:\windows\system32\ntkrnu.exe
notepad c:\boot.ini
# Copy first boot line and add the following to the first boot line: /HAL=halu.dll /KERNEL=ntkrnu.exe (as follows)
# multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=”Microsoft Windows XP Professional” /noexecute=optin /fastdetect /HAL=halu.dll /KERNEL=ntkrnu.exe
# After boot, the system installed new devices (ie. the hal.dll and ntoskrnl.exe files were replaced with the files specified in the modified boot.ini entry)
# remove the modified boot.ini line.
# Then install the GPLPV drivers.
xm top reports idle of < 1% when the VM is idle (versus 80%)
elfofthenight said,
October 17, 2008 @ 12:21
hi i got this problem on win2k3 server installation
Unexpected error: exceptions.OSError
Please report to xen-devel@lists.xensource.com
Traceback (most recent call last):
File “/usr/lib/xen-3.0.3-1/bin/xm”, line 7, in ?
main.main(sys.argv)
File “/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py”, line 1446, in main
rc = cmd(args)
File “”, line 1, in
File “/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py”, line 751, in xm_importcommand
cmd.main([command] + args)
File “/usr/lib/xen-3.0.3-1/lib/python/xen/xm/create.py”, line 1191, in main
dom = make_domain(opts, config)
File “/usr/lib/xen-3.0.3-1/lib/python/xen/xm/create.py”, line 982, in make_domain
os.kill(vncpid, signal.SIGKILL)
OSError: [Errno 3] No such process
anyone can help me??
elfofthenight said,
October 17, 2008 @ 14:01
solved!
Coolczus said,
November 13, 2008 @ 10:50
elfofthenight, how have You solved this OSerror?
ioemu-3-0-3 said,
November 13, 2008 @ 17:26
in my debian etch i perfectly installed win2k3 and winXp , but Vista and win2008 does not work =(
What is the version xen-packages i must used ?
Dry said,
November 14, 2008 @ 12:44
I think what Vista didnt work with xen-ioemu-3.0.3
FabryB said,
November 28, 2008 @ 1:39
Hi everybody!
I’m trying to install Windows 2008, but installation screen does not show up!
VNC screen is stuck on black screen with “microsoft” and the loading bar (which is empty and stuck).
Any suggestion ?
дождь said,
November 28, 2008 @ 11:08
FabryB: привет, та же ÑÐ°Ð¼Ð°Ñ Ñ„Ð¸Ð³Ð½Ñ , причём заметил одну оÑобенноÑть, еÑли по дефолту file:// ….. win.iso,ioemu:hdc:cdrom то ÑиÑтема живет ~7 Ñекунд , а еÑли изменить hdc на hda или hdb , то ÑиÑтема проживет 17-35 Ñекунд =)
Однако Ñто не помогает решить проблему .
Linux Corner » Howto Install Windows XP / Vista on Xen said,
May 26, 2009 @ 7:03
[...] More … [...]
Abhi Datt said,
July 17, 2009 @ 8:25
If you are using Convirt and got stuck at the time of installing Windows 2003 64 Bit edition with an error to enable apci. Please do this to install it smoothly
Right click on the newly provisioned VM under server
Edit Settings > Edit the text file to
acpi=1
apic=1
This will solve the issue
hinick said,
August 2, 2009 @ 1:18
Hi,
This is a very useful guide. I am using a Ubuntu 8.04LTS system with Xen 3.2. I was able to successfully install windows XP (with the boot=d option) and also update the image with the latest patches etc. After this when I shutdown and try to restart the windows XP3 VM it doesnt want to start up …saying that boot device not found. The only change I made was to removed the CD rom line and change boot=c. The message shown when I connect over VNC is:
——————————————-
ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (100 Gbyte)
ata0 slave: Unknown Device
Booting from Hard Disk…
Boot from Hard Disk Failed: not a bootable disk
FATAL: No bootable device.
——————————————-
My config file is:
import os, re
arch = os.uname()[4]
if re.search(‘64′, arch):
arch_libdir = ‘lib64′
else:
arch_libdir = ‘lib’
kernel = “/usr/lib/xen/boot/hvmloader”
builder = ‘hvm’
memory = ‘1024′
shadow_memory = 8
name = “hostname”
vif = [ 'type=ioemu, bridge=xenbr' ]
disk = [ 'tap:aio:/home/xen/domains/hostname/winxp.img,ioemu:hda,w' ]
device_model = ‘/usr/’ + arch_libdir + ‘/xen/bin/qemu-dm’
sdl=0
vnc=1
vncpasswd=’XXXXXXXXXXX’
stdvga=0
serial=’pty’
usbdevice=’tablet’
boot=’c’
any help would be very useful! thanks.
slow windows 2003 server said,
August 15, 2009 @ 15:00
slow windows 2003 server…
Great job with the info. How did you find it? Please let me know….
BigSmoke » Installing Windows on Xen said,
February 1, 2010 @ 0:05
[...] a a kind of bookmark, I used this blog post as a base to find out how to install Windows as a DomU on Xen. I might as some point reconstruct my [...]