[gPXE] Regarding multiple card and multiple gpxe rom image.

Stefan Hajnoczi stefanha at gmail.com
Sat Jan 16 18:39:13 EST 2010


There is no clean way to do this, but you could embed a gPXE script
into each option ROM.  The script would dhcp and boot from that
particular adapter only:
#!gpxe
dhcp net0
chain ${filename}

However, this doesn't work in the general case.  Firstly, you need a
unique script for each physical network device since the "net0",
"net1", etc name is hardcoded.  Secondly, you lose the ability to
sanboot (or if you change the chain command to "sanboot ${root-path}"
then you lose the ability to boot a file).  gPXE scripts currently
cannot express a solution in a general enough way.

This boot behavior limitation has been discussed recently in another
mailing list thread.  I outlined how to implement a solution for
option ROMs:

http://www.mail-archive.com/gpxe@etherboot.org/msg00186.html

I am not aware of an active effort to implement this change.  If you
need this change, there are gPXE developers who are available for
funded work.

Stefan


More information about the gPXE mailing list