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] understanding DomU disk=?? root=?? for WindowsXP.

To: "Trevor furnell" <trevor@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] understanding DomU disk=?? root=?? for WindowsXP.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 2 Aug 2006 11:39:40 +0200
Delivery-date: Wed, 02 Aug 2006 02:44:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44CA1599.2020108@xxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aca2FHO7rKnYpZ9DS7iAh75SdcWdogAAiWdQ
Thread-topic: [Xen-users] understanding DomU disk=?? root=?? for WindowsXP.
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Trevor furnell
> Sent: 28 July 2006 14:48
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] understanding DomU disk=?? root=?? for WindowsXP.
> 
> Hi;
> 
>       I'm having trouble understanding the config file for
>       setting up my Windows install.
> 
>       I keep getting stuck on the disk= line and also
>       on whether I need the root= line, and if so what
>       do I put for it.
> 
>       Below is my current file..
> 
> ----start----
> kernel = "/boot/vmlinuz-2.6.17-1.2157_FC5xenU"
> builder = 'linux'
> memory = 1024
> name = "WinXP"
> vcpus = 1
> disk = [ 'file:/mnt/images/WinXP.img,ioemu:hda,w' ]
> cdrom='/dev/hda'
> ne2000=0
> boot='d'
> ----- end -----

Hmm - you got a few things wrong int here, didn't you? ;-)

Try using the /etc/xen/xmexample.hvm as a base, instead of one of the
paravirtual ones.. 

So, you want kernel to have ".../hvmloader", as that's the "application"
that loads the BIOS and gets things started. 

Is your CDROM really /dev/hda?

Here's a simple "boot from CDROM" config file:

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 = 1024
name = "CDROM-boot"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/root/disk.img,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom='/root/isoguest.iso'
boot='d'
sdl=0
vnc=1
vncviewer=1
serial='pty'
ne2000=0

I hope this helps. 

--
Mats



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

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