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] Kubuntu host running, guest win XP doesn't start

To: buw20031220@xxxxxxxxxxxxxx
Subject: Re: [Xen-users] Kubuntu host running, guest win XP doesn't start
From: Jean-Baptiste Rouquier <jrouquie@xxxxxxxxxxx>
Date: Thu, 08 Jun 2006 20:44:54 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 09 Jun 2006 02:34:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1149756235.4487e34b657b0@xxxxxxxxxxxxxxxxxxxxxx>
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: <4486B185.5090601@xxxxxxxxxxx> <1149756235.4487e34b657b0@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

you should choose a way as close as possible to http://en.opensuse.org/Xen_Full_Virtualization_Example

I have played around a bit, almost everything that I changed from this Setup did
not work. (vnc/sdl works)
Thanks for your mail. I already knew this tutorial, but it gives info to boot windows in a disk image. But OK, I tried it and got :
Error: Device 768 (vbd) could not be connected

http://lists.xensource.com/archives/html/xen-users/2006-04/msg00706.html suggests
losetup -d /dev/loopX
which doesn't work with X=0 or X=1, but running "losetup -f" before xm create makes the error message disapear. (and I tried to launch windows again while I forgot to destroy it first, I got

Error: Device 768 (vbd) could not be connected.
File /var/lib/xen/images/windisk.img is loopback-mounted through /dev/loop0,
which is mounted in a guest domain,
and so cannot be mounted now.

so I guess there is no more loop problem)

Then I went to http://mccune.ece.cmu.edu/wordpress/?page_id=145 and following his advice I tried to use an image for the cdrom:
dd if=/dev/hdc of=winxp_installer.iso
and put in the config file
cdrom='/var/lib/xen/images/winxp_installer.iso'
This page suggests
modprobe loop
which also makes the error message disapear.
But I still get

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1024     2 r-----    68.3
winxp                              1      512     1 -b----     0.0


I have a few lines (probably one per attempt at xm create) in /var/log/xen-hotplug.log
xenstore-read: couldn't read path backend/vbd/42/768/node
whrere 42 is acutally betxeen 1 and 6.

I'd like to be able to run windows from a hard disk partition, so that I can sometimes boot windows natively and use the whole ram. I've spent much time, if there is no more idea, I'm now considering giving up.
Thanks,
Jean-Baptiste Rouquier


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