Change one file in an ISO image

Warren Block wblock at
Thu Sep 17 03:03:00 UTC 2009

On Wed, 16 Sep 2009, Gelsema, P (Patrick) - FreeBSD 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?

Maybe use sysutils/geteltorito to extract the boot image, then mount the 
image and copy out the files, then reassemble the whole thing with 
mkisofs.  Untested...

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list