<div dir="ltr"><span class="gmail-tlid-translation gmail-translation" lang="en"><span title="" class="gmail-">thank you all, I will review the information</span></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 19 jun. 2019 a las 16:52, Connor Kuehl (<<a href="mailto:cipkuehl@gmail.com">cipkuehl@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 10:47 AM Manuel Quintero Fonseca <<a href="mailto:manuel@uas.edu.mx" target="_blank">manuel@uas.edu.mx</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-tlid-translation gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-translation" lang="en"><span title="" class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-"><span class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-tlid-translation gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-translation" lang="en"><span title="" class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-">Hello, I have been wanting to learn how to use QEMU for the development of the linux kernel, at the <a href="http://kernelnewbies.org" target="_blank">kernelnewbies.org</a> page I did not find any information, in google I found this page:</span></span> <a href="https://www.collabora.com/news-and-blog/blog/2017/01/16/setting-up-qemu-kvm-for-kernel-development/" target="_blank">https://www.collabora.com/news-and-blog/blog/2017/01/16/setting-up-qemu-kvm-for-kernel-development/</a></span><br></span></div><div><br></div><div><span class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-tlid-translation gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-translation" lang="en"><span title="">Following the first examples, it gives me two problems, I hope you can guide me.</span></span></div><div><br></div><div>$qemu-system-x86_64 -kernel /boot/vmlinuz-`uname -r` <br><br>end Kernel panic - not sysncing: VFS: Unable to mount toor fs on unknown-block(0,0)</div><div><br></div><div><br></div><div>aku@openSUSE:~> sudo qemu-system-x86_64 -kernel /boot/vmlinuz-`uname -r` <br>[sudo] password for root: <br>Unable to init server: Could not connect: Connection refused<br></div></div></blockquote><div><br></div><div>Hi Manuel,</div><div><br></div><div>This is because you're not supplying it with a root file system. The article you linked goes on to describe this process, but I've found this blog post[1] to be a bit more concise and easy to follow. It'll show you how to use "mkinitramfs" to make a ramdisk to pass to QEMU alongside the kernel you're trying to boot.</div><div><br></div><div>Good luck!</div><div><br></div><div>Connor</div><div><br></div><div>[1] <a href="http://nickdesaulniers.github.io/blog/2018/10/24/booting-a-custom-linux-kernel-in-qemu-and-debugging-it-with-gdb/" target="_blank">http://nickdesaulniers.github.io/blog/2018/10/24/booting-a-custom-linux-kernel-in-qemu-and-debugging-it-with-gdb/</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-tlid-translation gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-translation" lang="en"></span></div><div><span class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-tlid-translation gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-translation" lang="en"></span></div><span class="gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-tlid-translation gmail-m_1258966388555191427gmail-m_2929466180556016210gmail-translation" lang="en"><br><br><br><span title="">Thank you</span></span></div>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div></div>
</blockquote></div>