Edit an ISO / dd file?

Just trying to come up with a solution to something I'm trying...

Does anyone know if it's possible to edit the contents of an ISO image? Or a file created using the dd command?

What am I trying to do? - Well, I had the idea that if I took the FreeBSD "mini.iso" - I could strip out the bits of it I didn't need, put in the bits I want; burn it to CD and have a customised, bootable CD!!!

Any ideas?

You could use a binary/hex editor :slight_smile:

Here are a few to consider:

http://www.linux.org/apps/AppId_6968.html

http://www2.plala.or.jp/mita/download/hi/info_en.html

Neo,

Would that work?

I mean, would I be able to pull out entire "files" / "folders" and then add in entirely different ones?

But thanks for the help so far!

I know that ISO images can be mounted (I have done that before) but I have never tried to modify an ISO.

Here is some info on mounting a ISO. I dunno if they can be modified after mounting, though. Might be read-only.

In your original post you said you wanted to 'pull out bits' and 'replace them'... that can be done with binary editors but you have to know what you are doing.

When you say 'pull out entire files' .. that is a different problem than 'pulling out bits'....

I use binary editors to change only small things like works and phrases, or correct a bad pointer.

However, there are folks who can do things with binary editors that would make the greatest techie green with envy. I used to work with one guy who could change compiled machine code with a binary editor and alter programs because he did not like how the compiler was working (not me!) or simply because recompiling took too long.

If your goals are to change out files, then of course, a binary editor is too difficult. That was not the question in your original post :slight_smile: