Hp 440 G4 boot issue
-
Just so I’m clear, the 440s pxe boot just fine to the FOG iPXE boot menu is that correct.
But the problem comes when the timeout on the iPXE menu reaches 0 it doesn’t boot from the hard drive? It tries to just pxe boot again, like the target computer just rebooted and never loads from the hard drive?
If this is true, then your exit mode from FOG is not set correctly. 90% of the time SANBOOT works great for locating the hard drive. Other times not so good. What I would do is change the bios exit mode from one system to the other FOG exit modes to see if it can locate the hard drive.
The other option is if you don’t need unattended imaging, you can always set the format to be usb,ssd and then when you want to image (you have to be in front of the computer) but boot the computer and press the F12 key to get the boot menu. From there you can pick network boot.
You can also leave the target computers in uefi mode if you just disable secure boot and then send the uefi kernel [ipxe.efi] to the target computer. But of course you must have a uefi based system image to deploy to that target computer.
-
Perhaps a picture would help clarify what exactly happens.
What’s your DHCP server setup like?
-
@computercolin
Just my $.02 worth… IF you are forcing a network boot it may loop as well. At least on our DELLs if you hit F3 to FORCE network boot and then try to boot to HDD/SSD it wont find it. Now this is also using DNSMASQ to send a boot menu and options. Not a straight DHCP.If allowed to pick up network boot automatically(even at first option) it works normally.
This is all before fog menu comes up, purely the pxe/ipxe boot process.
Jason
-
@george1421 Having tried each of the exit types without success, any other suggestions? Perhaps a kernel update?
-
@mrcur What type of hardware (uefi / bios-legacy) are you having issues with?
If its uefi, you will probably want to use rEFInd as your exit mode. You may need to tweak the refind.conf file to search for more devices if its not locating the hard drive.
As for a kernel update not important. This is still in iPXE, not FOS. So the iPXE boot code is in charge.
-
@george1421 It’s UEFI (the HP 440 G4).
-
@mrcur ok set exit mode for uefi to rEFInd. Let me look through the config file. I should be in /var/www/html/fog/service/ipxe directory.
-
@mrcur Then edit /var/www/html/fog/service/ipxe/refind.conf
comment out
# scanfor internal
and uncomment
scanfor internal,hdbios,external,biosexternal
that should tell it to look in more places to see if it can find a boot device. rEFInd is a good choice to set as your global uefi exit mode. Its a real good boot loader (akin to grub)
-
@george1421 That’s apparently the default in my conf file. I’ll set it back to refind and see what it does.
-
@george1421 I get a warning about CSM not being available but hitting enter allows the laptop to boot. I suppose I need to remove the “hdbios” and “biosexternal”.
-
@george1421 That did the trick. Thanks @george1421!
-
@mrcur Great!! rEFInd is a great boot loader (once you tell it where to and not to look).