[ipxe-devel] UEFI Boot ISO

Christian Hesse list at eworm.de
Tue Jan 17 13:17:31 UTC 2017


Dean Westhead <dean at westhead.net> on Tue, 2017/01/17 12:57:
> Hi, 
> 
> You may also get this email from my works address, but it is a Google Mail
> address so I wasn't sure if it would subscribe. 
> 
> This is the problem that I am having : 
> 
> We have a slightly strange setup which means that we dont have any DHCP on
> server VLAN's . 
> 
> I have been looking at using iPXE as the boot/build method and I have now
> got a working bootable ISO for BIOS machines. 
> 
> I have created a bootable ISO with an embedded script using the
> instructions on your website. The script opens the console and asks the
> user for the IP details of the new server to be built. It then sets these
> onto the selected NIC card, connects to the network and then pulls down
> pxelinux . cfg /default etc as normal. 
> 
> It all works great, and the bootable ISO is tiny compared to the way we
> were doing it ! 
> 
> The problem I am now facing is that the newer servers that we require to
> build want to be able to use the UEFI boot mode .... and my bootable ISO
> will no longer boot on them. 
> 
> Is there a way for me to do the same as above with the embeded script etc,
> but have the iPXE bootable ISO able to boot on a UEFI enabled server ? 

This has some issues when it comes to dependencies on the build system, but
once built it works just fine. You should run something like this:

make all
make bin-i386-efi/ipxe.efi bin-x86_64-efi/ipxe.efi
make bin/ipxe.eiso

https://github.com/eworm-de/ipxe/commit/189652b03032305a2db860e76fb58e81e3420c4d

Embedding a script should be straight forward.

Hope that helps...
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20170117/e0f066af/attachment.sig>


More information about the ipxe-devel mailing list