Jump to content


Adding files to ISO file


  • Please log in to reply
4 replies to this topic

#1 OFFLINE   mthompso

mthompso

    Post Master

  • Members
  • PipPipPipPip
  • 115 posts

Posted 24 September 2006 - 09:40 AM

Is there such a Linux program to add files to an existing ISO file?

#2 OFFLINE   burninbush

burninbush

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,208 posts

Posted 24 September 2006 - 10:25 AM

View Postmthompso, on Sep 24 2006, 05:40 AM, said:

Is there such a Linux program to add files to an existing ISO file?
Uhmmm... not sure if that's a yes or a no.   I've been using Slax [distro] for a couple years now, and it is easily re-mastered -- which involves copying the content of a cd or iso to a subdir -- after which you add or subtract or change files as you like -- and then run a script to make a new iso from the subdir contents.   Slax comes with linux and windows scripts and utils to make this remaster step very easy.  Anyway, the command that does the actual work of making a new iso is 'mkisofs' -- you probably have the man page for that.  I suspect that the Slax script would work on any distro -- if you want to see how it's done.  [names are make_iso.sh and make_iso.bat]  Obviously, the result has to be of a size that will fit onto your chosen media.  So ... does that satisfy adding files to an iso?  I dunno any other way to do it.

#3 ONLINE   ross549

ross549

    I live here.

  • Forum Admins
  • 8,534 posts

Posted 24 September 2006 - 10:51 AM

There are utilities in linux that will allow you to "mount" the iso as part of your filesystem, copy them to a directory for work, and then make a new iso of that working directory.As far as a simple "append this file into this iso".... I do not think such a program exists. I may be completely wrong though
I don't suffer from insanity, I enjoy it.
Posted Image Posted Image Posted Image Posted Image

#4 OFFLINE   burninbush

burninbush

    Multithreader

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,208 posts

Posted 24 September 2006 - 12:59 PM

View Postross549, on Sep 24 2006, 06:51 AM, said:

As far as a simple "append this file into this iso".... I do not think such a program exists. I may be completely wrong though
Thinking about this a bit more ... there may be an 'end-run' way to do what the poster at the head of the thread appears to want -- If you declare the initial burn of the .iso file to be the first session of a multisession burn, then you can indeed come along later and add more files to it, or even overwrite old files and directory trees on the cdr/dvd with new content.  K3b has a button to do this -- on the Advanced screen.  And if you use a command line [check man growisofs] to make the initial burn, then you can put your iso intended for cdr onto a dvd blank -- leaving a huge space for later modifications.  A caveat to this is that some puters won't boot an unclosed multisession disk.  My desktops will boot such a disk no problem, but neither laptop here will.

#5 OFFLINE   Bruno

Bruno

    Le Professeur Pingouin

  • Admin Emeritus
  • 37,904 posts

Posted 24 September 2006 - 01:33 PM

Hi mthompsoI would use Adam's  suggestion: it is called Looping an ISO  . . . . next copy all the files to a working directory and add the files you want to add/edit. Finally make a new ISO with:
# mkisofs -R -o <name_new.iso> <directory_where_the_files_are>
:hysterical: Bruno




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users