[syslinux] Availability of a variable of the TFTP server IPaddressto be used in pxelinux.cfg/default

Miller, Shao Shao.Miller at yrdsb.edu.on.ca
Fri Mar 26 05:52:03 PDT 2010


Good day again Michael,

You might potentially be interested in linux.c32, as well.  Whether you
use IPAPPEND or linux.c32, either way I believe that you have to
customize the distro to make use of the passed parameters.

If you take a look at syslinux/com32/modules/linux.c, you will see that
this COMBOOT32 module accepts "-dhcpinfo" as an argument.  The behaviour
here is that linux.c32 will dynamically append a "dhcpinfo.dat" file to
the initramfs.  Like /proc/cmdline, you can then access this information
from the Linux' startup processes.

LABEL foo
  COM32 linux.c32
  INITRD my_initrd
  APPEND -dhcpinfo vmlinuz some kernel arguments

- Shao Miller




More information about the Syslinux mailing list