* kexec-tools not loading iPXE zImage
@ 2012-10-30 0:49 Joshua Jensen
2012-10-30 4:14 ` Eric W. Biederman
0 siblings, 1 reply; 2+ messages in thread
From: Joshua Jensen @ 2012-10-30 0:49 UTC (permalink / raw)
To: kexec
I'm having an issue with kexec not being able to load a freshly compiled
ipxe.lkrn file, even though it is a zImage:
# file ipxe.lkrn
ipxe.lkrn: Linux kernel x86 boot executable zImage, version \353FHdrS\007\002,RW-
rootFS,
# kexec -l ipxe.lkrn
Cannot determine the file type of ipxe.lkrn
Any ideas? Is there any way to determine where the error is, with the ipxe.lkrn
file or kexec ?
Thank you,
Joshua
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kexec-tools not loading iPXE zImage
2012-10-30 0:49 kexec-tools not loading iPXE zImage Joshua Jensen
@ 2012-10-30 4:14 ` Eric W. Biederman
0 siblings, 0 replies; 2+ messages in thread
From: Eric W. Biederman @ 2012-10-30 4:14 UTC (permalink / raw)
To: Joshua Jensen; +Cc: kexec
Joshua Jensen <joshua@joshuajensen.org> writes:
> I'm having an issue with kexec not being able to load a freshly compiled
> ipxe.lkrn file, even though it is a zImage:
>
>
> # file ipxe.lkrn
> ipxe.lkrn: Linux kernel x86 boot executable zImage, version \353FHdrS\007\002,RW-
> rootFS,
>
> # kexec -l ipxe.lkrn
> Cannot determine the file type of ipxe.lkrn
>
>
> Any ideas? Is there any way to determine where the error is, with the ipxe.lkrn
> file or kexec ?
Use the source?
My guess is that ipxe.lkrn uses a very old version of the x86 boot
protocol.
Doing what you are doing is a bit iffy if the version of ipxe you are
building depends upon BIOS calls.
It used to be possible to build a .elf version of etherboot that was
bootable via linuxbios and depended on no BIOS calls, and that should
work if the code survived the great gutting of etherboot.
Although this does seem a bit of a round about way to get something
done, loading a more limited bootloader from what is essentially a more
featureful bootloader.
Eric
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-30 4:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30 0:49 kexec-tools not loading iPXE zImage Joshua Jensen
2012-10-30 4:14 ` Eric W. Biederman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.