<div><br /> It´s solved.<br /><br /></div>
<div> </div>
<div>My problem was with pygrub.</div>
<div>I changed from: </div>
<div><em>bootloader = '/usr/bin/pygrub'</em></div>
<div>to<em><br /></em></div>
<div><em>kernel = '/vmlinuz'<br />ramdisk = '/initrd.img'<br /></em></div>
<div><em> </em></div>
<div><strong>Thanks to all.<em><br /></em></strong></div>
<div> </div>
<hr style="border-top: 1px solid #ccc;" />
<div><br /><strong>De:</strong> Ruben S. Montero < rsmontero@opennebula.org ><br /><strong>Enviada:</strong> Sexta-feira, 13 de Setembro de 2013 07:54<br /><strong>Para:</strong> kenny.kenny@bol.com.br<br /><strong>Assunto:</strong> Re: [one-users] domU.cfg and deployment.0<br /><br /></div>
<div dir="ltr">
<div>ROOT in OS, Take a look at the examples at:</div>
<div> </div>
<a href="http://opennebula.org/documentation:rel4.2:template#os_and_boot_options_section" target="_blank">http://opennebula.org/documentation:rel4.2:template#os_and_boot_options_section</a></div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">On Thu, Sep 12, 2013 at 6:06 AM, <span dir="ltr"><<a href="../../../undefined//compose?to=kenny.kenny@bol.com.br" target="_blank">kenny.kenny@bol.com.br</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div>Hello,</div>
<div>Im having a problem with deployment.0</div>
<div> </div>
<div><strong>I can create a domU, by xm create with this domU.cfg:</strong></div>
<div> </div>
<div><br /><em>bootloader = '/usr/bin/pygrub'</em><br /><em>vcpus       = '1'</em><br /><em>memory      = '512'</em><br /><em>root        = '/dev/xvda1 ro'</em><br /><em>disk        = [</em><br /><em>                  '</em><em><em>file:/var/lib/one//datastores/0/89/disk.0,xvda1,w</em>',</em><br /> <em>              ]</em><br /><em>#</em><br /><em>name        = 'ubuntu'</em><br /><em>#  Networking</em><br /><em>dhcp        = 'dhcp'</em><br /><em>vif         = [ 'mac=00:16:3E:8F:D9:05' ]</em><br /><br /></div>
<div><strong>This is my opennebula template:</strong></div>
<div><em> </em></div>
<div><em>CLUSTER_100="100"</em><br /><em>CPU="1"</em><br /><em>DISK=[DRIVER="file:",IMAGE_ID="16",READONLY="no",TARGET="xvda1"]</em><br /><em>GRAPHICS=[LISTEN="0.0.0.0",PASSWD="123456",TYPE="VNC"]</em><br /> <em>MEMORY="256"</em><br /><em>NIC=[NETWORK_ID="1"]</em><br /><em>OS=[BOOT="xvda1",BOOTLOADER="/usr/lib/xen/bin/pygrub",ROOT="/dev/xvda1 ro"]</em><br /><em>REQUIREMENTS="CLUSTER_ID=\"100\""</em><br /> <em>VCPU="1"</em></div>
<div> </div>
<div><strong>and this is my deployment.0</strong></div>
<div>name = 'one-89'<br /><em>#O CPU_CREDITS = 256</em><br /><em>memory  = '256'</em><br /><em>vcpus  = '1'</em><br /><em>bootloader = "/usr/lib/xen/bin/pygrub"</em><br /><em>disk = [</em><br /><em>    'file:/var/lib/one//datastores/0/89/disk.0,xvda1,w',</em><br /> <em>]</em><br /><em>vif = [</em><br /><em>    ' mac=02:00:0a:00:03:6c,ip=10.40.3.108,bridge=virbr0',</em><br /><em>]</em><br /><em>vfb = ['type=vnc,vnclisten=0.0.0.0,vncdisplay=89,vncpasswd=123456']</em><br /><br /></div>
<div>My domU dont load when i try it by opennebula (igot initramfs error).</div>
<div>the deployment.0 is just missing this "<em>root        = '/dev/xvda1 ro'" , how can i pass it to opennebula by template ?<br /></em></div>
<div><em>thanks.<br /></em></div>
<div> </div>
<div> </div>
<br />_______________________________________________<br /> Users mailing list<br /> <a href="../../../undefined//compose?to=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 /><br />
<div> </div>
-- <br />
<div dir="ltr">
<div>
<div>
<div>-- </div>
<div>Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013</div>
</div>
<div>-- </div>
</div>
Ruben S. Montero, PhD<br /> Project co-Lead and Chief Architect<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="../../../undefined//compose?to=rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div>
</div>
<div> </div>