Lenovo M70a Pxe boot
-
@george1421 said in Lenovo M70a Pxe boot:
rebuild iPXE
I am running 1.5.9
These M70a are UEFi only
All other computers iPxe boot fine BOIS or UEFI
Not sure how to do the compile scriptThis is the video one of my techs sent me of the issue.```
https://drive.google.com/file/d/1xb_qhRQoy46maZNsukWgL0e43QqYdaXE/view?usp=sharing -
@raymond-bell This answer really depends on how you installed fog. If you used the git method then change to the
fogproject
directory, in there isutils/FOGiPXE/buildipxe.sh
Run that script and it will rebuild ipxe with the current version. The FOG server WILL need internet access to download the latest build of iPXE source code.Once the build is complete the quickest way to copy the files over is to rerun the fog installer script OR search for
snponly.efi
withfind / -name snponly.efi
This will find the location of the just compiled files. Copy the ones you use from this location to /tftpboot When you pxe boot once again pay attention to the iPXE version and build number. Your picture sows 1.20.1+ with a build version of [g4bd0] I suspect the build version will change. If it does not then the iPXE files didn’t get updated correctly. -
@george1421
Updated iPXE via instructions still not working
Funny thing is i got it to boot into fog after about 3 reboots and when i click full host reg it hangs on bzImage… 0%
DHCP is set up like this
-
@raymond-bell Do do we know what boot file is being sent to the target computer? Is it snponly.efi or ipxe.efi?
Lately we’ve seen better success with snponly.efi as the uefi firmware has now matured. snponly.efi is to uefi as undionly.kpxe is to bios. Both use the built in network drivers in the network card’s firmware.
-
@george1421
I am not sure what file it is using… So i change dhcp to look like
this so it will only use snponly.efi and it is still hanging on this and rebooting
-
@raymond-bell If you have a dumb switch (unmanaged $20USD cheepie, etc) place that between the building switch and the pxe booting computer. See if that resolves the issue. This could be a spanning tree or green ethernet issue. We’ve hit on the hard problems to solve I can think of already.
-
@george1421 Ok tried a dummy switch and same issue but after reboots couple time it goes to fog screen the click full host reg and it hangs on
bzImage . . . 0%
-
@raymond-bell said in Lenovo M70a Pxe boot:
Ok tried a dummy switch and same issue but after reboots couple time it goes to fog screen the click full host reg and it hangs on
bzImage . . . 0%OK this is a new one. It can’t initialize the network adapter but after several reboots it does but then fails to transfer bzImage.
Have you checked to see if the firmware is up to date on this computer including the nic driver firmware (this would be a hardware thing not related to any OS level driver).
Do all of this model act this way or only this one unit.
What kind of network adapter are you using? Is it built into the mobo or is it an external usb attached network adapter?
If this all fails to give us results we can always get it imaged form usb booting right into FOS Linux. There are some caveats to this, but we CAN still get the imaging job done.
-
@george1421
We just got in 3 of these M70a and they all do the same thing
Firmware looks to be up to date
Network adapter is built inAnd i have never used the FOS Linux
-
@raymond-bell said in Lenovo M70a Pxe boot:
And i have never used the FOS Linux
You have, but you’ve never directly interacted with it.
The concepts are here: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image Understand your caveats and why this isn’t the first choice.
The concept here is that you will boot bzImage and init.xz from the USB stick and bypass iPXE and its interaction with your hardware. Look at the chat bubble in the upper right corner of this page for a few more hints.