Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE as a chain-load target
2013-10-20, 10:00
Post: #2
RE: iPXE as a chain-load target
This is what the "scriptlet" feature does for you. You can load ipxe.lkrn just like any other Linux kernel from grub, and you can specify a command line. The command line is basically a mini-ipxe-script. The most common way to use this feature is like this:

Code:
# Syslinux syntax, can't recall grub syntax
KERNEL ipxe.lkrn
APPEND dhcp && chain http://myserver/boot.ipxe

If you're want to just boot a custom script for each type of ISO you have, then you could do something like this:

Code:
# Syslinux syntax, can't recall grub syntax
KERNEL ipxe.lkrn
APPEND dhcp && chain http://myserver/hiren.ipxe

or you could let boot.ipxe use a variable to boot everything using one script, like this:

Code:
# Syslinux syntax, can't recall grub syntax
KERNEL ipxe.lkrn
APPEND dhcp && set cd hiren && chain http://myserver/boot.ipxe
# in boot.ipxe
sanboot ${cd}.iso
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
iPXE as a chain-load target - thecoda - 2013-10-16, 09:56
RE: iPXE as a chain-load target - robinsmidsrod - 2013-10-20 10:00



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