[gPXE] Opensolaris

Floris Bos bos at je-eigen-domein.nl
Tue Apr 20 10:02:04 EDT 2010


Hi,

On Tuesday, April 20, 2010 03:35:03 pm Stefan Hajnoczi wrote:
> On Tue, Apr 20, 2010 at 2:18 PM, Floris Bos <bos at je-eigen-domein.nl> wrote:
> > Does gpxe uncompresses or otherwise alters the ramdisk?
> 
> No, but I believe GRUB decompresses multiboot module.  Looks like the
> ramdisk is totally "corrupted" from Solaris' point of view when loaded
> via gPXE.

You are right.
grub is the one that is decompressing it, instead of gpxe.

I took a look at the Solaris code.
And it seems the Solaris message is wrong.
While they print "len" in the message, they actually mean "end address":

==
dboot_printf("\tmodule #%d: %s at: 0x%lx, len 0x%lx\n",
    i, (char *)(mod->mod_name),
   (ulong_t)mod->mod_start, (ulong_t)mod->mod_end);
==

end address - start address = indeed the compressed size with gpxe.


> Can you decompress the the boot archive manually and then try booting
> it via gPXE again?  Perhaps file(1) can confirm what type of
> compression this is but gunzip should be a good bet to try.

After uncompressing it (indeed gzip), end address - start address gives the 
same length as with pxegrub.
But still does not go any further, so it must be something else.


- Floris


More information about the gPXE mailing list