Configuring and instaling pxeboot for our cluster

steps carried out so far:

(wednesday June 15 2011 03:30PM)

installed the package trivial ftp:

yum install tftp-server

  • vi /etc/xinetd.d/tftp and change disable to 'no'

disable = no

  • restart xinetd

/sbin/service xinetd restart
  • Install syslinux

yum install syslinux

Copy needed files from syslinux to the tftpboot directory

cp /usr/lib/syslinux/pxelinux.0 /tftpboot
cp /usr/lib/syslinux/menu.c32 /tftpboot
cp /usr/lib/syslinux/memdisk /tftpboot
cp /usr/lib/syslinux/mboot.c32 /tftpboot
cp /usr/lib/syslinux/chain.c32 /tftpboot
  • Create the directory for your PXE menus

mkdir /tftpboot/pxelinux.cfg
  • Create a base directory for images. Create directories for each CentOS release you are supporting.

mkdir -p /tftpboot/images/centos/x86_64/5.16

then i copied the files "vmlinuz" & "initrd.img" from /images/pxeboot/ for our clusters releasever and architecture (5.6, x86_64)




Add this to your existing or new /etc/dhcpd.conf.

allow booting;
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
filename "/pxelinux.0"; is the pxe server address(our head node)

  • Restart DHCP server

service dhcpd restart


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.