Chainloading failed / boot looping
-
@Wayne-Workman said:
That said - I also understand that someone who doesn’t understand it already will be totally lost for how to set it up for additional architectures. So we do need more steps.
Maybe just add some text under step three to rinse wash as repeat for “PXEClient:Arch:00002”, “PXEClient:Arch:00006”, “PXEClient:Arch:00008” and “PXEClient:Arch:00009”. If you don’t read through the linux section, the windows admins would not know these values are also required. (and for full disclosure, I did not create them either. Will do now…)
-
@Sebastian-Roth said:
Again: Have you ever tried registering this MAC address in the FOG web interface by hand and scheduling an upload task for it? What happens when you PXE boot the client then? Picture or video of an error would be great. Otherwise I can only guess what’s going on.
Yes, the MAC is registered and an image task runs if/when set. It appears that if there’s no task it doesn’t go to the HD as the next option.
-
@gwhitfield said:
Yes, the MAC is registered and an image task runs if/when set. It appears that if there’s no task it doesn’t go to the HD as the next option.
That should be your exit condition. (i.e. sanboot, grub, exit, etc). Some systems have different exit conditions I’m sorry to say.
-
@george1421 - For the time being I decided to simplify and set the Policies to:
1: Arch=00000 (BIOS) - undionly.kpxe (works great)
2. Arch<>00000 (all other) - snponly.efi
I was hoping that this would tell anything not reporting as a BIOS machine to get the same boot file regardless of architecture. Doesn’t seem to have worked. -
@gwhitfield That won’t work for 32 bit UEFI systems.
-
@gwhitfield Yeah I agree with wayne, plus I don’t think wild card matches are supported. you have to spell out each one to get a match. No windows cheating here.
-
Hold horses. I just changed boot order to look at some image details and the VM won’t boot to the HD. I think my test VM got reverted to a BIOS image on a UEFI disk. I’m guessing that’s the explanation for chainloading failure. Reinstalling OS now, should know shortly…
-
@gwhitfield - Nope, not it. Correcting image on the disk didn’t change anything. However, at some point recently I stopped being prompted for the IP address and I hope that’s a good thing, I’m pretty sure that happened when I changed the DHCP policies. I remember with some of our older FOG machines we had to correct the chainloading by adding/editing some files. Is this possibly as simple as that ?? I did try all the different exit conditions and they all respond exactly the same way.
-
@gwhitfield - another output after reinstall OS and changing DHCP policy:
0_1456859580183_output2.pcap -
@gwhitfield Ok, the PCAP file looks good now from my point of view! DHCP setup correct now I reckon! Reading through the whole post again I think the exit type is the only issue you have on your VM really. Booting into a task works fine as you said. @george1421 Which exit type do you use on your ESXi 5.5??
So we can go back to see if you can get things working with you Dell E5550 as well. You know that you can set exit type for each host. So play with those settings! If you cannot make it work on the E5550 you can try other iPXE binaries (and setup you DHCP to hand out the binaries depending on the clients’ MAC address). Probably best to open a complete new discussion on PXE booting E5550 in UEFI mode if you can’t make it work right away.
-
@Sebastian-Roth
Funny, no matter what I set as my exit type, I see this as HD boot instruction:
“:fog.local
chain -ar ${boot-url}/service/ipxe/grub.exe --config-file=“rootnoverify (hd0);chainloader +1” || goto MENU”but when I look at Wayne’s upload I see this:
:fog.local
sanboot --no-describe --drive 0x80 || goto MENUI would expect to see a changed response each time I change exit type.
Edit: Actually, the parameters for boot only change when I change the BIOS exit type, they don’t change when I change the EFI exit type. Maybe I have a corrupt file of some sort?
-
This works for my VM - not that I understand why nor do I know if it’s a sign something is still wrong with my setup. My OS comes up if no tasks are pending and I am able to upload and deploy an image. Haven’t tried multicasting but I’m going with the assumption for now that it will work fine too. Current boot file is ipxe.efi but have also tested fine on snponly.efi and snp.efi.
I will work on the Dell E5550 laptop tomorrow and let you know what happens. THANK YOU EVERYONE!!! (Edit 3/2/16: E5550 works just fine)
-
@gwhitfield said:
I stopped being prompted for the IP address and I hope that’s a good thing, I’m pretty sure that happened when I changed the DHCP policies.
wiki hint: Under efi booting, if we are getting the ipxe kernel being delivered to the target computer but the ipxe kernel either doesn’t get the next server, boot file, or possibly an IP address we should dig into what architecture is being requested and what the dhcp server’s policy is configured to deliver. @Wayne-Workman
-
@gwhitfield said:
Maybe no need to re-invent the wheel, there’s a great video here:
Oh, I’m not reinventing anything. I’m documenting for FOG, not WDS.
You also need to keep in mind - all revenue generated for the FOG videos I make will be donated to the fog project. All wiki articles I write generates traffic to the fog site, which in turn generates revenue for FOG. It’s in the best interests of the FOG Project for me to produce documentation specific to FOG.
And no decent Open Source project would rely on documentation written for competing software. I won’t have people relying on a WDS oriented video to do something for FOG.
-
@gwhitfield ??? Maybe a little context here would help to clarify the last post? Possibly a response to a chat session?
-
@george1421 Nope, my bad. Unintentionally ticked off Wayne. Nothing more to tell, these aren’t the droids you’re looking for.
-
@gwhitfield Oh did I edit YOUR post??? crap sorry. How to undo that??
-
@george1421 said:
@gwhitfield said:
I stopped being prompted for the IP address and I hope that’s a good thing, I’m pretty sure that happened when I changed the DHCP policies.
wiki hint: Under efi booting, if we are getting the ipxe kernel being delivered to the target computer but the ipxe kernel either doesn’t get the next server, boot file, or possibly an IP address we should dig into what architecture is being requested and what the dhcp server’s policy is configured to deliver. @Wayne-Workman
Added a note: https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Step_3