Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 19:26:01 -0400
From:      Bryant Eadon <bryant.eadon@gmail.com>
To:        "Gelsema, P \(Patrick\) - FreeBSD" <freebsd@superhero.nl>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: Change one file in an ISO image
Message-ID:  <4AB17409.4000601@gmail.com>
In-Reply-To: <a0a7749502c43d4b8927c0ce2174e45a.squirrel@webmail.superhero.nl>
References:  <a0a7749502c43d4b8927c0ce2174e45a.squirrel@webmail.superhero.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

Gelsema, P (Patrick) - FreeBSD wrote:
> Hi list,
> 
> 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?

Have you tried mounting it as a vnode ? and mounting it R/W ?

mdconfig -a -t vnode -f file.img
mount -t <type> /dev/md0 /mnt/rw_dvd

Where <type> may be cd9660 or some other format of the image.

I haven't seen reported success with this method (checked with various google 
searches), but perhaps there's something along these lines *will* work.

Hope that helps,
Bryant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB17409.4000601>