[gPXE] Wrapped kernel loads but won't execute

Stefan Hajnoczi stefanha at gmail.com
Tue Mar 16 10:58:10 EDT 2010


On Tue, Mar 16, 2010 at 2:23 PM, Hogben, Colin H
<Colin.Hogben at ccfe.ac.uk> wrote:
> The ultimate aim is to mount the root partition over NFS; but I

Mainline gPXE does not have NFS support but I have patches here:

http://git.etherboot.org/?p=people/stefanha/gpxe.git;a=commit;h=89007585c623f9c291e3ddac194616d8b9321a67

I am not 100% happy with the code and haven't had time.  However, the
code is functional for NFSv3 TCP booting.

> * used wraplinux to create ELF file from same vmlinuz, initrd and
>  kernel options as used by grub

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

Stefan


More information about the gPXE mailing list