The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building ipxe with embedded script results in invalid image
2016-02-09, 20:22
Post: #1
Building ipxe with embedded script results in invalid image
Hi

I'm trying to boot an aoe disk from a diskless laptop.
I'm using PXE boot to load ipxe.

file: /tftpboot/pxelinux.cfg/default
LABEL ipxe
MENU LABEL iPXE - chainload iPXE
KERNEL ipxe/undionly.kpxe

After Ctrl+B I manually run the commands dhcp && sanboot aoe:e0.0
and the system boots up fine.

Now i would like to do this via an embedded script:
file: myscript.ipxe
#!ipxe
dhcp net0
sanboot aoe:e0.0

So I build the undionly.kpxe like this:
make undionly.kpxe EMBED=myscript.ipxe

Trying to boot the undionly.kpxe with embedded script results
in following error message:

Invalid or corrupt kernel image.

What else could I try from this point to get it booting without the need for typing commands?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Building ipxe with embedded script results in invalid image - testcs - 2016-02-09 20:22



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