Ask Your Question
0

RazorServer iPXE vmlinuz0 gets "Exec format Error"

asked 2015-04-22 05:37:54 -0500

conorO gravatar image

Hi,

I have installed Razor Server and dnsmasq inside a VirtualBox environment following the wiki steps for installation and getting started. My new virtual node boots and gets the DHCP proxy response and gets the bootstrap.ipxe file and then makes the /svc/boot request and gets the #!ipxe script. It then downloads the /svc/repomicrokernel/initrd0.img and /svc/repo/microkernel/vmlinuz0 files but then gets "Could not select: Exec format error ( http://ipxe.org/2e008001)" . I could see all this running tcpdump/wireshark on the razorserver.

I've tried downloading the microkernel again from "http://links.puppetlabs.com/razor-microkernel-latest.tar" and it all seems fine - the checksums are ok.

VirtualBox version is 4.3.26.

Any suggestions for how to debug further or where I might have gone wrong in the setup?

Thanks,

Conoro

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2015-04-26 15:50:18 -0500

conorO gravatar image

updated 2015-04-29 02:54:35 -0500

Hi,

Thanks for getting in touch. I've got past this step by installing the VirtualBox extension pack for 4.3.26 from https://www.virtualbox.org/wiki/Downl... . It now gets the microkernel and i've booted into the microkernel. Next steps are to configure some Razor policies to supply the node with a link to a real OS iso.

However...VirtualBox ipxe, even with the extension, seems to need manual intervention - warm reboots don't respond properly to the DHCP info so you have to power off/on during the installation.

Build the ipxe.dsk floppy and boot from floppy - this will go all the way with no intervention.

git clone git://git.ipxe.org/ipxe.git cd ipxe/src make bin/ipxe.dsk

On your virtualbox add the floppy by going to settings->storage->right click in the storage tree box->add floppy controller->add disk->choose disk->your ipxe.dsk.

You need a separate copy of the ipxe.dsk file for each machine.

Hope this helps,

Conoro

edit flag offensive delete link more

Comments

Ah that did it - thanks for updating this!

analbeard gravatar imageanalbeard ( 2015-04-27 02:54:19 -0500 )edit

Thanks for following up on this! I've added a note on the Common Problems and Solutions page of the FOSS wiki: https://github.com/puppetlabs/razor-server/wiki/Common-problems-and-solutions

smcclellan gravatar imagesmcclellan ( 2015-04-28 16:29:59 -0500 )edit
1

Good call. Here is something else to add ... VirtualBox ipxe, even with the extension, seems to need manual intervention - warm reboots don't respond properly to the DHCP info so you have to power off/on. Build the ipxe.dsk floppy and boot from floppy - this will go all the way with no intervention.

conorO gravatar imageconorO ( 2015-04-29 02:48:53 -0500 )edit
0

answered 2016-08-21 08:59:00 -0500

mike.r gravatar image

thanks for posting this, I had the same exact issue running VMs on Vbox 5.x

edit flag offensive delete link more
0

answered 2015-04-23 08:12:43 -0500

analbeard gravatar image

updated 2015-04-23 08:45:40 -0500

I'm afraid I cannot be of much help as I'm having exactly the same problem, same build of Virtualbox etc - I would be very interested to know the solution though!

One thing to note: 'Note: We’re finding that VirtualBox 4.3.6 gets to the point of downloading the microkernel from the Razor server and hangs at 0% indefinitely. We don’t have this problem with VirtualBox 4.2.22' (from https://docs.puppetlabs.com/pe/latest... )

I know it's not the same issue - but it does relate to PXE boot issues under this version of Virtualbox.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2015-04-22 05:37:54 -0500

Seen: 1,088 times

Last updated: Aug 21 '16