This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
examples [2014/07/29 13:52] robinsmidsrod Reorganizing page content a bit |
examples [2015/02/27 15:16] robinsmidsrod added skunkie's PHP menu |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Extensive iPXE menu example ===== | ===== Extensive iPXE menu example ===== | ||
- | If you need a text-based boot menu that emulates most of what pxelinux.0 and menu.c32 does, with options to override the boot process for specific machines, you should look carefully at the example located at [[https://gist.github.com/robinsmidsrod/2234639]]. The bootstrap.ipxe script there basically implements all of the features of PXE dispatcher mentioned above with a solution using only iPXE scripting. It also doesn't require any server-side scripting support, like Perl, PHP or Python. | + | If you need a text-based boot menu that emulates most of what pxelinux.0 and menu.c32 does, with options to override the boot process for specific machines, you should look carefully at the example located at [[https://gist.github.com/robinsmidsrod/2234639]]. The bootstrap.ipxe script there basically implements all of the features of PXE dispatcher mentioned below with a solution using only iPXE scripting. It also doesn't require any server-side scripting support, like Perl, PHP or Python. |
{{ :clipart:lightbulb.png?180x200|A light bulb}} | {{ :clipart:lightbulb.png?180x200|A light bulb}} | ||
Line 21: | Line 21: | ||
===== PXE dispatcher ===== | ===== PXE dispatcher ===== | ||
- | Robin Smidsrød's [[https://github.com/robinsmidsrod/pxe-dispatcher|PXE dispatcher]] provides a reference implementation for pretty much anything you might want to try doing with iPXE menus, and also gives examples of loading a huge variety of operating systems. This specific piece of code has been superseded by a solution using only iPXE scripting mentioned below. | + | Robin Smidsrød's [[https://github.com/robinsmidsrod/pxe-dispatcher|PXE dispatcher]] provides a reference implementation for pretty much anything you might want to try doing with iPXE menus, and also gives examples of loading a huge variety of operating systems. This specific piece of code has been superseded by a solution using only iPXE scripting mentioned above. |
===== Building ipxelinux.0 ===== | ===== Building ipxelinux.0 ===== | ||
Line 30: | Line 30: | ||
The boot system at http://boot.salstar.sk/ shows you how you can make iPXE boot only programs with matching checksums using the [[cmd/imgtrust|imgtrust]] command. It also boots directly from public mirrors, like SourceForge. There is also a sophisticated example duplicating the basic feature of lspci using iPXE scripting and the [[cmd/pciscan|pciscan]] command. | The boot system at http://boot.salstar.sk/ shows you how you can make iPXE boot only programs with matching checksums using the [[cmd/imgtrust|imgtrust]] command. It also boots directly from public mirrors, like SourceForge. There is also a sophisticated example duplicating the basic feature of lspci using iPXE scripting and the [[cmd/pciscan|pciscan]] command. | ||
+ | |||
+ | ===== Menu example with authentication ===== | ||
+ | |||
+ | The https://github.com/skunkie/ipxe-phpmenu repository shows a similar example to the text-based menu above, but implemented using PHP. It also includes an authentication feature. | ||