This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
embed [2011/12/02 21:42] mcb30 |
embed [2011/12/02 21:42] mcb30 |
||
---|---|---|---|
Line 53: | Line 53: | ||
initrd myscript.ipxe | initrd myscript.ipxe | ||
- | This uses a standard version of the iPXE binary ''ipxe.lkrn''. You can change the embedded script by editing the ''myscript.ipxe'' file, with no need to rebuild the iPXE binary. The ''myscript.ipxe'' file is a plain iPXE script file; there is no need to use a tool such as ''mkinitrd''. | + | This uses a standard version of the iPXE binary ''ipxe.lkrn''. The ''myscript.ipxe'' file is a plain iPXE script file; there is no need to use a tool such as ''mkinitrd''. |
+ | |||
+ | You can change the embedded script by editing the ''myscript.ipxe'' file, with no need to rebuild the iPXE binary. | ||
This method works only with iPXE binary formats that support an initrd, such as ''.lkrn''. | This method works only with iPXE binary formats that support an initrd, such as ''.lkrn''. |