Unable to Load bzImage
-
@george1421 When I am booting using option 67 on the DHCP server with the boot file undionly.kkpxe I have the laptop bios set to legacy so it is not using UEFI. So this is just the standard pxe boot process, it grabs the pxe file attempts to load but never loads the FOG ipxe menu. But when I am booting from the USB I have the bios set to UEFI and I am able to get the FOG ipxe menu. Sorry for any confusion but I hope that clears this up.
Now when I get the fog ipxe menu I have tired using two different USB to Ethernet dongles. One is a Asix AX88179 and the other is a D-Link DUB-E100. The D-link is a supported device and the Asix is not confirmed as working according to the wiki. But if I tried to run the registration with the D-Link connected it times out when trying to get the bzimage. The D-link also does not show any link like on the dongle when connected. When using the Asix it appears to connect but never downloads the bzimage.
I am completely fine testing and however much work it will take I am sure will be less than manually base configuring 100+ laptops.
-
@Erek-Beckman I’d recommend trying the ipxe.pxe file for the “legacy” system.
What file are you using for UEFI booting via the USB? (There shouldn’t necessarily be one but i imagine it just doesn’t know how to pass the information around.)
-
@Tom-Elliott I have tried the ipxe.pxe file while running the legacy boot option, but it seems to load but then just reboots into windows.
As for the UEFI USB booting I am using the ipxe.efi file pulled off of the FOG server. I followed the wiki for USB bootable media, I tried both the “easy way” and the “harder way” in the wiki. Both with the same result.
-
Lets pick just one mode (I understand you have a dual approach here).
Please help me understand this.
-
With the computer in legacy (bios) mode, the computer will pxe boot? At least it will attempt to download the iPXE kernel right? IF not where does it fail(exactly)? Pictures taken with a mobile speaks more than words because it lets us see messages relative to the error.
-
If you had your choice which mode would you want to work (bios or uefi)?
-
-
@george1421 Ok, in legacy mode and using the boot file ipxe.pxe it loads the file but then reboots into windows. I grabbed a video of the boot proccess as it moves to quick after loading the boot file to snap a pic.
Ideally I would just want to pxe boot using legacy in the bios so that I don’t need to use the thumb drive. I have tried pxe booting with uefi turned on but it never receives a DHCP address. So legacy is preferred.
Correction pxe booting with ipxe.pxe is when this happens.
-
@Erek-Beckman What I see is that the iPXE kernel starts to boot then aborts.
I want you to test to see if you can get one of the other iPXE kernels to boot.
Please try ipxe.kpxe, possibly intel.kpxe (you may need to try the kkpxe versions too).Just as a quick test update the dhcp option 67 to the different options. What I’m thinking is the undi driver (which uses part of the built in network card driver) may be causing it to abort. The undionly.kpxe driver by design uses the most of the onboard undi code. Where something like ipxe.kpxe uses the drivers built into the iPXE kernel. Understand this is just shooting in the dark, but you did mention that ipxe.efi did work, but you got a different error.
If you find one that boots, then we’ll work out a way to deliver the proper one to the right hardware. ipxe.kpxe is much larger than the undionly.kpxe kernel, so the ipxe.kpxe kernel will load slower, but should work for all of your current fleet too.
-
@george1421 Ok, yeah sorry I edited my last reply but it loads then aborts when using the ipxe.pxe file. It does this for all ipxe.xxxx files and for the intel files. Yesterday I ran through all of the boot files trying to pxe boot and they either load and abort or load and hang at initializing devices.
-
Ok, I fixed my issue with UEFI pxe booting any have tried all of the .efi boot files, snp and ipxe both pxe boot and load the ipxe fog menu. But again when I select full registration it goes to load the bzimage and hangs at 0%.
-
-
@Erek-Beckman whelp, on to plan
C
thenhttps://forums.fogproject.org/topic/7727/building-usb-booting-fos-image
I have the fos-usb.img image already created in dropbox or my google drive. Let me get that link. All you need to do is download the .img file and then follow the steps in part 2a (for linux or for windows) to burn the image into a usb flash drive. You should read the entire article so you know whats going on. But with this usb boot drive you will be able to boot bios or uefi systems into the FOS engine directly without using iPXE at all. There are a few caveats, in that you have to create a capture or deploy task before you boot with this usb stick since there isn’t the tight integration between FOS and the FOG server as there is when you iPXE boot.
-
Good News Everyone!!!
I was able to get ipxe.efi to work, got a new USB to Ethernet adapter. The client was able to load and run the full registration without issue.
USB Ethernet adapter that works is HP P/N829834-001, it’s a USB 3.0 to Gigabit adapter. May want to add this to the confirmed working hardware list.
Thank you @george1421 for all the help was just about to load the bootable usb when the adapters arrived.