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] Trying to install windows as guest

To: "Chris" <cjdl01@xxxxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Trying to install windows as guest
From: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Date: Tue, 12 May 2009 22:44:45 +0100
Cc:
Delivery-date: Tue, 12 May 2009 14:45:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20090512172856.61kfagn9s8k0o0cc@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnTSMHDJNCiYYqWTuSEhufZI27kuwAAf6xQ
Thread-topic: [Xen-users] Trying to install windows as guest
Have you tried removing the CD rom line to see if it will boot off the
hard disk? Sounds like it can't find a boot loader.

Ian



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Chris
Sent: 12 May 2009 22:29
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Trying to install windows as guest

Hello everyone,

I am trying to install windows xp as a guest OS.  It runs through the  
installer just fine, but every time I reboot, it keeps booting back to  
the installer.

Here is my config:
------------<code>---------------------------------------
kernel="/usr/lib/xen/boot/hvmloader"
builder="hvm"
memory=512
device_model='/usr/lib/xen/bin/qemu-dm'
name="win01"
vcpus=1
vif=['type=ioemu,bridge=xenbr0']
disk = [ 'phy:vg/win01,sda,w','file:/mnt/winxp.iso,hdc:cdrom,r' ]
device_model='/usr/lib/xen/bin/qemu-dm'
sdl=0
vnc=1
vncconsole=0
vncpasswd=''
ne2000=0
boot='dc'
-----------</code>----------------------------------------

I have tried changing removing the "'file:/mnt/winxp.iso,hdc:cdrom,r'"  
line for the disk between reboots, but the thing will not create at  
all without it! I have also tried setting the hard drive to hda, and I  
tried using ioemu... it does not help.  I have also tried using the  
physical cdrom (won't create when I do) and I have tried fully  
qualifying the devices to "/dev/vg/win01" and the like, when I do, the  
hard drive is not found.

I keep getting this in my log file (don't know if it is significant):
medium change watch on `hdc' (index: 1): /mnt/winxp.iso
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0


I am using gentoo, xen 3.3 with kernel 2.6.18-xen-r12 and LVM 2.02.36.  
  My gentoo guest VMs run without a hitch.

I'm really close here, but after hours of banging my head on this, I'm  
ready for some outside input.  I appreciate the help

Thanks.

Chris

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



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