How to install Centos 4.5 via PXE boot.

edit /etc/xinet.d/tftp

change the line

disable = no

service xinetd restart

y u m i n s t a l l t f tp -y

to u c h /tftpboot/file.txt

t f t p localhost

g e t file.txt

if succeed.. then you t f t p server is working fine…

now to setup DNS server..

set manual ip for yourself first.

vi /etc/sysconfig/network -scripts/ifcfg-eth0


vi /etc/dhcpd.conf

add following lines..

ddns-update-style ad-hoc;
subnet netmask {
filename “linux-install/pxelinux.0”;

cd /tftpboot/linux-install

mkdir centos4

cd centos4

wg et

wg et

cd /tftpboot/linux-install/pxelinux.cfg/

touch default

vi default

key in the following.

default centos
timeout 100
prompt 1
display msgs/boot.msg
F1 msgs/boot.msg
F2 msgs/general.msg
F3 msgs/expert.msg
F4 msgs/param.msg
F5 msgs/rescue.msg
F7 msgs/snake.msg

label centos
kernel centos4/vmlinuz
append initrd=centos4/initrd.img ramdisk_size=7000

if succeed..

whenever booting from another machine to use PXE boot.. something like this will appear..

press enter..  and wait.. till something like below appear..


Related Post

7 Responses

  1. Harvey says:

    It is the best time to make some plans for the future and it’s time to be happy. I’ve read this post and if I could I want to suggest you some interesting things or advice. Maybe you can write next articles referring to this article. I desire to read even more things about it!

  2. Rachel says:

    Thanks for sharing your info. I really appreciate your efforts and I am waiting for your further write ups thank you once again.

  3. Brittney says:

    I do not even know the way I ended up here, however I thought this put up used to be great. I don’t recognize who you might be but certainly you’re going to a well-known blogger in case you are not already. Cheers!

  4. website says:

    What’s up, after reading this amazing article i am too delighted to share my knowledge here with colleagues.

  5. says:

    Do you mind if I quote a couple of your articles as long as I provide
    credit and sources back to your site? My blog site is in the very same niche as yours
    and my users would genuinely benefit from some
    of the information you present here. Please let me know if this okay with you.
    Many thanks!

  6. calvin klein underwear uk says:

    Incredible! This blog looks just like my old one! It’s on a completely different subject but it has pretty much the same page layout and design. Great choice of colors!

  7. calvin klein underwear uk says:

    I really like what you guys are usually up too. Such clever work and coverage!
    Keep up the amazing works guys I’ve included you guys to my own blogroll.


Leave a Reply

Your email address will not be published. Required fields are marked *