iPXE discussion forum
Booting from ISO with embedded script is not working - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Booting from ISO with embedded script is not working (/showthread.php?tid=8138)



Booting from ISO with embedded script is not working - lycis - 2016-07-22 10:36

Hi,

I searched the forums and the web for my issue but I could not find any working advice, so I'm posting my issue here. Maybe some of you folks are able to help me:

I'm compiling iPXE into an ISO that I use for booting a Virtualbox VM. When I compile without an embedded script everything works fine and iPXE starts and I can also enter the interactive console.

As soon as I compile with
Code:
make bin/pxe.iso EMBED=bootscript.pxe
I get stuck with the following output on booting:

Code:
ISOLINUX 6.03 20151222 ETCD Copyright (C) 1994-2014 H. Peter Anvin et al
iPXE ISO boot image
Loading ipxe.krn... ok

After that output nothing happens. The bootscript.pxe I use only contains these lines:
Code:
#!ipxe
echo Booting...

For some background: I use XUbuntu 16.04 LTS to compile.

I think I'm missing something here that I should do Smile

Thanks!


RE: Booting from ISO with embedded script is not working - NiKiZe - 2016-08-02 18:50

(2016-07-22 10:36)lycis Wrote:  The bootscript.pxe I use only contains these lines:
Code:
#!ipxe
echo Booting...

Are you absolutely sure there is no char in the beginin, such as BOM or similar.

you can test building with
Code:
make bin/pxe.iso EMBED=bootscript.pxe DEBUG=script

Which should tell you what the script does.