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

RE: [Xen-users] Xen and Windows



 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Franck
> Sent: 19 June 2007 11:51
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Xen and Windows
> 
> Hi,
> 
> xend work fine now :) YAHOO
> 
> I'm trying to install Win2003 on xen 3.1 64Bits with this tutorial :
> http://www.xensource.com/files/xen_install_windows.pdf
> 
> All is fine except at the end :(
> xm create /etc/xen/available/win2003.hvm
> Error: (22, 'Invalid argument')
> 

Don't think the xend-log is useful here... The error message indicates
that your config file is "brokened". 
> 
> win2003.hvm is a copy of xmexample.hvm
> 
> # win2003.hvm
> # ===========
> 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 = "windows2003"
> vif = [ 'type=ioemu, bridge=xenbr0' ]
> disk = [ 'phy:vg00/windows2003,ioemu:hda,w' ]
> cdrom="/media/iso_images/windows_2003_standard.iso"

I'm not sure if 3.1 accepts the "cdrom=" statement. Better to use the
new model of adding something like this on the "disk=" line:
"file:some-filename-with-path,hdc:cdrom,r"

You should also have a line for the device model:
device_model='/usr/' + arch_libdir + '/xen/bin/qemu-dm"

No guarantees, other subtle errors have been known to cause problems... 

--
Mats

> boot="d"
> sdl=1
> vnc=0
> stdvga=0
> 
> Regards
> 
> Franck
> -- 
> http://www.linuxpourtous.com
> 



_______________________________________________
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®.