====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
httpboot [2010/01/31 11:13] mdc |
httpboot [2010/10/14 04:39] (current) dali |
||
---|---|---|---|
Line 31: | Line 31: | ||
The 'chain' command above will be expanded by gPXE to: | The 'chain' command above will be expanded by gPXE to: | ||
- | chain http://webserver.com/pxelinux.0 | + | chain http://example.com/pxelinux.0 |
and the chained-to PXELINUX will look for its configuration file using the 210 prefix. | and the chained-to PXELINUX will look for its configuration file using the 210 prefix. | ||
All relative paths specified in the PXELINUX configuration file will also have this prefix | All relative paths specified in the PXELINUX configuration file will also have this prefix | ||
prepended to them. | prepended to them. | ||
+ | ===== Using gpxelinux.0 ===== | ||
+ | |||
+ | Since SYSLINUX 3.85 there is also the option of using gpxelinux.0 with pxelinux.0 embedded, example: | ||
+ | <code text> | ||
+ | #!gpxe | ||
+ | echo Performing DHCP on first network interface | ||
+ | dhcp net0 | ||
+ | set 209:string pxelinux.cfg/default | ||
+ | set 210:string http://example.com/ | ||
+ | imgload pxelinux.0 | ||
+ | boot pxelinux.0 | ||
+ | </code> | ||