tftp server package is needed to run PXES of redhat 9.0 is?

Dani AI

Generated

As asked, the piece you actually need on a Red Hat family machine is the TFTP server RPM (generally packaged as tftp-server) plus the usual PXE pieces. was right that TFTP carries the boot files, and pointed to the CentOS how-to — beyond that, you also need a DHCP server to point clients to the TFTP host and a PXE bootloader (pxelinux.0 from the syslinux package), plus a kernel and initramfs placed in the TFTP root.

A minimal set of steps (paths and commands vary by release — older Red Hat 9 era paths can differ):

# install packages (use yum or dnf on newer releases)
yum install -y tftp-server syslinux dhcp

# create TFTP root and copy bootloader (path to pxelinux.0 may vary)
mkdir -p /var/lib/tftpboot
cp /usr/share/syslinux/pxelinux.0 /var/lib/tftpboot/
cp vmlinuz initrd.img /var/lib/tftpboot/

# DHCP server must tell clients where to find the file
# in dhcpd.conf add:
# next-server 192.168.1.10;
# filename "pxelinux.0";

Troubleshooting checklist: open UDP port 69 on the firewall, start/restart xinetd or enable the tftp systemd socket depending on release, test with a tftp client, and watch journalctl or /var/log/messages for errors. Confirm file permissions and that the TFTP root path is the one the package expects (some older systems use /tftpboot). If SELinux is enforcing, adjust contexts or booleans rather than disabling SELinux.

Recommended Answers

All 2 Replies

You are talking about the network PXE boot capability? Yes, it uses tftp to download the system image to boot.

Hello,

For a genereal idea of what is involved in setting a PXE boot server here is a link to the CentOS (Red Hat distro) instructions which should be pretty close to what you need.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.