[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen and windows xp


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Age_M <Age_M@xxxxxx>
  • Date: Fri, 29 Jun 2007 07:32:00 +0200
  • Delivery-date: Thu, 28 Jun 2007 22:30:12 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello Bob,

I am not a Xen professional, but had no problems installing WinXP (SP2 integrated and 32bit) on a 64bit Gentoo machine. Here is my config-file:

<snip>
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 = 512
name = "winxp"
vcpus=1
pae=1
acpi=1
apic=1
vif = [ 'type=ioemu, mac=00:16:3e:3a:d0:6f, bridge=xenbr0' ]
disk = [ 'phy:/dev/vgrp0/winxp,hda,w', 'phy:/dev/hda,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

# boot="d" # CDROM for installation
boot="c" # HD for finishing Setup and running WinXP
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd='XXXX'
stdvga=0
serial='pty'
</snip>

Bob Gamble schrieb:
# Automatically generated xen config file
name = "winxp64"
builder = "hvm"
memory = "500"
disk = [ 'file:/srv/xen/winxp64.img,hda,w', ]
Only one device?? Where are you installing to?? Try to make 2 devices like this:

disk = [ 'file:/srv/xen/winxp64.img,hda,w', 'phy:/dev/YOURCDROMDRIVE,hdc:cdrom,r' ]

And you need to add the boot parameter I guess:

boot="d" # CDROM for installation
#boot="c" # HD for finishing Setup and running WinXP

First run it with "d" to install from your winxp-cd, after the first reboot, kill the machine, set it to "c" and startup again, that worked for me. I guess you could use boot="dc" but never tried that.

vif = [ 'type=ioemu, mac=00:16:3e:1b:72:1e, bridge=xenbr0', ]
uuid = "6a8a9359-f8c2-cf91-f338-dc3e63177d8f"
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
apic=1
acpi=1
pae=1
vcpus=2
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'

I have an AMD Athlon 5000+ X2 (made sure I got a processor supporting hardware virtualization specifically for this task) with plenty of ram and hd space.

I have a X2 too, works like a charme, after some Bios-related problems :-D Hope I could help!?

Greetz Holger

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.