Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to edit bsdinstall script of freebsd 9.0 iso file.

I tried to extract files,edit and recreate iso but I couldn't boot it.I realized that some of files missed while extracting. I also use tools like "ISO Master" but when I try to open it, I get this error:

Failed to read directory tree: 'Rockridge filename missing when expected on image'

Now I am trying to mount it and edit inside mounted directory. But I can mount it only read-only format. Is there any way to mount writable format so that I can edit it?

share|improve this question

You can't edit file on mounted ISO image. But you can create a new one with all needed files. /usr/src/tools/tools/cd2dvd/cd2dvd.sh script uses mkisofs from sysutils/cdrtools (it's invoked in the end of the script). As you can see, it uses /boot/cdboot as boot image.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.