Hi,<div><br></div><div>To use Opennebula with windows I use this template and run ok:</div><div><br><div>NAME   = vm</div><div>OS     = [</div><div>  kernel   = &quot;/usr/lib/xen/boot/hvmloader&quot;]</div><div><br></div>
<div>CPU    = 1</div><div>MEMORY =1000</div><div>DISK=[</div><div>source=&quot;/srv/cloud/images/win.img&quot;,</div><div>target=&quot;hda&quot;]</div><div><br></div><div>GRAPHICS=[</div><div>type =&quot;vnc&quot;,</div><div>
listen=&quot;0.0.0.0&quot;,</div><div>port=&quot;5900&quot;]</div><div><br></div><div>RAW =[type =&quot;xen&quot;,data=&quot;builder=&#39;hvm&#39;&quot;]</div><div>RAW =[type=&quot;xen&quot;,data=&quot;device_model=&#39;/usr/lib/xen/bin/qemu-dm&#39;&quot;]</div>
<div>RAW =[type=&quot;xen&quot;,data=&quot;vif=[&#39;type=ioemu,bridge=eth0&quot;]</div><div><br></div><div>Regards,</div><div><br></div><div>Sergio</div><div class="gmail_quote">2010/2/5 makhanmail <span dir="ltr">&lt;<a href="mailto:makhanmail@gmail.com">makhanmail@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I&#39;m using OpenNebula 1.4 with Xen hypervisor and I can&#39;t seem to run Windows VM<br>
I&#39;m using this configuration file:<br>
<br>
NAME   = vm-win<br>
CPU    = 1<br>
MEMORY = 2048<br>
OS   = [<br>
        kernel=&quot;/usr/lib/xen/boot/hvmloader&quot;,<br>
        root = &quot;sda1&quot;<br>
]<br>
DISK   = [<br>
   source   = &quot;/kruk/obrazy/xp_xen_chyba_ok.img&quot;,target=&quot;sda1&quot;,<br>
   readonly = &quot;no&quot; ]<br>
NIC    = [ NETWORK = &quot;Siec wewnetrzna5&quot; ]<br>
<br>
<br>
When I&#39;m trying to use hvmloader kernel, I get an error:<br>
Fri Feb  5 00:28:08 2010 [VMM][I]: Error: (2, &#39;Invalid kernel&#39;, &quot;elf_xen_note_check: ERROR: Not a Xen-ELF image: No ELF notes or &#39;__xen_guest&#39; section found.\n&quot;)<br>
<br>
When I&#39;m not specifying any kernel and initrd, I get an error:<br>
Thu Feb  4 23:56:54 2010 [VMM][E]: No kernel or bootloader defined and no default provided.<br>
<br>
When I&#39;m specifying vmlinuz-2.6.27.21-0.1-xen as kernel and initrd-2.6.27.21-0.1-xen as initrd, it goes into RUNNING state, but I can&#39;t access it (I have a DHCP server running in the network and it&#39;s working fine with Ubuntu image). The xm console command shows:<br>

[...]<br>
TCP: Hash tables configured (established 262144 bind 65536)<br>
TCP reno registered<br>
NET: Registered protocol family 1<br>
Unpacking initramfs... done<br>
Freeing initrd memory: 13272k freed<br>
platform rtc_cmos: registered platform RTC device (no PNP device found)<br>
audit: initializing netlink socket (disabled)<br>
type=2000 audit(1265328318.192:1): initialized<br>
VFS: Disk quotas dquot_6.5.1<br>
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>
msgmni has been set to 1030<br>
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)<br>
io scheduler noop registered<br>
io scheduler anticipatory registered<br>
io scheduler deadline registered<br>
io scheduler cfq registered (default)<br>
Non-volatile memory driver v1.2<br>
Xen virtual console successfully installed as xvc0<br>
Event-channel device installed.<br>
PNP: No PS/2 controller found. Probing ports directly.<br>
i8042.c: No controller found.<br>
mice: PS/2 mouse device common for all mice<br>
TCP cubic registered<br>
registered taskstats version 1<br>
XENBUS: Device with no driver: device/vbd/2049<br>
XENBUS: Device with no driver: device/vif/0<br>
Freeing unused kernel memory: 284k freed<br>
Write protecting the kernel read-only data: 4424k<br>
thermal: Unknown symbol acpi_processor_set_thermal_limit<br>
SCSI subsystem initialized<br>
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found<br>
EDD information not available.<br>
netfront: Initialising virtual ethernet driver.<br>
xen-vbd: registered block device major 8<br>
udevd version 128 started<br>
<br>
<br>
So what kernel and initrd should I use, to get a fully running Windows XP VM?<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br></div>