Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to customize CentOS 6 minimal iso by adding some packages or replacing existing ones. For example, I'd like to to replace the kernel package with kernel-xen rpm. I replace it directly, createrepo repodata.xml files and finally make a new iso. When I use the new iso to install at my computer, it notifies me that no kernel package will be installed and bootloader will be the default.

I guess there must be one file which controls which packages are installed but I can't find it in the original iso. Maybe it's in install.img? I searched the Internet but couldn't find any useful information. Can anyone give some clues or suggestions or tell me how to make the iso from scratch or any useful document links?

share|improve this question
Surely writing a kickstart would be the best solution and the easiest to maintain? –  Oneiroi Feb 29 '12 at 12:35
Any other solution? –  perlbox Mar 1 '12 at 12:19
Use the standard procedure of solving problems in the open-source world when google fails: 1) find & check the logs. anaconda logs to tty3 and tty4 as well as /tmp/anaconda.log and /tmp/program.log. You should be able to use tty2 as interactive console; 2) if that fails, search sources for the message you're getting and read code to determine what triggers it. Eclipse, vim + ctags or outright grep can be used to navigate Python sources (anaconda is written in Python). If you give the exact error message you're getting, I may be able to assist you. –  ivan_pozdeev Mar 5 '12 at 22:47

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.