Re: ESX4i and gPXE boot

"Arends, R.R." <[email protected]> Fri, 18 Dec 2009 08:46:34 +0100
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
Oke i played around some more.
It doesn't seem to be a gpxe issue. 

Viswa, what did you want to aquire? Pxe booting esxi4 installation? Or just run esxi4 from pxe?
I followed this document from vmware: 
http://www.vmware.com/pdf/vsp_4_pxe_boot_esxi.pdf
and got both the installation of esxi and the live run of it to work from pxe.

My setup is as follows:
Intel pxe -> gpxelinux.0/pxelinux.0 -> menu -> "Mware ESXi 4.0 Update 1 (Live)" or "VMware ESXi 4.0 Update 1 (Installer)"

my menu entries:
**********************************
LABEL esxistart
MENU LABEL VMware ESXi 4.0 Update 1 (Live)
KERNEL com32/mboot.c32
APPEND live/vmware/vmkboot.gz --- live/vmware/vmk.gz --- live/vmware/sys.vgz --- live/vmware/cim.vgz --- live/vmware/oem.tgz --- live/vmware/license.tgz
IPAPPEND 2

LABEL esxiinstaller
MENU LABEL VMware ESXi 4.0 Update 1 (Installer)
LINUX com32/mboot.c32
APPEND install/vmware/vmkboot.gz --- install/vmware/vmkernel.gz --- install/vmware/sys.vgz --- install/vmware/cim.vgz --- install/vmware/ienviron.tgz --- install/vmware/image.tgz --- install/vmware/install.tgz

LABEL esxiinstalleriso
MENU LABEL VMware ESXi 4.0 Update 1 (Installer) iso
LINUX com32/memdisk
APPEND iso raw
INITRD install/vmware/esxi40update1.iso
**********************************

The above entries al seem to work now. Make sure you don't test it in a vm, or else it won't boot :). Apperently its not allowed to boot a hypervisor in a already hypervised machine, seems logical... 
Secondly make sure your processor supports 64bit.
And thirdly make sure you have enough ram :) (d0h)


Thanks stefanha for pointing me in directions on irc. 



- Rene



>>> On 16-12-2009 at 10:55, in message <[email protected]>, "Arends,
R.R." <[email protected]> wrote:
> Oke i can probably help performing a git-bisect, might need some help tho... i 
> will bug you on irc from nick: reni
> 
> I'm not sure on which version of gpxe the mboot chain worked tho. 
> It was my first try on adding in esxi now, and it failed. 
> 
> Maybe viswa can say more about that? 
> 
> It hangs on this:
> http://med.hro.nl/arerr/gpxeesxi.jpg 
> 
> For the record, i tried a memdisk boot with iso emulation of the esxi 4 iso 
> as well, and gives me a hang at the same moment.
> 
> LINUX com32/memdisk
> APPEND iso raw
> INITRD install/vmware/esxi40update1.iso
> 
> 
> Rene
> 
>>>> On 16-12-2009 at 10:42, in message
> <[email protected]>, Stefan Hajnoczi
> <[email protected]> wrote:
>> On Wed, Dec 16, 2009 at 8:56 AM, Arends, R.R. <[email protected]> wrote:
>>> Did you guys made any progress on the following? I came across the same 
>> issue now, when adding esxi 4 update 1 installation in pxelinux menu.
>>> Could i help testing?
>> 
>> I have no news from Viswa, only what is on list here.  It would be
>> great if you can perform the git-bisect.  When we have the result (the
>> gPXE commit which broke ESXi) we can double-check it for correctness
>> and probably understand the bug.
>> 
>> What is the known good version of ESXi and gPXE?  Which update
>> introduced this hang?
>> 
>> Stefan
> 
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Etherboot-discuss mailing list
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/etherboot-discuss


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev