Kickstart file configuration questions

General support questions
Posts: 21
Joined: 2018/02/13 20:28:14

Kickstart file configuration questions

Postby phil.e » 2018/03/09 21:08:18


I'm building a kickstart server, using CentOS 7, to image machines to a CentOS 6.9 image, and having issues getting the booting client to read the ks.cfg file and continue with the automated install.

The system seems to work fine as far as dhcp goes - the client gets an IP address, it boots the vmlinuz and initrd.ram images.

The installation sources are available via http from the following URL

I have the /var/lib/tftpboot/pxelinux/pxelinux.cfg/default configured with this line:

append initrd=initrd.img inst.ks=

I did a manual install of the system first, to generate what should have been a relevant kickstart file. I copied the kickstart file to the following locations on the kickstart server:


I noticed the initial permission on the ks.cfg file was 600, owner root:root, and changed them first to 644 root:root, then changed them to 777 root:root to rule out if there was a permissions thing going on or not.

The install always stops on the first screen (which language do you want to use), so I'm not sure if's not reading and/or finding the ks.cfg file at all or if it's stopping on that point because it's not specified correctly in the kickstart file. (one of the first lines in the kickstart file is "lang en_UTF-8", so that is what it's supposed to be)

I'm not getting any error messages to go on, so I'm trying to take educated guesses as to what the problem is, but not succeeding so far.

Any suggestions?

User avatar
Forum Moderator
Posts: 22299
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kickstart file configuration questions

Postby TrevorH » 2018/03/10 02:54:02

If you see the language selection screen then it's either not found your kickstart or there's a problem with it. If you go on from that screen and get to the main installer screen then the bits it understood should be reflected in the choices that are set in the different sections and the bit that went wrong is likely to be highlighted as in error. There should also be logs on the other VTs about what went wrong.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Posts: 21
Joined: 2018/02/13 20:28:14

Re: Kickstart file configuration questions

Postby phil.e » 2018/03/12 14:20:57

I went in to check the default file again, and the initrd= option and the inst.ks= option were on separate lines, so I put them back on the same line again, and then it finally recognized the ks.cfg. I must have separated the lines at one point while testing different options. :-(