Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
boot using your example
2019-03-17, 10:49
Post: #1
boot using your example
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
Find all posts by this user
Quote this message in a reply
2019-03-18, 00:59
Post: #2
RE: boot using your example
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.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)