[ipxe-devel] UEFI Boot ISO

Dean Westhead dean at westhead.net
Wed Jan 18 10:48:55 UTC 2017

Hi Christian,

Thanks for this .... I am slowly geeting the hang of where everything is !

I have tried the method you suggested. The first two commands built with no errors etc, but the last command doesnt seem to work for eiso media.

I get an error message saying :

make: *** No rule to make target `bin/ipxe.eiso'.  Stop.

Do I need to enable this eiso type of media first ?



----- Original Message -----
From: "Christian Hesse" <list at eworm.de>
To: "Dean Westhead" <dean at westhead.net>
Cc: "ipxe-devel" <ipxe-devel at lists.ipxe.org>
Sent: Tuesday, 17 January, 2017 13:17:31
Subject: Re: [ipxe-devel] UEFI Boot ISO

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


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);}

More information about the ipxe-devel mailing list