Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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.

Ashitosh

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
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.