Re: Change one file in an ISO image



On Thu, September 17, 2009 05:28, b. f. wrote:
Patrick Gelsema wrote:
I need to change one file in an existing ISO image. It is a DVD image
btw.
Unfortunately I dont have many options of changing the fie before
creating
the image.

Mounting is not the issue, copying data neither but the ISO is also
bootable. There must be a simpler solution as in copying all the content
with cpio and making it bootable. OS on the DVD is WinPE btw.

Does anyone have some pointers for performing this action?

Unfortunately, libarchive(3), which is used by tar(1) and cpio(1) on
recent versions of FreeBSD, seems to have only read and extract
support for ISO 9660 archives, and not write support (see
libarchive-formats(5) or
http://code.google.com/p/libarchive/wiki/LibarchiveFormats ). So
while you could use tar(1) or cpio(1) to extract the contents of the
dvd without mounting it in order to make your change, you would have
to use some other tool to write the new .iso image, like mkisofs(8)
from the sysutils/cdrtools-devel port. (And if the original image has
extensions that are not supported by librarchive(3), you could use
something like readcd(1) from that same port instead of tar(1) or
cpio(1) to read and extract it.)



If the linux suggestion fails I will try this one.

Unfortunately I can't do Make release as it is not Freebsd. It is a
Windows based boot cd.

Thanks!

b.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@xxxxxxxxxxx"


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Change one file in an ISO image
    ... Mounting is not the issue, copying data neither but the ISO is also ... support for ISO 9660 archives, ... while you could use taror cpioto extract the contents of the ...
    (freebsd-questions)
  • Re: Gunnery Sgt. Michael Burghardt
    ... Money might be Carl's god; a profile check quickly refutes that theory and shows an individual who owns an ancient RV that was cobble together by a manufacturer that lacks the resources and support of any dealers, and drives el cheapo Hyundai bottom of the line economy model and collecting social security. ... BTW, the average price of an apartment here on Key Biscayne is above $1.5 Million -- but I bought my townhouse 32 years ago when prices were real low. ...
    (rec.outdoors.rv-travel)
  • Re: SQL script does not run within my ODBC session ?
    ... Btw, the SQL code is generated via XSLT, so I can simply remove that ... btw, the driver doesn't support comment very well. ... sylvain aei ca (fill the blanks, no spam please) ...
    (microsoft.public.data.odbc)
  • Re: Where was the Lib outrage?
    ... BTW, why aren't you enlisted in the military and fighting in Iraq? ... I believe in it and I support it. ...
    (alt.guitar.amps)
  • Re: To MS people :no event sounds
    ... "Manlio" wrote ... and BTW another ... This is a peer to peer newsgroup, ... For official MS support: ...
    (microsoft.public.windowsxp.general)