PXE Booting ESXI 6.7u2
-
@nexx34 Something isn’t right here.
The process is supposed to flow this way.
PXE rom requests dhcp boot options.
DHCP server gives {next-server} and {boot-file} setting to target computer.
Target computer downloads ipxe.efi
Target computer runs ipxe.efi (at this point you should see the ipxe.efi banner)
ipxe.efi chains to default.ipxe
default.ipxe then calls boot.php
boot.php should return the iPXE menu (you can view this menu by keying inhttp://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00
)
There is a line in the iPXE boot menu to load bg.png, but it has to have the iPXE menu to get that value.The just sits there part is confusing me. Lets have you post the iPXE menu using the path I provided. Lets see what it says. Post the results here in the thread.
-
@nexx34 said in PXE Booting ESXI 6.7u2:
what is making me wonder now is that afterfirst loading default.ipxe via tftp and the others (boot.php and bg.png) via http it all stops and nothing happens anymore, it just stays there.
Can you take a picture of the messages on screen and post here?
-
@george1421
I have now tested this all on a more recent motherboard that is three years old.
It worked in bringing me to the fog menu while having “uefi only” set for the LAN Boot option. Success!
However, it still gives me that good old http://ipxe.org/err/3e11616e error code which redirects to http://ipxe.org/err/3e1161.
This can be seen on my screenshot below:
Booting…
https://ibb.co/vk99pVH
Cleintmenu:
https://ibb.co/y5mqhzt
The infamous error:
https://ibb.co/MMsCKZ4@Sebastian-Roth
I linked the screenshots above, the dns address (my router) I get with <s> and <show dns> is correct by the way. -
@nexx34 In your infamous error picture, what is that character between 192 and nfs://?
Please post the parameters section of the FOG Menu for this iPXE menu.
-
Menu Item
os.esxi67u2Description
ESXI 6.7u2Parameters
kernel nfs://$192.168.1.16:/images/os/esxi/6.7u2/efi/boot/bootx64.efi -c nfs://$192.168.1.16:/images/os/esxi/6.7u2/efi/boot/boot.cfg
boot || goto MENUMenu Show with
Alll HostsThanks very much for your fast reply!
-
@nexx34 OK you have two ways to fix this.
-
Remove the $ symbol in front of the 192 in each occurrence of
$192
-
Remove the address and replace it with
${fog-ip}
where the iPXE menu will replace${fog-ip}
automatically with the IP address of the fog server.
-
-
@george1421
Oh god, that was it.
Thanks for your unbelievable patience, I hope you aren’t mad at me now.
The installer is booting. THANKS
You woudln’t believe how happy I am right now.
https://ibb.co/s3bV9PW
Now I just need to set up all the other images, what coud possibly go wrong? :^)
Again, thank you very much, @george1421 for your amazing help, and you too, @Sebastian-Roth . -
@nexx34 That is the reason why both Sebastian and I say that pictures are important in that they show not only the error, but the context around the error. Something simple like a dot, semicolon, or extra character here or there can bring down the entire system.
I’m glad you have it going and it show the flexibility of the FOG Project platform to do more than just its primary mission.
-
@george1421
Yes, I will take this to heart, next time I have a problem in the future I will post shots right off the bat.
And you are right, it is amazing what can be done with the project.
Is it ever planned to make pxe booting “easier”?
(Just asking for curiousity now, I read in another post, maybe it was even by you, that it is very much not desired to have something else other than the imaging aspect be developed to a major degree where it could detract from the former.) -
@nexx34 said in PXE Booting ESXI 6.7u2:
Is it ever planned to make pxe booting “easier”?
Can you explain what you mean by this? How could this be done, looking through your eyes? Just off the top of my head, there is always a sliding scale between easy to use and flexible to support most situations.
-
@george1421
I guess it was a dumb question.
I heard of things like “serva” (though I couldn’t even test them due to the horrible degree of trial-ware-ness the have) where you just put an iso in a directory. But I already understand that there are so many different isos and there is just no standard to them that it is impossible to have it universal. Maybe it’d be cool to have some sort of auto support for the most widespread things people want to PXE boot, but all it really hangs on for me is being able to properly follow instructions, as the wiki is already all that is needed. :^)
I don’t want to spam this thread with off-topic questions. Again, thank you. Awesome that it works now, I understand that there is a balance between simplicity and flexibility, I was just wondering a little.Have a great day.
-
@nexx34 said in PXE Booting ESXI 6.7u2:
Is it ever planned to make pxe booting “easier”?
Any suggestions are welcome.