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:[email protected]] Sent: Saturday, January 16, 2010 3:39 PM To: Sivakumar Subramani Cc: [email protected] 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/[email protected]/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 _______________________________________________ gPXE mailing list [email protected] http://etherboot.org/mailman/listinfo/gpxe
