Super User is a question and answer site for computer enthusiasts and power users. 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 add my .tar files in the .iso image of redhat cd and untar the same at desired location using some script. Can anyone tell

  1. how do I add the files in the ISO image?
  2. where to place the script?
  3. how to link the script so that it is executed after the installation completes (redhat).
share|improve this question
up vote 0 down vote accepted

You will have to mount the ISO file on your HD and open it in an ISO editor (or so is my preference there may be other options) for example Daemon tools has an ISO editor and Vertual drives wich will help in troubleshooting and testing.

I can't help you with the other stuff I'm afraid.

share|improve this answer
thanx... hope i ll get the answer for the other stuff too... – pratap Feb 4 '11 at 8:23

You can add files in iso by copying required files in directory where all files of iso copied, and then make iso out of that using command mkisofs -r -o /tmp/iso_name.iso /dir_which_contain_all_files

you can check by mounting iso file it conatin all files or not using mount -o loop iso_name.iso /mnt

You can add calls of required script in kickstart file.


share|improve this answer
can u pls tell where to place the script and how to call it in the kickstart file?. – pratap Feb 8 '11 at 6:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .