Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESXi 5.5 Install (via iPXE using Razor) - Failed to free base memory
2014-08-08, 13:41 (This post was last modified: 2014-08-11 14:02 by onxis.)
Post: #3
RE: ESXi 5.5 Install (via iPXE using Razor) - Failed to free base memory
(2014-08-08 08:53)robinsmidsrod Wrote:  From what I know that error message is not coming from iPXE, but probably some part of ESXi. Could you paste the iPXE script that is used to boot up the ESXi installer? That might make it possible for us to understand what's going on.

As requested...

<snip>

accepteula
install --firstdisk=local --overwritevmfs
rootpw vmware123
reboot

%include /tmp/networkconfig


%pre --interpreter=busybox


wget <%= stage_done_url("kickstart") %>
</snip>

Also, prior to the above.

root@BM1-QVSL-RAZR-03-001:~/razor-server/tasks/vmware_esxi.task# more pxelinux_esxi.cfg.erb
DEFAULT esxi
LABEL esxi
KERNEL <%= repo_url('/mboot.c32') %>
APPEND -c <%= file_url('boot.cfg') %>
IPAPPEND 2
root@BM1-QVSL-RAZR-03-001:~/razor-server/tasks/vmware_esxi.task# more boot.cfg.erb
<%=
# This code finds the `boot.cfg` file in the repository, parses it, and
# makes a set of modifications intended to make it net-boot from Razor.
#
# I chose this path because the boot.cfg file varies between releases of
# ESXi (such as 5.0 to 5.5), and could quite legitimately vary between
# smaller jumps than that -- after all, it is inside their boot loader,
# and they can change the construction of the installer CD without
# breaking anything...
#
# The alternative was to copy in the boot.cfg, modify it the way this code
# will do on the fly, and then use that. That is actually the exact
# process documented for setting up ESXi PXE boot -- statically make this
# change -- too.
#
# Given the changes are purely mechanical and well understood, this will
# do for the majority of cases without the risk / cost that a slight
# variant in the CD breaks everything, I think. --daniel 2013-10-14
(File.read(repo_file('/boot.cfg')) rescue '').split("\n").map do |line|
case line
when /^kernel=/
'kernel=' + repo_url(line.sub('kernel=', ''))
when /^modules=/
line.gsub('/', repo_url('/'))
when /^kernelopt=/
"kernelopt=ks=#{file_url('ks.cfg')}"
else
line
end
end.join("\n")
%>
root@BM1-QVSL-RAZR-03-001:~/razor-server/tasks/vmware_esxi.task#


I have some screenshots (PNG), but they don't like being uploaded for some reason. The ESXi installer yellow progress bare gets almost the end before it craps out.

For anyone wishing further topology data, I have a network diagram that shows L2/L3 details and such.

Thanks for any feedback on this!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ESXi 5.5 Install (via iPXE using Razor) - Failed to free base memory - onxis - 2014-08-08 13:41



User(s) browsing this thread: 3 Guest(s)