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] running windows on xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] running windows on xen
From: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
Date: Wed, 20 Feb 2008 12:59:51 +0530
Delivery-date: Tue, 19 Feb 2008 23:30:31 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=6MmajKy7Lj/VhvU5mHHalCi8Sa7t6ZrTz5yaHjKK8V0=; b=INy4xzQNapiPRfKss+jHRzW0hjqLIEJwuzKPzIaBH4+flSSY8OpUckP5yE1DJy+qWQ3DNSYsB5qFflsGCl/lpgMAYqmgFIXBkZJJEtXTlwa6nCd3TWaAvpka1tocebI5REqAUSuW14nMMep1FLlgMlYpOJrVlC/HId6whj6sBGY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dW869ElDH4/gif9Y+6J6jrDpKZMNQ5VPd0hrLWd3jYlUlYMUCcnsEVqbPY6RBhA6kFGpSG1z07iOsMWwT0GKQQE2TwNJPfXbMPt/gQrgrTRCANtH8YwiE150SX9JkhM910kY2tFG+85DK+mFZdmM3hB92HxRNkSBvrrDlfVGSfo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <b2d4ab9d0802191936y3f81e1e2u96416a948ed6f180@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: <b2d4ab9d0802190602p1cceb223n32029985e5d5da51@xxxxxxxxxxxxxx> <b2d4ab9d0802190741l24b6d833t5590e4e97fbe69e2@xxxxxxxxxxxxxx> <47BAFAFE.8080505@xxxxxxxxxxxx> <200802192112.35863.jim_burn@xxxxxxxxxxxxx> <47BB91BC.2010905@xxxxxxxxxxxx> <b2d4ab9d0802191936y3f81e1e2u96416a948ed6f180@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi all

i have am able to install windows on xen.
but i need to run 3-4 same virtual machines of same time.
for the same i am following this process.

for  first windows machine configuration file  /etc/xen/winxp as bellow:

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "winxp"
vcpus=1
pae=0
acpi=0
apic=0
cpus = ""
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/hda3,ioemu:hda,w' ]
>
on_reboot   = 'restart'
on_crash    = 'destroy'
device_model = '/usr/lib/xen/bin/qemu-dm'
sdl=0
vnc=1
vncviewer=0
stdvga=0
serial='pty'
ne2000=0
usb=1
usbdevice='tablet'

with the help of above configuration i am able to run windows.
for if do

mount /dev/hda3 /a
mount /dev/hda6 /a2
rsync -av /a  /a2

then change the configuration file to /etc/xen/winxp2

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "winxp2"
vcpus=1
pae=0
acpi=0
apic=0
cpus = ""
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:/dev/hda6,ioemu:hda,w' ]
>
on_reboot   = 'restart'
on_crash    = 'destroy'
device_model = '/usr/lib/xen/bin/qemu-dm'
sdl=0
vnc=1
vncviewer=0
stdvga=0
serial='pty'
ne2000=0
usb=1
usbdevice='tablet'

then i do
xm create /etc/xen/winxp2 -c

i  am getting error as

boot from hard disk 0 failed
FATAL: not a bootable disk

seems like rsync is not woking or i m doing something wrongly, is there any way make multiple coples of windows system. without each time installing it

thanks




On Feb 20, 2008 9:06 AM, Arpan Jindal <jindalarpan@xxxxxxxxx> wrote:
Hi All
thanks for support by changing disk entry to:
 
disk = [
       'file:/root/xenimages/WS128.img,ioemu:hda,w',
       'file:/tmp/en_windows_server_2003_standard.iso,ioemu:hdc:cdrom,r'
       ]
 
make it working but i have not tried the other one.
 
thanks

 
On 2/20/08, Stephan Seitz <s.seitz@xxxxxxxxxxxx> wrote:
jim burns schrieb:
> On Tuesday 19 February 2008 10:51:26 am Stephan Seitz wrote:
>> on recent xen versions, i prefer:
>>
>> disk = [
>>         'file:/root/xenimages/WS128.img,xvda,w',
>>         'file:/tmp/en_windows_server_2003_standard.iso,xvdc:cdrom,r'
>>         ]
>
> Does that work for hvm, which is what he's using?

Yepp, I don't know if this is possible for compatibility reasons or if
xvda provides another (better?) emulation layer, but indeed, it works.




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


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054

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




--
Arpan Jindal
Mumbai
+91-9819680008



--
Arpan Jindal
Mumbai
+91-9819680008
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users