Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
booting ipxe from pxelinux
2013-08-24, 18:10
Post: #6
RE: booting ipxe from pxelinux
I don't know if this will work, but you do have to add the APPEND line in order to add kernel arguments...

Code:
#Default.
KERNEL ipxe.lkrn
APPEND dhcp && chain http://10.10.10.10/NFW.ipxe

Now, embedding code into iPXE is simplicity itself:

your script:

Code:
#!ipxe
dhcp && chain http://10.10.10.10/NFW.ipxe
exit


as boot.ipxe

Then when compiling iPXE:

make bin/undionly.kpxe EMBED=boot.ipxe

If you want to use the full driver kernel, it is too large to boot on it's own, so you chainload the ipxe.pxe file... undionly.kpxe with an embedded script to chainload ipxe.pxe, and then ipxe.pxe with an embedded script to chainload NFW.ipxe

e.g.

make bin/undionly.kpxe EMBED=chain.ipxe
make bin/ipxe.pxe EMBED=boot.ipxe

your undionly script (chain.ipxe):

Code:
#!ipxe
dhcp && chain http://10.10.10.10/ipxe.pxe
exit


your ipxe.pxe script (boot.ipxe) :

Code:
#!ipxe
dhcp && chain http://10.10.10.10/NFW.ipxe
exit


make bin/undionly.kpxe EMBED=chain.ipxe
make bin/ipxe.pxe EMBED=boot.ipxe


Best,

Matt

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
booting ipxe from pxelinux - jwm77 - 2013-08-01, 21:43
RE: booting ipxe from pxelinux - MultimediaMan - 2013-08-24 18:10
RE: booting ipxe from pxelinux - ccy - 2013-10-18, 23:24
RE: booting ipxe from pxelinux - ccy - 2013-10-20, 11:58
RE: booting ipxe from pxelinux - ccy - 2013-10-21, 00:01



User(s) browsing this thread: 1 Guest(s)