[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] running windows on xen


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Arpan Jindal" <jindalarpan@xxxxxxxxx>
  • Date: Wed, 20 Feb 2008 12:59:51 +0530
  • Delivery-date: Tue, 19 Feb 2008 23:30:31 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.