tftp server so they can be found when the client requests them. The tftp server is usually the same server as the network server exporting the installation tree.
tftp root directory:
cp /boot/efi/EFI/redhat/grub.efi /var/lib/tftpboot/X86PC/UNDI/pxelinux/bootx64.efi/etc/dhcpd.conf might look like:
option space PXE;
option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
range 10.0.0.2 10.0.0.253;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 10.0.0.1;
if option arch = 00:06 {
filename "X86PC/UNDI/pxelinux/bootia32.efi";
} else if option arch = 00:07 {
filename "X86PC/UNDI/pxelinux/bootx64.efi";
} else {
filename "X86PC/UNDI/pxelinux/pxelinux.0";
}
}
host example-ia32 {
hardware ethernet XX:YY:ZZ:11:22:33;
fixed-address 10.0.0.2;
}
}
/var/lib/tftpboot/X86PC/UNDI/pxelinux/efidefault might look like:
default=0
timeout=1
splashimage=(nd)/splash.xpm.gz
hiddenmenu
title RHEL
root (nd)
kernel /rawhide-x86_64/vmlinuz
initrd /rawhide-x86_64/initrd.img
tftp root directory:
cp /boot/grub/splash.xpm.gz /var/lib/tftpboot/X86PC/UNDI/pxelinux/splash.xpm.gztftp root directory:
cp /path/to/x86_64/os/images/pxeboot/{vmlinuz,initrd.img} /var/lib/tftpboot/X86PC/UNDI/pxelinux/rawhide-x86_64/