<div dir="ltr">Hi,<div>   I am trying to use the kexec to load a compiled kernel in a virtual machine that is ran  using qemu. Here are the steps that I followed.</div><div><div><ol><li>Compiled kernel on my Ubuntu to create bzImage.</li>


<li>Copied this bzImage to the virtual machine(debian)</li><li>In the virtual machine, I created an initial ramdisk using the command <b>mkinitramfs -o initrd.img</b></li><li>I loaded the image to the kernel using the command <b>kexec -l bzImage --append=&quot;`root=UUID=<i>&lt;string&gt; </i>ro quiet`&quot; --initrd=initrd.img</b>. The append was done based on  /proc/cmdline.</li>


<li>Now I did a <b>kexec -e </b> which after some warning messages dropped me in to an initramfs prompt. One of the warning read as follows <i style="font-weight:bold">/dev/disk/by-uuid/&lt;string&gt; </i> <b><i>does not exist.</i></b></li>


</ol><div>Can you please tell me what I am doing wrong? Please note that I have <b>CONFIG_KEXEC=y </b>on my current kernel of debian VM .</div></div><div><br></div>-- <br><div><font face="&#39;arial narrow&#39;, sans-serif" color="#C0C0C0"><b>Regards,</b></font></div>


<div><font face="&#39;arial narrow&#39;, sans-serif" color="#C0C0C0"><b>Paul Davies C</b></font></div><a href="http://vivafoss.blogspot.com" target="_blank">vivafoss.blogspot.com</a>
</div></div>