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
Previous revision
Next revision Both sides next revision
examples [2013/04/12 18:25]
mcb30
examples [2014/07/29 14:31]
robinsmidsrod
Line 5: Line 5:
 There are plenty of examples of complete solutions built around iPXE; this page provides links to examples that you may find useful. There are plenty of examples of complete solutions built around iPXE; this page provides links to examples that you may find useful.
  
-===== PXE dispatcher ​=====+===== Extensive iPXE menu example ​=====
  
-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 systemsThis specific piece of code has been superseded by a solution using only iPXE scripting ​mentioned below.+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}}
- 
-===== 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. 
  
 ===== Using chainloading to improve the feature set of iPXE ===== ===== Using chainloading to improve the feature set of iPXE =====
Line 22: Line 18:
  
 The default Ctrl-B prompt you get at startup is not always the most user-friendly way to choose which network card should be booted. The example at https://​gist.github.com/​robinsmidsrod/​3871687 shows how you can embed a script that will open up a menu that allows you to choose which network card to boot without having to type anything, while also allowing a sane default after a timeout value. The default Ctrl-B prompt you get at startup is not always the most user-friendly way to choose which network card should be booted. The example at https://​gist.github.com/​robinsmidsrod/​3871687 shows how you can embed a script that will open up a menu that allows you to choose which network card to boot without having to type anything, while also allowing a sane default after a timeout value.
 +
 +===== 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 above.
  
 ===== Building ipxelinux.0 ===== ===== Building ipxelinux.0 =====
Line 29: Line 29:
 ===== Booting from public mirrors using checksummed binaries ===== ===== Booting from public mirrors using checksummed binaries =====
  
-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.+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.
  
examples.txt · Last modified: 2015/09/30 20:28 by robinsmidsrod
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.