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

Tejas Upadhyay upadhyay61 at gmail.com
Fri May 18 10:13:40 UTC 2012


I have application which generates .bin file. what is lkrn ipxe files?? how
should I get it, i have .bin file only?

On Fri, May 18, 2012 at 3:40 PM, Tejas Upadhyay <upadhyay61 at gmail.com>wrote:

> Hello.bin is file generated by compiling by hello.c demo file, which is
> having just one print saying "hello world".
>
>
> On Fri, May 18, 2012 at 3:11 PM, Ján ONDREJ (SAL) <ondrejj at salstar.sk>wrote:
>
>> What is hello.bin? In grub you should use lkrn ipxe files,
>> as bin/ipxe.lkrn file.
>>
>>                        SAL
>>
>> On Fri, May 18, 2012 at 09:34:54AM +0000, Tejas wrote:
>> > Hi All,
>> >
>> > I have compiled hello.bin and I want to run it through grub menu or
>> prompt. This
>> > is what I am doing :
>> > 1. putting hello.bin in /boot/ folder
>> > 2. on grub prompt : grub -> set root=(hd0,1)
>> >                     grub -> linux /boot/hello.bin
>> > 3. When it tries to run linux /boot/hello.bin I get following error :
>> >
>> > "invalid magic number".
>> >
>> >
>> > Can anybody suggest what can be wrong here?
>> >
>> > Thanks,
>> > Tejas
>> >
>> > _______________________________________________
>> > ipxe-devel mailing list
>> > ipxe-devel at lists.ipxe.org
>> > https://lists.ipxe.org/mailman/listinfo/ipxe-devel
>>
>
>
>
> --
> *Thanks,
>
> Tejas Upadhyay
> Embedded Software Engineer,
> Sibridge Tehnologies Pvt. Ltd.,
> Ahmedabad. (M) 9924938437*
>
>


-- 
*Thanks,

Tejas Upadhyay
Embedded Software Engineer,
Sibridge Tehnologies Pvt. Ltd.,
Ahmedabad. (M) 9924938437*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120518/5774483a/attachment.htm>


More information about the ipxe-devel mailing list