Vikas asked this 3 years ago

PXE Boot fail : Could not find kernel image vesamenu.c32


I have setup a PXE boot server in CentOS 7 and trying a boot client machine off it. It goes up to the stage where it says

Trying to load: pxelinux.cfg/default        ok

then it stop at boot: prompt for a while and throws the message

Could not find kernel image: vesamenu.c32


Please help

Vikas 3 years ago

I have the vesamenu.c32 in the /var/lib/tftpboot folder. Below is the contents of default config file. This file is in the location /var/lib/tftpboot/pxelinux/pxelinux.cfg folder

I have created a folder pxelinux inside tftpboot folder,

default vesamenu.c32
prompt 0
timeout 300


label rescue
  menu label ^Rescue Installed System
  kernel images/vmlinuz
  append initrd=images/initrd.img rescue

label local
  menu label Boot From ^Local Drive
  localboot 0xffff
LinuxGuru 3 years ago

do you have vesamenu32 in your tftpboot folder. By default this is /var/lib/tftpboot in CentOS 7

Can you post your PXE configuration file /var/lib/tftpboot/pxelinux.cfg/default