Re: adding a directory to a CD-image (.iso)

2005-03-18 Thread Stuart Barkley
On Thu, 17 Mar 2005 at 15:02 -0500, Mikhail Teterin wrote:

> I donwloaded an .iso-image (Solaris 10, actually), which is about
> 2.7Gb.
>
> Before burning it to a DVD, I'd like to add a directory to the
> image. Is there a way to do it with tools available on FreeBSD --
> mkisofs, growisofs, etc?
>
> I don't want to recreate the main image from scratch, as I'm sure,
> I'll get the options wrong and it will not boot :-) Can I just add a
> directory to the existing iso8859 filesystem?

I have not done this but think you should be looking into making a
multi-session DVD.  This should be easy.

Method 1 (should be easy and direct):

Just burn the original DVD image with growisofs in multi-session mode
(the default):

growisofs -Z /dev/dvd=image.iso

You should then be able to directly add your new files with:

growisofs -M /dev/dvd -R -J /more/files

Method 2 (probably more appropriate for a CD image):

Use mkisofs to create a second session .iso file.  Something like:

mkisofs -o second.iso -C  -M image.iso -R -J /more/files

You might need to burn the first session and use burncd/cdrecord or
something to get the magic numbers for the -C option.

Stuart
-- 
I've never been lost; I was once bewildered for three days, but never lost!
--  Daniel Boone
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: adding a directory to a CD-image (.iso)

2005-03-18 Thread Mikhail Teterin
> > I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb.
> >
> > Before burning it to a DVD, I'd like to add a directory to the image. Is
> > there a way to do it with tools available on FreeBSD -- mkisofs,
> > growisofs, etc?
> >
> > I don't want to recreate the main image from scratch, as I'm sure, I'll
> > get the options wrong and it will not boot :-) Can I just add a directory
> > to the existing iso9660 filesystem?

> Would mounting it with vnconfig let you do this?  I've never tried,
> myself...

Well, yes, this is how I get to read the CD-image without burning it first. 
But that is a read-only thing. I need to modify an existing image -- add a 
directory tree to it...

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


Re: adding a directory to a CD-image (.iso)

2005-03-18 Thread Brian Reichert
On Thu, Mar 17, 2005 at 03:02:18PM -0500, Mikhail Teterin wrote:
> Hello!
> 
> I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb.
> 
> Before burning it to a DVD, I'd like to add a directory to the image. Is 
> there 
> a way to do it with tools available on FreeBSD -- mkisofs, growisofs, etc?
> 
> I don't want to recreate the main image from scratch, as I'm sure, I'll get 
> the options wrong and it will not boot :-) Can I just add a directory to the 
> existing iso8859 filesystem?

Would mounting it with vnconfig let you do this?  I've never tried,
myself...

> Thanks!
> 
>   -mi
> ___

-- 
Brian Reichert  <[EMAIL PROTECTED]>
55 Crystal Ave. #286Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


adding a directory to a CD-image (.iso)

2005-03-17 Thread Mikhail Teterin
Hello!

I donwloaded an .iso-image (Solaris 10, actually), which is about 2.7Gb.

Before burning it to a DVD, I'd like to add a directory to the image. Is there 
a way to do it with tools available on FreeBSD -- mkisofs, growisofs, etc?

I don't want to recreate the main image from scratch, as I'm sure, I'll get 
the options wrong and it will not boot :-) Can I just add a directory to the 
existing iso8859 filesystem?

Thanks!

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