Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created May 22, 2012 14:26
Show Gist options
  • Save robinsmidsrod/2769396 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/2769396 to your computer and use it in GitHub Desktop.
Booting the VMware installer manually using iPXE multiboot support
# Based on details from http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.upgrade.doc_50%2FGUID-2F0D4696-3681-4C13-9552-5280C6406376.html
set base-url http://XXX.XXX.XXX.XXX/
kernel ${base-url}tboot.b00
imgargs tboot.b00 ks=${base-url}ks.cfg
module ${base-url}b.b00
module ${base-url}useropts.gz
module ${base-url}k.b00
module ${base-url}a.b00
module ${base-url}s.v00
module ${base-url}weaselin.v00
module ${base-url}tools.t00
module ${base-url}imgdb.tgz
module ${base-url}imgpayld.tgz
boot
@yixuan178
Copy link

Hello Robin,
When I try to load esxi 5.1 through ipxe, follow your script, it will hang at 'boot'. Any idea?

@robinsmidsrod
Copy link
Author

I notice there are 9 multiboot modules there, but the limit (compile-time) in iPXE is 8. You need to increase it to a higher number and recompile. Change MAX_MODULES in https://git.ipxe.org/ipxe.git/blob/HEAD:/src/arch/i386/image/multiboot.c#l46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment