<div style="font-family:Calibri, Arial, Helvetica, sans-serif; font-size:12.0pt; line-height:1.3; color:#1F497D"><!-- ##### NINE BODY BEGIN ##### --><div>Hi, <br><br>Unless I am missing g something, that patch allows an ISO to be built that will boot on an EFI configured system... And I have applied the patch and created that successfully. <br><br>Unfortunately that same ISO will not boot on a BIOS configured system.... Unless I am missing something in the patch. <br><br>I have to build a second ISO to boot from a BIOS system.... And that ISO will not boot on an EFI system. <br><br>Is there an option somewhere to build one ISO that boots on both? <br><br>Dean. <br><br></div><div><br></div><div id="signature-x" style="-webkit-user-select:none; font-family:Calibri, Arial, Helvetica, sans-serif; font-size:12.0pt; color:#1F497D" class = "signature_editor">Sent from <a href="http://www.9folders.com/" style="text-decoration:none;color:#009BDF">Nine</a><br></div><!-- ##### NINE BODY END ##### --></div><div class="quoted_output_body"><div id="quoted_header" class="quoted_header_editor" style="clear:both;"><hr style="border:none; height:1px; color:#E1E1E1; background-color:#E1E1E1;"/><div style="border:none; padding:3.0pt 0cm 0cm 0cm"><span style="font-size:11.0pt;font-family:Calibri, Arial, Helvetica, sans-serif"><b>From:</b> Christian Nilsson <nikize@gmail.com><br><b>Sent:</b> 29 Jan 2017 19:41<br><b>To:</b> Dean Westhead<br><b>Cc:</b> James A. Peltier; ipxe-devel<br><b>Subject:</b> Re: [ipxe-devel] Addendum [was Re: Dual BIOS and EFI boot ISO]<br></span></div></div><br type='attribution'><div id="quoted_body" class="quoted_body_editor"><p dir="ltr">Didn't Christian Hesse already point you to a possible patch to do
<br>
this?: https://github.com/ipxe/ipxe/pull/50
<br>
<br>
It is true that you will need 2 different ipxe binaries embeded into
<br>
the iso (one for pcbios and one for efi)
<br>
However the above patch does just that, with the gotcha that each of
<br>
the binaries must be built first (the build dependency does not yet
<br>
work for this build target)
<br>
<br>
On Sun, Jan 29, 2017 at 8:36 PM, Dean Westhead <dean@westhead.net> wrote:
<br>
> Hi James,
<br>
>
<br>
> Yes that is exactly what I am trying to do.
<br>
>
<br>
> I must admit that I have no idea how Centos (or the other distributions), do
<br>
> this.
<br>
>
<br>
> Dean.
<br>
>
<br>
> Sent from Nine
<br>
> ________________________________
<br>
> From: "James A. Peltier" <jpeltier@sfu.ca>
<br>
> Sent: 29 Jan 2017 18:28
<br>
> To: Dean Westhead
<br>
> Cc: Oliver Rath; ipxe-devel
<br>
> Subject: Re: [ipxe-devel] Addendum [was Re: Dual BIOS and EFI boot ISO]
<br>
>
<br>
> You are trying to create an ISO image that supports both BIOS and UEFI boot
<br>
> modes, similar to how a CentOS 7 ISO image is able to boot both. This is
<br>
> not possible given how iPXE currently creates it's ISO images. As far as I
<br>
> am aware, the ISOs to not contain relocatable code that can allow for a
<br>
> unified entry point for both platforms. Perhaps I am wrong in this, but I
<br>
> don't see any way to do it currently.
<br>
>
<br>
> ----- On 29 Jan, 2017, at 01:18, Dean Westhead <dean@westhead.net> wrote:
<br>
>
<br>
> Hi Oliver,
<br>
>
<br>
> Thanks for that info.
<br>
>
<br>
> have already done that part and the BIOS ISO and the EFI ISO works fine and
<br>
> boots and detects what system it is on etc.
<br>
>
<br>
> The problem I have is the part that in that forum that states :
<br>
>
<br>
> "But as far as the iPXE Binary goes, you need to go up one level to the DHCP
<br>
> server"
<br>
>
<br>
> The problem I have is that in our server environment, we dont use DHCP ...
<br>
> everything has a static IP.
<br>
>
<br>
> That is not a problem with iPXE .... I have an embeded script that when the
<br>
> ISO is booted it opens a console and asks the user for the IP, subnet mask,
<br>
> gateway and DNS server. It then uses this
<br>
> info to open the NIC, connect to the network and chain the menus etc from
<br>
> our central build server.
<br>
>
<br>
> This all works fine if I boot either the BIOS ISO or the EFI ISO and the
<br>
> servers build fine depending on which environment they are booted into.
<br>
>
<br>
> What I am now trying to do is not have two different ISO's .... one for BIOS
<br>
> and one for EFI.
<br>
>
<br>
> I would like to boot one ISO and that ISO will detect and run either the
<br>
> BIOS boot sequence or the EFI sequence. I basically need an ISO that will
<br>
> boot and do the function of the DHCP server by loading the correct iPXE
<br>
> binary for either
<br>
> BIOS or EFI.
<br>
>
<br>
> This may not be possible but so far I have not found anything that iPXE
<br>
> couldnt do !
<br>
>
<br>
> Thanks.
<br>
>
<br>
> Dean.
<br>
>
<br>
>
<br>
>
<br>
> ________________________________
<br>
> From: "Oliver Rath" <oliver@greenunit.de>
<br>
> To: "ipxe-devel" <ipxe-devel@lists.ipxe.org>
<br>
> Sent: Sunday, 29 January, 2017 07:12:51
<br>
> Subject: [ipxe-devel] Addendum [was Re: Dual BIOS and EFI boot ISO]
<br>
>
<br>
> Hi Dean,
<br>
>
<br>
> you can also use the DHCP Client Architecture option (code 93) will indicate
<br>
> the client architecture as specified by RFC 4578, see the NOTES here:
<br>
> http://www.ipxe.org/cfg/platform
<br>
>
<br>
> Hth,
<br>
>
<br>
> Oliver
<br>
>
<br>
>
<br>
> On 28.01.2017 20:32, Dean Westhead wrote:
<br>
>
<br>
> Hi,
<br>
>
<br>
> I am able to create an iPXE BIOS bootable iso and a iPXE EFI bootable ISO
<br>
> ... is there a way to create one ISO that will boot on both environments and
<br>
> detect which one needs booting ?
<br>
>
<br>
> I know that the major linux distributions do this with their build media but
<br>
> is this possible with the iPXE ?
<br>
>
<br>
> Thanks.
<br>
>
<br>
> Dean.
<br>
>
<br>
>
<br>
>
<br>
> _______________________________________________
<br>
> ipxe-devel mailing list
<br>
> ipxe-devel@lists.ipxe.org
<br>
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
<br>
>
<br>
>
<br>
>
<br>
> _______________________________________________
<br>
> ipxe-devel mailing list
<br>
> ipxe-devel@lists.ipxe.org
<br>
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
<br>
>
<br>
>
<br>
> _______________________________________________
<br>
> ipxe-devel mailing list
<br>
> ipxe-devel@lists.ipxe.org
<br>
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
<br>
>
<br>
>
<br>
> --
<br>
> James A. Peltier
<br>
> IT Services - Research Computing Group
<br>
> Simon Fraser University - Burnaby Campus
<br>
> Phone : 604-365-6432
<br>
> Fax : 778-782-3045
<br>
> E-Mail : jpeltier@sfu.ca
<br>
> Website : http://www.sfu.ca/itservices
<br>
> Twitter : @sfu_rcg
<br>
> Powering Engagement Through Technology
<br>
>
<br>
> _______________________________________________
<br>
> ipxe-devel mailing list
<br>
> ipxe-devel@lists.ipxe.org
<br>
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
<br>
>
<br>
</p>
</div></div></div>