Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > anky.parmar1786
User Name


Rate this Entry

unable to make pxe boot through tftp

Posted 02-10-2011 at 08:22 AM by anky.parmar1786

Hi All

Once again I am facing problem to make pxe boot server with the help of tftp.. What I am trying to do is that I have mentioned below but it gives error:- "COULDN'T FIND THE KERNEL IMAGE"

* yum install tftp-server

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

disable = no

* restart xinetd

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/i386/3.0
mkdir -p /tftpboot/images/centos/i386/3.1
mkdir -p /tftpboot/images/centos/x86_64/3.0
mkdir -p /tftpboot/images/centos/x86_64/3.1
mkdir -p /tftpboot/images/centos/i386/4.0
mkdir -p /tftpboot/images/centos/i386/4.1
mkdir -p /tftpboot/images/centos/x86_64/4.0
mkdir -p /tftpboot/images/centos/x86_64/4.1
mkdir -p /tftpboot/images/centos/i386/5.0
mkdir -p /tftpboot/images/centos/i386/5.1
mkdir -p /tftpboot/images/centos/x86_64/5.0
mkdir -p /tftpboot/images/centos/x86_64/5.1

* For each "Release" and "ARCH" Copy vmlinuz and initrd.img from /images/pxeboot/ directory on "disc 1" of that $Release/$ARCH to /tftpboot/images/centos/$ARCH/$RELEASE

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

Note: is the IP address of your PXE server

allow booting;
allow bootp;
option option-128 code 128 = string;
option option-129 code 129 = text;
filename "/pxelinux.0";

* Restart DHCP server

service dhcpd restart

But at the end when I have boot it from the client end side so it gives error "COULDN'T FIND THE KERNEL IMAGE"
Posted in Uncategorized
Views 2848 Comments 1
« Prev     Main     Next »
Total Comments 1


  1. Old Comment
    You might look at ltsp (linux terminal server project) documentation for a hint.
    Posted 02-14-2011 at 01:07 AM by peonuser peonuser is offline


All times are GMT -5. The time now is 10:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration