Re: [Etherboot-discuss] gpxe and vmware
Brought to you by:
marty_connor,
stefanhajnoczi
From: Michael B. <mb...@fe...> - 2009-04-18 14:19:09
|
On Friday 17 April 2009 20:56:23 Luca wrote: > #!gpxe > > kernel -n mboot.c32 mboot.c32 > imgfetch -n vmkernel.gz vmkernel.gz > imgfetch -n binmod.tgz binmod.tgz > imgfetch -n environ.tgz environ.tgz > imgfetch -n cim.tgz cim.tgz > imgfetch -n oem.tgz oem.tgz > imgfetch -n license.tgz license.tgz > imgargs mboot.c32 vmkernel.tgz --- binmod.tgz --- environ.tgz --- cim.tgz > --- oem.tgz --- license.tgz > boot mboot.c32 > > but I get an error "ELF load segment runs off the end of the file" which a > guess is a mboot.c32's error. > > Has anyone tried to boot ESXi via gPXE? Can anyone give me a hint? Thanks a > lot!!! I haven't tried, but one option for debugging would be to eliminate mboot.c32 and use gPXE's Multiboot support natively. You could do this with a script such as #!gpxe kernel vmkernel module binmod.tgz module environ.tgz module cim.tgz module oem.tgz module license.tgz boot (note that vmkernel probably needs to be uncompressed, unless the vmkernel.gz file really *is* already a valid Multiboot kernel). If you hit problems with that, then building gPXE with DEBUG=multiboot should give some diagnostics. Michael |