Discussion:
Gpxe and kexec
Guilherme Moro
2010-01-12 22:03:50 UTC
Permalink
Hello all,

I was trying to figure out if its possible to load gpxe using kexec.

But kexec says that dont recognize the format of the lkrn file (says that
its not a bzImage, its a zImage) , kexec try to look at the loadflags value
of the header of the "kernel" to see if its set (to see if its bzImage) ,
but gpxe doesn't set this value.

I cant simply set the loadflags to 1, because this will tell the bootloader
that I want to change the address of the protected mode code from 10000, to
100000.
( I have done that, and the machine hangs now)

But what exactly is the implication of this change, can anyone give me a way
to follow ?

What more needs changes if I set the loadflags ?

thanks.

Guilherme Moro
Stefan Hajnoczi
2010-01-12 22:18:58 UTC
Permalink
AFAIK no one has made gPXE work as a kexec payload yet. Whether or
not gPXE can run after being kexeced will depend on the state of BIOS
and hardware on your particular system. It would be neat to find out
:).

bzimage documentation:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/x86/boot.txt;h=30b43e1b26979cee024aa7636e250520b8ba235f;hb=HEAD

Stefan

Loading...