Thank you for your reply.<br><br>I could save my OS by choose Persistent state of the image. So after installed OS successful, i Cancel VM and created a new template with only one image which be installed OS, and it ran ok.<br>
<br>But i don't know how can i save this image to .img file to use for another VM.<br><br>You said that  "Just do your windows install, go to the disks tab and perform a save_as of the OS disk. This will create a save_as image." disks tab is images tab? right? I didn't see anywhere that i can perform a save_as of the OS disk :(<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/10 Hector Sanjuan <span dir="ltr"><<a href="mailto:lists@convivencial.org" target="_blank">lists@convivencial.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>


<div><div>Just do your windows install, go to the disks tab and perform a save_as of the OS disk. This will create a save_as image.</div><div><br></div><div>Shutdown the VM so the save_as image changes state to ready. Then you can use it to register a new machine that boots with it or you can edit the template of the old machine to use this image and not boot from cdrom. you can also play with the persistency flag of the disk image you are using for the install.</div>
<div><br></div><div>Hector</div><div><div class="h5"><div><br></div><div>On Fri, 09 Nov 2012 08:29:58 +0100, Tuan Le Doan <<a href="mailto:tuan.fetk52@gmail.com" target="_blank">tuan.fetk52@gmail.com</a>> wrote:<br>
</div><br><blockquote style="margin:0 0 0.80ex;border-left:#0000ff 2px solid;padding-left:1ex">Hi all,<br><br>I had a problem when created Window 7 VM.<br><br>I'm using Opennbula 3.8 on CentOS 6.3, with KVM hypervisor. I used Sunstone server to create VM.<br>
<br>I created 2 images: a CD ROM to store win7 iso image, and a DATABLOCK to install OS.<br>
<br>Then i created a template with 2 images, and it had installed successful.<br><br>If i STOP the VM, and then it could RESUBMIT it. But if i SHUTDOWN it, and then i RESUBMIT, it was installed from the begining. Because it boot from CDROM.<br>

<br>So, how can i save the VM after it was install successful?<br><br>Hope that anyone can help me.<br><br>Thank you very much.<br><br>Regards,<br>Tuan<br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font style="font-family:tahoma,sans-serif" color="#999999">-----------------------------------------------------</font></b><div>

<font color="#666666" face="tahoma, sans-serif">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>

</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel    : +84 987 248 215</font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div><div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>

</div></div></div><br><br>
</blockquote><br><br><br></div></div><div><div>-- </div><div>Hector Sanjuan<br>@hecsanjuan</div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div><b><font color="#3333ff" face="georgia, serif">Le Doan Tuan</font><font color="#999999" style="font-family:tahoma,sans-serif">-----------------------------------------------------</font></b><div>
<font face="tahoma, sans-serif" color="#666666">Undergraduate Student of School of Electronic<span style="line-height:19px">s & Telecommunications.</span></font></div><div><font face="tahoma, sans-serif"><span style="line-height:19px"><font color="#666666">Hanoi University of Science & Technology</font><br>
</span></font><div><div><font color="#999999" face="tahoma, sans-serif">Tel    : +84 987 248 215</font></div><div><font color="#999999" face="tahoma, sans-serif">Yahoo: ledoantuan1</font></div><div><font color="#999999" face="tahoma, sans-serif">Skype: ledoantuan1</font></div>
</div></div></div><br>
</div>