Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 05:50:58 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Making a mounted ISO image of a CD-ROM writable
Message-ID:  <46975929.8070005@cyberleo.net>
In-Reply-To: <p06240801c2bc49af1b37@[10.20.30.108]>
References:  <p06240817c2bc319e94be@[165.227.249.210]>	<20070712205321.GA42450@slackbox.xs4all.nl> <p06240801c2bc49af1b37@[10.20.30.108]>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Hoffman wrote:
> At 10:53 PM +0200 7/12/07, Roland Smith wrote:
>> On Thu, Jul 12, 2007 at 12:38:10PM -0700, Paul Hoffman wrote:
>>>  Greetings again. I want to make an ISO image of the FreeBSD
>>> distribution
>>>  with a boot.config file that contains "/boot/loader -h". I have the ISO
>>>  image as a file on my hard drive, and have mounted it on /mnt:
>>>
>>>  mdconfig -a -t vnode -f /path/to/my/bootable.iso -u 0
>>>  mount -w -t cd9660 /dev/md0 /mnt
>>>
>>>  However, when I try to create files on /mnt, I get:
>>>
>>>  -su: boot.config: Read-only file system
>>>
>>>  How do I make it so that I can write into /mnt so that I can then later
>>>  save those back to the ISO image?
>>
>> Try the sysutils/isomaster port.
> 
> Er, thanks, but I am running on a text-only system. Looks nice, however.
> 
> Other thoughts? I would hope this would be as easy as "run this program
> to change the image to read-write".

Due to the way iso9660 (cd) filesystems are arranged, they cannot be
written to after they are created. The easiest option would be to copy
all the files to a directory on your hard disk, make the required
changes, and use mkisofs to regenerate a new iso9660 filesystem.

This will likely require more than a cursory perusal of mkisofs(8),
given that you wish to create a bootable CD.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/



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