iPXE discussion forum

Full Version: How to build ipxelinux.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've tried to follow the instructions here https://coderwall.com/p/0sq9gg/how-to-build-ipxelinux-0 for building ipxelinux.0 but keep getting failures at every stage.

Is there a recommended Linux distribution where I can run

git clone git://git.ipxe.org/ipxe.git
git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git

cd syslinux
make


and avoid getting constant missing headers and suchlike?

Ideally I 'd like to run this on FreeBSD but it looks as though the makefiles aren't compatible with FreeBSD's build system.
(2016-02-11 19:13)balanga Wrote: [ -> ]I've tried to follow the instructions here https://coderwall.com/p/0sq9gg/how-to-build-ipxelinux-0 for building ipxelinux.0 but keep getting failures at every stage.

Is there a recommended Linux distribution where I can run

git clone git://git.ipxe.org/ipxe.git
git clone git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git

cd syslinux
make


and avoid getting constant missing headers and suchlike?

Ideally I 'd like to run this on FreeBSD but it looks as though the makefiles aren't compatible with FreeBSD's build system.

Does

Code:
git clone git://git.ipxe.org/ipxe.git
cd ipxe/src
make

Work without any problem? if not what is the output?

any recent linux should work, you could probably even use systemrescuecd or just a minimal gentoo stage3

(Creating a minimal, clean, public, ipxe bootable environment for building ipxe is still on my todo list)
(2016-02-11 21:46)NiKiZe Wrote: [ -> ]Does

Code:
git clone git://git.ipxe.org/ipxe.git
cd ipxe/src
make

Work without any problem? if not what is the output?

any recent linux should work, you could probably even use systemrescuecd or just a minimal gentoo stage3

(Creating a minimal, clean, public, ipxe bootable environment for building ipxe is still on my todo list)

That did work and I managed to create ipxe.pxe, ipxe.iso, ipxe.usb, ipxe.lkrn, ipxe.dsk.

I'm not sure what any of them do but I put the ipxe.pxe in the root path of my tftp server.
ipxe.pxe did boot but then stopped with:-

Code:
Next server: 192.168.1.1
Filename: ipxe.pxe
Root path: tftpboot
Ignoring unsupported root path
tftp://192.168.1.1/ipxe.pxe... ok
ipxe.pxe : 306366 bytes [PXE-NBP]

The root path provided worked fine with PXELINUX.

I was, however, able to get to an ipxe prompt and boot using http://boot.ipxe.org/demo/boot.php
Reference URL's