Hi everyone,
After upgrading from FOG 1.5.10 to 1.6.1, I noticed a warning in the FOG Settings for FOG_MEMTEST_KERNEL.
The configured value is mt86plus_x86_64, but the web interface displays:
“This name is not a recognized file in the boot directory.”
The file exists in /var/www/html/fog/service/ipxe/, has correct permissions and is accessible via HTTP (200 OK).
After investigating the source code, I believe I found the cause in _looksLikeKernel() in src/Base/FOGPage.php.
The file headers are:
- list itembzImage: HdrS, boot protocol 0x020f
- list itemmt86plus_x86_64: HdrS, boot protocol 0x020c
Since the kernel detection accepts boot protocol versions greater than or equal to 0x020c, Memtest86+ 8.10 is classified as a kernel rather than a boot payload.
However, FOG_MEMTEST_KERNEL expects a file with the payload role.
Thank you again for your great work on FOG 1.6.1!