[ipxe-devel] Error : "invalid magic number"

Christian Hesse list at eworm.de
Sat May 19 11:24:49 UTC 2012


Tejas Upadhyay <upadhyay61 at gmail.com> on Fri, 2012/05/18 15:40:
> Hello.bin is file generated by compiling by hello.c demo file, which is
> having just one print saying "hello world".

Is this related to iPXE in any way?

To help you it could be useful to have your hello.c source code.
My suggestion: It does not use Linux kernel boot code but multiboot
specification. Try booting with 'multiboot boot/hello.bin'.
-- 
main(a,b){char*/*    Schoene Gruesse                         */c="B?IJj;M"
"EHCX:;";for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}



More information about the ipxe-devel mailing list