This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Get PXE Knife working with QEMU ====== If you dont know what is PXE Knife, better visit [[http://pxeknife.erebor.org/]] because I will be assuming you know all on that site. ===== Get PXE Knife working with QEMU with tftp ===== - Downloaded [[http://pxeknife.erebor.org/releases/pxeknife-0.0.2.tar.gz]] at ///home/myname/pxeknife/// - unpacked it in ///home/myname/pxeknife/// - You will also need PXELinux [[http://syslinux.zytor.com/wiki/index.php/PXELINUX]] <code> $ mkdir /home/myname/for_pxe_knife/ $ wget http://pxeknife.erebor.org/releases/pxeknife-0.0.2.tar.gz $ cd /home/myname/for_pxe_knife/ $ tar -xvf ../pxeknife-0.0.2.tar.gz $ cp /usr/lib/syslinux/pxelinux.0 . $ cp /usr/lib/syslinux/*.c32 . $ cp /usr/lib/syslinux/memdisk . $ mkdir pxelinux.cfg $ vi pxelinux.cfg/default </code> Now, the content of my //pxelinux.cfg/default// file is <code> DEFAULT menu.c32 PROMPT 0 TIMEOUT 100 #this is optional - will start the default after 10 seconds MENU TITLE --== Main Menu ==-- #this allows you to exit the pxe stack and pass booting to the local system LABEL bootlocal MENU DEFAULT MENU LABEL Local Boot localboot 0 #load pxe knife LABEL pxeknife MENU LABEL PXE Knife ---> kernel menu.c32 append pxeknife/pxeknife.conf </code> <code> $ cd gpxe/bootables/ $ qemu-img create -f raw testing.img 10M </code> Here is the code which is working for <code> $ qemu -net nic -net user -boot n -hda ./testing.img -bootp /pxelinux.0 -tftp /home/myname/for_pxe_knife/ </code> for following version of qemu version qemu version 0.10.0 <code> $ qemu QEMU PC emulator version 0.10.0, Copyright (c) 2003-2008 Fabrice Bellard </code> Note : There are some versions of qemu for which network boot option did not worked. <code> $ qemu -net nic -net user -boot n -hda ./testing.img -bootp /pxelinux.0 -tftp /home/minix-pravin/Etherboot/v2/pxeknife/pxeknife/ No valid PXE rom found for network device </code> Above error came for qemu version 0.9.1 <code> $ qemu QEMU PC emulator version 0.9.1, Copyright (c) 2003-2008 Fabrice Bellard </code> ==== Useful links ==== - [[http://syslinux.zytor.com/wiki/index.php/PXELINUX]] About pxelinux - [[http://syslinux.zytor.com/wiki/index.php/Development/Testing]] for using qemu with pxelinux.


Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code wiki:qemupxeknife (generated for current page)