Installing & Configuring PXEboot TFTP Server for Kickstart on RHEL or CentOS

| 0 Comments | 0 TrackBacks
  • PXEboot TFTP Server
  • Kickstart Server



yum install tftp-server -y


cat > /etc/xinetd.d/tftp << EOF
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
EOF

cp /usr/lib/syslinux/pxelinux.0 /tftpboot/.
chmod 644 /tftpboot/pxelinux.0

mkdir /tftpboot/pxelinux.cfg
cat > /tftpboot/pxelinux.cfg/default << EOF
default install

prompt 1
display pxeboot.msg

label install
kernel vmlinuz
append initrd=initrd.img

label kickstart-server01
kernel vmlinuz
append ksdevice=eth0 console=ttyS0,38400 console=tty0 load_ramdisk=1 initrd=initrd.img network ks=http://10.10.10.10/server01.cfg

EOF

cd /tftpboot
wget http://mirrors.atlanticmetro.net/centos/5/os/i386/isolinux/vmlinuz
wget http://mirrors.atlanticmetro.net/centos/5/os/i386/isolinux/initrd.img
wget http://mirrors.atlanticmetro.net/centos/5/os/i386/isolinux/memtest
wget http://mirrors.atlanticmetro.net/centos/5/os/i386/isolinux/boot.msg
wget http://mirrors.atlanticmetro.net/centos/5/os/i386/isolinux/splash.lss
mv boot.msg pxeboot.msg

service xinetd restart


No TrackBacks

TrackBack URL: http://baldwinsung.com/cgi-bin/mt-tb.cgi/140

Leave a comment

Recent Entries

Minimal Post Configuration for CentOS
service yum-updatesd stop chkconfig yum-updatesd off service avahi-daemon stop chkconfig avahi-daemon off service bluetooth stop chkconfig bluetooth off service…
15 Central Park West
The Real Deal details the buyers of the wonderful apartments at 15 CPW. http://therealdeal.com/newyork/articles/a-unit-by-unit-look-at-15-cpw http://s3.amazonaws.com/trd_three/images/17726/CPWBinder.pdf…
AJAX Toolkits
Prototype http://prototypejs.org Scriptaculous http://script.aculo.us Dojo http://dojotoolkit.org YUI http://developer.yahoo.com Ext http://extjs.com Sarissa http://sarissa.sf.net Mochikit http://mochikit.com jQuery http://jquery.com MooTools http://mootools.net GWT…