<br><div class="gmail_extra">Hi,<br><br><div class="gmail_quote">On 30 October 2012 04:25, Hoàng Thái Xuân Khoa <span dir="ltr"><<a href="mailto:htxuankhoa@gmail.com" target="_blank">htxuankhoa@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p style="margin-bottom:0in">Hello everyone, </p>
<p style="margin-bottom:0in">I use OpenNebula 3.6 & Ubuntu
12.04
(desktop & server). I was successfully deploy & log on
into
ttylinux virtual machine. After that, I decided deploy Windows XP
to
cluster nodes, the WinXP virtual machine in “runn” state. But,
when I try to log on into Windows XP after deployed via
OpenNebula, I
got the error: <br>
“Boot failed: could not boot into hard disk. <br>
Fatal
error: no bootable device”. <br>
</p>
<p style="margin-bottom:0in">So, I decided to log on Windows XP not
via OpenNebula, I used this command: <br>
kvm -m 1024 /path/to/WinXP.img
<br>
and I successfully logged on Windows XP and used it normally. I
don't
understand why? Why when i used OpenNebula to deploy to cluster
nodes, it's state is "runn" but i can't log on. Can someone give
me a hint for this problem?</p>
<p style="margin-bottom:0in">I installed Windows XP by these
command:<br>
qemu-img create -f raw WinXP.img 6G<br>
kvm -cdrom /path/toWinXP.iso -m 1024
-boot d /path/to/WinXP.img</p>
<p style="margin-bottom:0in">This is my image template &
virtual
machine template:</p>
<p style="margin-bottom:0in">// IMAGE TEMPLATE<br>
NAME = "WinXP"<br>
PATH = /path/to/WinXP.img<br>
TYPE = OS<br>
PUBLIC =
YES<br>
RESTRICTED_DIRS = "/etc/"<br>
DESCRIPTION = "WinXP
for testing purpose when using OpenNebula to deploy a private
cloud."</p>
<p style="margin-bottom:0in">// WINXP VIRTUAL MACHINE TEMPLATE<br>
NAME = WinXP<br>
CPU = 1<br>
MEMORY =
1024<br>
OS = [ BOOT = hd ]<br>
DISK = [IMAGE_ID = 2]<br>
DISK = [<br>
type = fs,<br>
size = 1024,<br>
format = ntfs,<br>
target =
hda]<br>
GRAPHICS = [<br>
TYPE = "vnc",<br>
LISTEN =
"0.0.0.0",<br>
PORT = "5920" ]<br>
NIC = [
NETWORK = "RANGEDLAN" ]<br>
FEATURES = [ acpi = "yes"
]<br></p></div></blockquote><div><br></div><div><br></div><div>It looks like it cannot find a bootable device. You can specify this device in the OS section (ROOT) [1]. Since you added a second disk with the target hda the first disk (IMAGE_ID=2) will be hdb.</div>
<div><br></div><div>Hope this helps</div><div><br></div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.8:template#os_and_boot_options_section">http://opennebula.org/documentation:rel3.8:template#os_and_boot_options_section</a> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><p style="margin-bottom:0in">
<br>
Thanks you in advance.<span class=""><font color="#888888"><br>
</font></span></p><span class=""><font color="#888888">
<pre cols="72">--
Hoàng Thái Xuân Khoa
Ho Chi Minh city, Vietnam
</pre>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula<br>
</div>