Article 5JDKJ PXE client not respecting DHCP Option 209 PXE Configuration file

PXE client not respecting DHCP Option 209 PXE Configuration file

by
grob115
from LinuxQuestions.org on (#5JDKJ)
Has anyone successfully implemented PXE boot with Centos 8.x / RHEL 8.x / Fedora and ISC DHCP 4.3.6 by specifying a specific name of the grub.cfg file to use with the following?

Code: option loader-pathprefix "";
option loader-configfile "grub-env1.cfg";
option loader-reboottime 30;The following is observed with packet capture on a DHCP Offer message sent by the DHCP server when the PXE client is booting upCode: Option: (208) PXELINUX Magic
Length: 4
Value: f100747e
Option: (209) PXE Configuration file
Length: 12
PXELINUX configuration file: grub-env1.cfgEven then the client fails to follow through and continues to look for the grub.cfg file with the following file names from TFTP.
Code:TFTP 102 Read Request, File: /grub.cfg-01-b4-7a-f1-fd-8b-ac, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 90 Read Request, File: /grub.cfg-0B5A0806, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 89 Read Request, File: /grub.cfg-0B5A080, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 88 Read Request, File: /grub.cfg-0B5A08, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 87 Read Request, File: /grub.cfg-0B5A0, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 86 Read Request, File: /grub.cfg-0B5A, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 85 Read Request, File: /grub.cfg-0B5, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 84 Read Request, File: /grub.cfg-0B, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 83 Read Request, File: /grub.cfg-0, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 81 Read Request, File: /grub.cfg, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 113 Read Request, File: /EFI/redhat/grub.cfg-01-b4-7a-f1-fd-8b-ac, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 101 Read Request, File: /EFI/redhat/grub.cfg-0B5A0806, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 100 Read Request, File: /EFI/redhat/grub.cfg-0B5A080, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 99 Read Request, File: /EFI/redhat/grub.cfg-0B5A08, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 98 Read Request, File: /EFI/redhat/grub.cfg-0B5A0, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 97 Read Request, File: /EFI/redhat/grub.cfg-0B5A, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 96 Read Request, File: /EFI/redhat/grub.cfg-0B5, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 95 Read Request, File: /EFI/redhat/grub.cfg-0B, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 94 Read Request, File: /EFI/redhat/grub.cfg-0, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 92 Read Request, File: /EFI/redhat/grub.cfg, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 106 Read Request, File: /EFI/redhat/x86_64-efi/command.lst, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 101 Read Request, File: /EFI/redhat/x86_64-efi/fs.lst, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 105 Read Request, File: /EFI/redhat/x86_64-efi/crypto.lst, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not found
TFTP 107 Read Request, File: /EFI/redhat/x86_64-efi/terminal.lst, Transfer type: octet, blksize=1024, tsize=0
TFTP 61 Error Code, Code: File not found, Message: File not foundIf I place a file named as 'grub.cfg' on TFTP then it works fine but what I want to achieve is to use different grub menu based on the network from which the client is booting up from.latest?d=yIl2AUoC8zA latest?i=OhfMe-JmO7w:lzNTHf30sm4:F7zBnMy latest?i=OhfMe-JmO7w:lzNTHf30sm4:V_sGLiP latest?d=qj6IDK7rITs latest?i=OhfMe-JmO7w:lzNTHf30sm4:gIN9vFwOhfMe-JmO7w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments