PXE Boot Server

#yum install tftp*

first copy all source DVD in /var/ftp/pub


#cp -avrf /var/ftp/pub/isolinux/*  /tftpboot

#cp -r /usr/lib/syslinux/pxelinux.0 /tftpboot

#mkdir /tftpboot/pxelinux.cfg

#cp -r /tftpboot/isolinux.cfg /tftpboot/pxelinux.cfg/default

now configure DHCE to boot Pxe

vim /etc/dhcpd.conf

subnet netmask {

# — default gateway
#       option routers        ;
#       option subnet-mask    ;

#       option nis-domain               “example.com”;
#       option domain-name              “example.com”;
#       option domain-name-servers;

option time-offset              -18000; # Eastern Standard Time
#       option ntp-servers    ;
#       option netbios-name-servers;
# — Selects point-to-point node (default is hybrid). Don’t change this unless
# — you understand Netbios very well
#       option netbios-node-type 2;

range dynamic-bootp;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
host ns {
next-server marvin.redhat.com;
hardware ethernet 12:34:56:78:AB:CD;

host ns2  {
hardware ethernet 00:19:D1:67:F0:C1;
filename “pxelinux.0”;

and save the file ……….

now client side install from network boot and chose ftp option………..


2 Responses to “PXE BOOT”

  1. rhcekapil29@gmail.com November 7, 2012 at 4:38 pm #

    Thnaks Dude but i don,t understand why you gave filename “peelinux.0” in dhcp file

    • Vishal Vyas November 8, 2012 at 4:52 am #

      pxelinux.0 means that the PXE client will ask the DHCP server for an IP. The server will give it his IP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: