iPXE discussion forum
VMware VM stops working - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: VMware VM stops working (/showthread.php?tid=7974)



VMware VM stops working - badiane - 2016-02-29 21:07

I created a iPXE iso using the rom-o-matic site to allow me to manually configure the network interface so that the server can contact the cobbler server where tftp is running. It works on my local network but when I do it from the VM it shows the VMWare logo in the middle of the screen and then nothing happens.

When I look at the web server's log files I can it the requests:
[29/Feb/2016:14:16:51 -0500] "GET /tftp/pxelinux.0 HTTP/1.1" 200 17056 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:16:51 -0500] "GET /tftp/pxelinux.cfg/default HTTP/1.1" 200 2441 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:16:51 -0500] "GET /tftp/menu HTTP/1.1" 404 497 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:16:51 -0500] "GET /tftp/menu.cbt HTTP/1.1" 404 501 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:16:51 -0500] "GET /tftp/menu.0 HTTP/1.1" 404 499 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:16:51 -0500] "GET /tftp/menu.com HTTP/1.1" 404 501 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:16:51 -0500] "GET /tftp/menu.c32 HTTP/1.1" 200 55273 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:18 -0500] "GET /tftp/pxelinux.0 HTTP/1.1" 200 17056 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:19 -0500] "GET /tftp/pxelinux.cfg/default HTTP/1.1" 200 2441 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:19 -0500] "GET /tftp/menu HTTP/1.1" 404 497 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:19 -0500] "GET /tftp/menu.cbt HTTP/1.1" 404 501 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:19 -0500] "GET /tftp/menu.0 HTTP/1.1" 404 499 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:19 -0500] "GET /tftp/menu.com HTTP/1.1" 404 501 "-" "iPXE/1.0.0+"
[29/Feb/2016:14:18:19 -0500] "GET /tftp/menu.c32 HTTP/1.1" 200 55273 "-" "iPXE/1.0.0+"

It gets the pxelinux.0 file and then the default but something probably happens around after it receives the menu.c32 file. I have also noticed that if I don't provide the 209:string and there is matching MAC address it works. The 209:string value actually causes Virtualbox to die also.

could someone shed some light on this for me?

#!ipxe

:start
set version 0.22
echo <STUFF STUFF> loader v${version}
# goto dhcp || shell

menu --name repo Boot Options to reach Repo
item --menu repo --gap STUFF STUFF STUFF PXE Service
item --menu repo --gap
item --menu repo Static Static Configuration
item --menu repo Dhcp DHCP Configuration
item --menu repo start Return
choose --menu repo --default static --keep target
goto ${target}

:Static
echo Please enter the server's networking information:
imgfree
ifclose net0
echo -n IP : && read net0/ip
echo -n Subnet mask : && read net0/netmask
echo -n Gateway : && read net0/gateway
echo -n DNS : && read dns
ifopen net0
echo Attempting chainload of pxelinux.0 from Repo ...
goto pxelinux || goto start