Re: Making a mounted ISO image of a CD-ROM writable

2007-07-13 Thread CyberLeo Kitsana
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
[EMAIL PROTECTED]

Furry Peace! - http://.fur.com/peace/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Making a mounted ISO image of a CD-ROM writable

2007-07-12 Thread Paul Hoffman
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?


--Paul Hoffman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a mounted ISO image of a CD-ROM writable

2007-07-12 Thread Roland Smith
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.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp1EtWb4OsuN.pgp
Description: PGP signature


Re: Making a mounted ISO image of a CD-ROM writable

2007-07-12 Thread Paul Hoffman

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.


--Paul Hoffman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]