Re: Adding a file to an iso



On Thu, 08 Mar 2007 11:53:28 -0800, CptDondo wrote:

I have an iso image of a cd that I want to add a couple of file to...

I've got the iso loopback-mounted but it's read-only.

How can I modify an iso image?

Thanks,

--Yan

You have to rebuild the ISO using mkisofs. AFAIK, you can't edit an
existing ISO.

Steps:
1. Build initial source tree, in this case, using the loopback:

# SRC=/mnt/loop
# DEST=new
(cd $SRC && tar -cpf - .) | (cd $DEST && tar -xvf -)

2. Add your file into the "new" tree.
3. Rebuild iso, using mkisofs.
4. Burn iso to cd.

--
Douglas Mayne
.



Relevant Pages

  • Re: 5.3 RELEASE downloaded
    ... peter lageotakes wrote: ... >1) Allow the ISO to propgate to the various mirrors so ... cvsup the new src and rebuild the world. ... offical BitTorrent download. ...
    (freebsd-questions)
  • Re: Error 1: gpart create -s GPT ad0
    ... This was temporary regression and it is fixed now in r215118. ... I have an ISO audit r215110 ... ... now try to rebuild the ISO it ... I rebuild the ISO image based on r215176 and gpart did not return an ...
    (freebsd-current)
  • Re: Error 1: gpart create -s GPT ad0
    ... This was temporary regression and it is fixed now in r215118. ... I have an ISO audit r215110 ... ... now try to rebuild the ISO it ... I rebuild the ISO image based on r215176 and gpart did not return an ...
    (freebsd-questions)
  • genmwnu.fxp
    ... When I rebuild the project it says: ... "Cannot create file c:\program files\microsoft visual foxpro 8\genmenu.fxp" ... Prev by Date: ...
    (microsoft.public.fox.vfp.forms)
  • Help with cdrecord
    ... I'm trying to teach myself how to use mkisofs and cdrecord. ... though that is like saying my verbals skills are ... The size of the iso file is 747200512 bytes. ... The CDR is supposed to hold 700 MB, ...
    (Fedora)