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've been working on creating some custom Linux ISOs and have recently ran into some issues. Originally, I used bootcdwrite along with some scripts for create an ISO of the running config on a Debian server. Now I am working on some Fedora/CentoOS/Scientific Linux ISOs and haven't had much luck doing the same thing. I've looked at quite a few forums and people normally recommend revisor/pungi and clonesys. I've tried clonesys a few times and have never gotten the ISO to boot correctly for me. Revisor works fine as far as spinning the images and adding/removing specific packages, but it doesn't (or I haven't found out how to yet) do the customization I want. Ideally this is what I want to do.

  1. Install Fedora/CentOS/SL6.
  2. Install new packages, change some files, modify iptabloes, etc.
  3. Run a program to copy the running image into a bootable ISO.
  4. Be able to boot the new ISO and act like it's a new setup (ask for DHCP info, password info, etc.) but once that is done, it will have all of my custom files and configurations.

This is exactly what I was able to do with bootcdwrite on Debian. I got everything working and configured the way I wanted it, ran a few script to remove tmp files, users, etc. to get it into a "raw" state and then converted it into an ISO.

From my research as of now, I see believe that Revisor is my best bet, I just have to figure out how to make it copy my running config with custom files instead of just modifying the packages (or maybe it does and I'm just not aware of it). That, or maybe I could use a more generic tool such as mkisofs.

Thanks in advance for your help.

share|improve this question
add comment

1 Answer

up vote -1 down vote accepted

Have you tried:

http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD

?

share|improve this answer
    
I have briefly. From what I remember, it is very similar to Revisor in that it will be good for adding and removing packages but I'm not sure if it'll capture the "live system" and have all of the custom configuration files that I want. –  Eric Feb 16 '12 at 14:59
    
I ended up using livecd-creator to make the ISOs. It wasn't able to pull the live system like I was used to, but I was able to modify the kickstart scripts enough to make it do exactly what I wanted it to do. –  Eric May 8 '12 at 20:24
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.