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

Hey, I think I got it!

It was goofing up because I initially used sda and not hda. Switching didn't work... Until I noticed something.

I'm using vnc, so every reboot, I would lose the connection. Then I would reconnect and get that annoying screen saying: "Windows could not start because of a computer disk hardware configuration problem...." blah blah. I found that when I was quicker on the draw with issuing my vnc command, that there was a screen before that one offering an alternative boot -- I took it, and it is installing now as one might expect!

Alright!

Appreciate the input!

Chris

Quoting Chris <cjdl01@xxxxxxxxxxxxxxxxxx>:

Yes, Tried that, that is what I meant when I said:
"I have tried changing removing the "'file:/mnt/winxp.iso,hdc:cdrom,r'" "

Sorry about the type-o (was supposed to say just "removing" not
"changing-removing".

Any other ideas?

Quoting Ian Tobin <itobin@xxxxxxxxxxxxx>:

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




_______________________________________________
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