iPXE discussion forum

Full Version: boot using your example
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I am newbie in iPXE, so I want to start from somewhere.
I have read documentation ( which is quite not clear for me, btw)

You mentioned your demo in many places, in example here:
http://ipxe.org/cmdline

I have VirtualBox with iPXE built in.
from iPXE prompt I typed in:
dhcp - got IP
route - see right route
show dns - ok
chain http://boot.ipxe.org/demo/boot.php
the optput is:
vmlinuz-3.16.0-rc4... ok
could not select: exec format error (http://ipxe.org/2e008001)
Could not boot: Exec format error (http://ipxe.org/2e008001)

I have try to build 64b as well as 32b machines, no difference

Please help me to resolve the issue or point me to any working example.
It is important for me to find the right solution for booting several physical boxes which will have built-in iPXE support.

Great thanks
Luk
If you follow the Url in the error message and check them of one by one, you will probably find that your Features line does not contain bzImage support

the iPXE in virtualbox is a limited version (mainly due to virtualbox still imposing a 64K limit on the ROM)
What you need to do is to detect your limited iPXE, load a full iPXE and than have your script run from there.

for an example how to do this via dhcp, with ISC dhcpd, see https://gist.github.com/robinsmidsrod/4008017
If you just want to do this manually then:
after dhcp
run chain http://boot.ipxe.org/ipxe.pxe
then press ctrl-b again and retype dhcp and the rest of your commands just like you did.
Reference URL's