Hanging on ipxe initalizing devices.
-
@huecuva said in Hanging on ipxe initalizing devices.:
After a little more research, I’ve been able to determine one possibility. Could it maybe be a host boot kernel issue? I’m apparently running kernel 4.19.0-11, but that kernel isn’t even listed when I go into Kernel Update in FOG. Would it be worth upgrading the kernel? I don’t want to make it stop booting my gaming rig.
This is a bit deceiving here (not your post but how FOG boots). The iPXE menu is driven by the ipxe boot loader (undionly.kpxe or ipxe.efi). Once you make a menu selection then FOS Linux (a.k.a the kernel) / bzImage init.xz is transferred to the target computer and FOS Linux boots. This is the engine that clones disk images.
So if your system is hanging before the iPXE menu then its a iPXE issues, if it hags after a menu selection then it is probably FOS Linux.
The version of “the kernel” is not related to the kernel version on the host computer that FOG is installed on. It refers to the version of the kernel that powers FOS Linux. I can tell you that you will want to upgrade to 5.6.18 of the fos linux kernel if you want to support 2020 or later hardware. You can do that through the webui FOG Configuration -> Kernel section.
-
@george1421 If by “the latest firmware on the HTPC” you mean the newest available BIOS for my motherboard, it does indeed have the newest BIOS. It’s an MSI H61M-P21 with BIOS 19.2 which is the latest listed on their website.
Is it that simple? A BIOS incompatibility? I guess my newer rig works because the BIOS is not conflicting with iPXE. If that’s the case, it’s very disappointing.
EDIT: On closer examination, that link does indicate that I have a Realtek NIC. It’s weird that inxi in Mint reports a Qualcomm NIC. Maybe that’s why it’s having issues.
-
@huecuva So just for clarity is it freezing starting iPXE or FOS Linux?
Is the MSI mobo in uefi or bios mode?
-
@george1421 I guess it hangs starting iPXE. It detects media, downloads the boot file and then begins to initialize devices before it freezes. It never makes it to any menus after I instruct it to boot via the IPv4 NIC.
As for whether the motherboard is in BIOS or UEFI mode, That’s a great question. I don’t quite remember and I can’t check right now but I’m pretty sure it’s in UEFI mode.
-
@huecuva Well its unfortunate that it doesn’t fully initialize on that target hardware. I have seen it in the past do that and a firmware update usually fixes it. Since iPXE is out of the picture we do have a method to USB boot into imaging if you need to go that route. You will not have some of the capabilities of FOG but you will be able to image computers.
-
@george1421 How do I boot USB? And what capabilities of FOG would I not have access to?
-
@huecuva said in Hanging on ipxe initalizing devices.:
@george1421 How do I boot USB? And what capabilities of FOG would I not have access to?
https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image
Multicasting and some tight integration with fog like “deploy image” menu in ipxe.
Also look at the fog forum chat bubble for a few more hints.
-
@george1421 Thanks. Would I still be able to deploy the image by creating a task in the FOG webgui?
EDIT: I see your second message. I can do everything by scheduling in the FOG webgui. That works. I will play around with this another day when I have time to do so again.
Thanks for the help.
-
@huecuva said in Hanging on ipxe initalizing devices.:
Would I still be able to deploy the image by creating a task in the FOG webgui?
yes that is required. That is covered in the tips I just chatted to you.
-
@george1421 Yes. I edited my previous post. I had posted that before you sent the rest of the chat messages. I had only seen the link.
Thanks again for the help, mate.
-
@Huecuva Is secure boot disabled on the HTPC? The other thing you can try is using a different iPXE binary. If the HTPC is set to boot in legacy BIOS mode you can try using
undionly.pxe
,undionly.kpxe
oripxe.pxe
(instead of the defaultundionly.kkpxe
). If it’s set to UEFI mode then you’d try outsnponly.efi
orsnp.efi
instead of the defaultipxe.efi
.Be aware that changing that globally in your DHCP configuration (should be in
/etc/dhcp/dhcpd.conf
on a Debian server I think if you said yes to enable DHCP directly on your FOG server) might change boot behavior for other machines that used to work with the defaults. -
@sebastian-roth Again, I can’t check right now, but I’m pretty sure secure boot is disabled. I will look further into what you suggest when I get another chance to work on this project. Thank you.
I don’t think I did say yes to having my FOG server handle DHCP, but I don’t remember.
Can those iPXE binaries be changed in the webgui?
-
@huecuva said in Hanging on ipxe initalizing devices.:
Can those iPXE binaries be changed in the webgui?
No because it all depends on the DHCP server you actually use in your network (quite often it’s not on the FOG server itself).