Building ipxe with embedded script results in invalid image
|
2016-02-16, 13:13
Post: #3
|
|||
|
|||
RE: Building ipxe with embedded script results in invalid image
Hi
Yes you are right I actually ran make bin/undionly.kpxe EMBED=myscript.ipxe me@darkstar:/install/ipxe# make bin/undionly.kpxe EMBED=myscript.ipxe [DEPS] crypto/privkey.c [DEPS] crypto/certstore.c [DEPS] image/embedded.c [BUILD] bin/__umoddi3.o [BUILD] bin/__udivdi3.o [BUILD] bin/__moddi3.o [BUILD] bin/memcpy.o [BUILD] bin/icc.o [BUILD] bin/__divdi3.o [BUILD] bin/__udivmoddi4.o [BUILD] bin/init.o [BUILD] bin/uart.o [BUILD] bin/null_reboot.o [BUILD] bin/lineconsole.o [BUILD] bin/base64.o [BUILD] bin/console.o [BUILD] bin/pool.o [BUILD] bin/getopt.o [BUILD] bin/device.o .......... [BUILD] bin/ehci.ids.o [BUILD] bin/hvm.ids.o [BUILD] bin/undi.ids.o [AR] bin/blib.a ar: creating bin/blib.a [HOSTCC] util/zbin [VERSION] bin/version.undionly.kpxe.o [LD] bin/undionly.kpxe.tmp [BIN] bin/undionly.kpxe.bin [ZINFO] bin/undionly.kpxe.zinfo [ZBIN] bin/undionly.kpxe.zbin [FINISH] bin/undionly.kpxe rm bin/undionly.kpxe.bin bin/version.undionly.kpxe.o bin/undionly.kpxe.zinfo bin/undionly.kpxe.zbin Copied the bin/undionly.kpxe to my /tftpboot/ipxe directory The /tftpboot/pxelinux.cfg/default file looks like this: DEFAULT menu.c32 PROMPT 0 TIMEOUT 1200 ONTIMEOUT local LABEL ipxe_aoe MENU LABEL iPXE - Boot AoE KERNEL ipxe/undionly.kpxe After all this I still get following error message: Invalid or corrupt kernel image. What I'm trying to do is to directly boot my diskless laptop over the network (pxe) then load ipxe which executes the needed commands to boot over aoe. If i build the undionly.kpxe without the embedded option that file works fine (no invalid kernel message). Of course in this case I have to use Ctrl+B and type in the needed commands. Also the other two methods shown in http://ipxe.org/embed refer to grub but I don't have/use grub - I don't even have a disk. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Building ipxe with embedded script results in invalid image - testcs - 2016-02-09, 20:22
RE: Building ipxe with embedded script results in invalid image - mcb30 - 2016-02-11, 16:09
RE: Building ipxe with embedded script results in invalid image - testcs - 2016-02-16 13:13
RE: Building ipxe with embedded script results in invalid image - NiKiZe - 2016-02-16, 22:21
|
User(s) browsing this thread: 1 Guest(s)