FOG USB Boot media with Intel NUC7i5BNH
-
Sebastian-Roth said in FOG USB Boot media with Intel NUC7i5BNH:
Please try booting a Live Linux from CD/DVD, run lspci -nn | grep -i -e ethernet -e network and post output/picture here.
Or from a running windows computer post the hardware id for that network adapter both the vendor and model bits.
-
@george1421 Intel l219-V
PCI\VEN_8086&DEV_15D8&SUBSYS_20688086&REV_21
PCI\VEN_8086&DEV_15D8&SUBSYS_20688086
PCI\VEN_8086&DEV_15D8&CC_020000
PCI\VEN_8086&DEV_15D8&CC_0200 -
@theland10 Intersting, the iPXE lists this NIC as supported: https://ipxe.org/appnote/hardware_drivers
Can you try using
intel.efi
? -
@theland10 As well please do a simple link check. Boot to the point where it tries to get an IP twice and drops you to a shell. Now check the LED. Link on? Pull the cable, wait 3 seconds, plug it back in and wait to see if the LED comes back on?!
Now run
ifstat
in the iPXE shell and post output here. -
@Sebastian-Roth Gives MAC address on first line:
xx:xx:xx:xx:xx:xx using i319v-4 on 0000:00:1f.6 (closed)
[Link:up, TX:8 TXE:2 RX:0 RXE:0]
[TXE: 2 x “Operation not supported (http://ipxe.org/3c654083)”] -
@theland10 said in FOG USB Boot media with Intel NUC7i5BNH:
TX:8 TXE:2 RX:0 RXE:0
That’s the interesting part of the output. It tried to send eight packets (transmitted packets) and got two errors (TXE). While error sounds bad it really does not have to be in all cases. I am not a iPXE hacker and only know the code a bit but as far as I remember there are many situations where TXE count doesn’t actually mean a problem. But the issue I see is that there is no RX (received packets) whatsoever. I have no idea why that might happen.
Did you do the link check I asked you to in the last post? As well tried
intel.efi
yet? -
@Sebastian-Roth Yes and yes. That ifstat output was directly after ensuring I had link lights from replugging the Lan cable. Which was directly after entering the ipxe menu from a failed boot using the intel.efi
-
@theland10 Then I suppose we are down to the bones and need to enable debugging in iPXE. When requesting a binary from rom-o-matic there is a field Debug build. Put
intel
into that field and you should get some more output - fancy in colors. -
@Sebastian-Roth Here is the output from the debugger:
Also, our resident linux guru (I’m very much a beginner but I pick up quickly) and myself have been trying to set up the FOS Linux boot stick in the meantime. We are able to get to the selection menu to choose quick register/full register/capture etc. It sees both our DHCP servers and pulls an IP ok but ends with an error unable to access FogserverIP/fog/index.php or FogserverIP/index.php.
-
@theland10 Hmmmmm, in the picture I see
Received DHCP answer on interface net0
… Looks very different to what you told us before. Maybe debugging causes different timings within the driver and make it work?!The error in the picture makes me think that maybe the default gateway option is not properly propagated to the client and it cannot reach IP 172.17.1.171 because of that?! Why is the IP different on the first TFTP pull (
ipxe.efi
) than on the second one (default.ipxe
). Possibly it’s for a good reason but things just don’t add up for me here. -
@Sebastian-Roth I was confused about that myself. The 172.17.65.19 is our fog server. 172.17.1.171 is the server for our virtual devices we have set up for PXE booting, and the reason why we are using the USB boot media as opposed to using straight PXE booting for fog. That IP was not entered anywhere in the setup on rom-o-matic for the efi file. I’m going to try a slight change to the script on that.
-
@theland10 I did add some hints for booting straight into FOS via usb in the forum chat. Look at the chat bubble in the upper right corner of the browser window.
-
@george1421 Yes, I got it! I tested and was able to successfully register the device as host with both quick and full registration options. Will test deploy and capture tomorrow. Thank you!
-
@theland10 No luck with the FOS Boot stick. On the NUC7i5 tried to capture and partclone gives an error with the text broken and spread across the screen, part of it says ‘Maybe check the server to make sure space is good to go?’.
Tried imaging one of our other HP models that I have successfully captured and imaged with the regular USB boot media and receive the following error:
Fatal Error: Unknown request type :: null
Kernel Variables and settings:
boot_image=/boot/bzimage loglevel=4 initrd=init.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=172.17.65.19/fog/ boottype=usb consoleblank=0 rootfstype=ext4.Tried with both original bzimage, bzimage32, init.xz,init_32.xz files and files from our fog server.
-
@theland10 said in FOG USB Boot media with Intel NUC7i5BNH:
Fatal Error: Unknown request type :: null
This error can be tracked back to one of the caveats of this process. You MUST schedule the task on the FOG server before picking option 1 from the grub menu. If you do that then imaging will work. This is one of the issues without using iPXE. You loose the tight integration with FOG. But sometimes you have no choice.
Now for the NUC…
From the FOS Linux usb boot device, select option 6 for debug mode. Once its booted you will be dropped to the FOS LInux command prompt. Key in the following commands to FOS Linuxip addr show
lsblk
Based on the results of these commands we have a few more, but lets see which direction first (networking or disk).
-
@george1421 Ahhh, I see, thank you, I was able to successfully image another device with the FOS USB after queuing the task first in fog.
As for the NUC see below:
-
@theland10 Well that’s a good thing and a bad thing. The good part is both the network adapter (eno1) and the disk drive (nvme0n1) are being seen by the FOS Linux OS. The bad part is that there is no indication of what the actual error is.
Ideally we’d like to get a screen shot of the error that is displayed (it should be working!!).
let me think for a moment.
-
Here is the actual error in partclone when I attempt to capture from the NUC.
-
@george1421 On your FOS Linux usb stick, the grub.conf file you edited to include your FOG server’s IP address. There is a menu entry
“1. FOG Image Deploy/Capture” On the line that starts out with linux $myimage… append
isdebug=yes
to that line and save it.Then reschedule a capture/deploy on the fog server and then usb boot the target computer and pick menu item 1. This will again put the deployment in debug mode. After you are dropped to the FOS Linux command prompt key in
fog
at this point you will be single stepped through your deployment. You will need to hit enter at each breakpoint. This should give you the option to capture the actual error message. Post the screen shot of the very first error here. If you can’t get the error we can then hit ctrl-C to access the command prompt again and then look at the partlone.log file to see why its unhappy. This partclone.log file will be on the target computer not the fog server. -
@george1421 Ok, bad news and good news. Bad news is, I changed it and stepped through the debug process. It did not throw an error until on partclone and gave basically the same screen as can be seen here:
The good news is, on the image options in fog image management. I changed image manager from partclone Gzip to partclone Zstd and it is currently capturing fingers crossed.