[gPXE] Wrapped kernel loads but won't execute

Hogben, Colin H Colin.Hogben at ccfe.ac.uk
Tue Mar 16 11:46:32 EDT 2010


Stefan Hajnoczi wrote:

> You don't need to use wraplinux.  gPXE has support for the bzImage
> format that Linux kernels use.
> 
> Try booting a script like this one:
> #!gpxe
> kernel tftp://145.239.198.49//jetlinks/ss/tftpboot/vmlinuz-2.6.18-1.2798.fc6
> ro root=/dev/VolGroup00/LogVol00 console=tty0 console=ttyS0,9600
> initrd tftp://145.239.198.49//jetlinks/ss/tftpboot/initrd-2.6.18-1.2798.fc6.img
> boot

and M. Braun wrote:

 > You can either embed the script if you're compiling gpxe yourself or
 > deliver a gpxe script via tftp script

Thanks guys, I hadn't twigged that you could use a script like that to 
load kernel and initrd from the same tftp server.  I tried it and it 
worked a treat.

As a lecturer once told me, "All problems in computer science can be 
solved by adding an extra level of indirection" :-)
-- 
Colin


More information about the gPXE mailing list