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

Sivakumar Subramani Sivakumar.Subramani at neterion.com
Tue Jan 19 13:05:08 EST 2010


Hi Stefan,

Thanks for the information. It was really helpful. I add a check in init
section of romprefix.S file to satisfy my requirement.

Thanks,
~Siva
-----Original Message-----
From: Stefan Hajnoczi [mailto:stefanha at gmail.com] 
Sent: Saturday, January 16, 2010 3:39 PM
To: Sivakumar Subramani
Cc: gpxe at etherboot.org
Subject: Re: [gPXE] Regarding multiple card and multiple gpxe rom image.

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