Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
pxechaining [2010/07/14 09:10]
vutcovici
pxechaining [2010/07/14 13:01]
vutcovici Added chainloading from pxelinux menu
Line 74: Line 74:
     cd gpxe-1.0.1/​src     cd gpxe-1.0.1/​src
     make DEBUG=http,​iscsi,​tftp,​dhcp bin/​undionly.kpxe;​sudo cp bin/​undionly.kpxe /​tftproot/​undionly.kpxe     make DEBUG=http,​iscsi,​tftp,​dhcp bin/​undionly.kpxe;​sudo cp bin/​undionly.kpxe /​tftproot/​undionly.kpxe
 +==== Using pxelinux, menu.c32 and dnsmasq to chainload gPXE ====
 +If you want to test gPXE but you are using extensively pxelinux and you do not want to break the rest of your configuration,​ you can add a menu entry to load gPXE.
 +The ''/​etc/​dnsmasq.conf''​ should contain something like:
 +    #DHCP
 +    domain=mydomain
 +    dhcp-range=192.168.10.100,​192.168.10.200,​255.255.255.0,​30m
 +    dhcp-option=option:​router,​192.168.10.1
 +    dhcp-authoritative
 +    ​
 +    # TFTP part
 +    enable-tftp
 +    tftp-root=/​tftproot
 +
 +    # PXE
 +    dhcp-boot=/​tftproot/​pxelinux.0
 +    # required by old versions of gPXE (e.g. the one that comes with OracleVM)
 +    dhcp-no-override
 +The ''/​tftproot/​pxelinux.cfg/​default''​ should contain:
 +    DEFAULT menu.c32
 +    PROMPT 1
 +    ​
 +    LABEL gpxe
 +    MENU LABEL gPXE - chainload gPXE from a PXE capable NIC
 +    KERNEL undionly.0
 +On an Ubuntu system install ''​syslinux''​ package and make ''/​tftproot/​pxelinux.0''​ symlink to ''/​usr/​lib/​syslinux/​pxelinux.0''​.
 +The file ''/​tftproot/​undionly.0''​ is a symlink to ''/​tftproot/​undionly.kpxe''​.
  
 ==== Using the Windows DHCP server ==== ==== Using the Windows DHCP server ====

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 pxechaining (generated for current page)