WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen and windows xp

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen and windows xp
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <678294a50706281338t2a95146fi1efdf3781954a268@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <678294a50706281338t2a95146fi1efdf3781954a268@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (Windows/20070604)
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

<Prev in Thread] Current Thread [Next in Thread>