Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to configure the ks.cfg file under PXE server So I will able to install linux from PXE server
PXE server include the files ( initrd.img & vmlinuz ) and the ks.cfg

My default ks.cfg was taken from the original initrd.img ( from ISO file )

And now I need to edit the ks.cfg in order to use this file by the PXE server

My question is – what need to change in the ks.cfg in order to work with PXE server For example

I guess all


in the original ks.cfg need to change to


and need to add this lines also

     nfs --dir=/RedHat-DIR
     network --device eth0 --bootproto dhcp --nodns

There are maybe other changes but I need help

share|improve this question
have you read… ? – sciurus Oct 26 '13 at 2:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.