Solved PXE boot UEFI: Cannot find kernel

This is similar to Thread 41534/, but my problem starts earlier:

I am trying to PXE boot a client in UEFI mode. I have done the steps in the Handbook and checked that the following works (on a separate workstation):
  • DHCP ✓
  • NFS ✓
  • TFTP ✓
Further, I installed base.txz and kernel.txz into the directory indicated by dhcpd.conf.

My DHCP configuration looks as follows:
Code:
option domain-name "kristallwelt.de";
#option domain-name-servers 10.0.0.1, 10.0.0.2, 10.0.0.3;

default-lease-time 3600;
max-lease-time 86400;

subnet 10.10.1.0 netmask 255.255.255.0 {
  range 10.10.1.10 10.10.1.254;
  option subnet-mask 255.255.255.0;
  option routers 10.10.1.1;
  option broadcast-address 10.10.1.255;

  # IP address of TFTP server
  next-server 10.10.1.1;

  # Path of boot loader obtained via tftp
  filename "loader.efi";
  
  option root-path "10.10.1.1:/jails/rechenknecht";
}

When I start the PXE client, the UEFI indeed loads loader.efi over the network, but then boot stops because the loader can't find any boot media:
2026-02-08_pxe-boot-fail.jpg


Entering boot -v -a on the loader prompt gives “cannot find kernel”.

I feel like loader.efi lacks some configuration, but where and how?
 
Back
Top