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).
link|improve this question
feedback

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.

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

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

link|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
feedback

Your Answer

 
or
required, but never shown

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