duplicating an iso9660 cd (cd-r -> file -> cd-r)

duplicating an iso9660 cd (cd-r -> file -> cd-r)

Post by Paul Slootm » Fri, 30 May 1997 04:00:00




Quote:

>Rather than keep the original raw .iso image around (the initial output of
>mkisofs that I used), can I easily extract it from one of my master cd-r's
>just by doing a 'dd', like:

>    # dd if=/dev/scd0 of=image.iso

>then running cdwrite with image.iso as the input file?

This will work just fine. Note that cdrom devices usually have a block size
of 2k, so add "bs=2k" to be 100% correct (it probably doesn't matter on
Linux, but might on other OSes). If you have a sufficiently fast / dependable
cdrom reader, you can even burn a cdrom directly from the original.
The only gotcha here is that you need to find out how large the image
is (as cdwrite cannot stat the image to find out its size). The tool
isosize does this. Something like

    cdwrite --bytes `isosize /dev/scd0` /dev/scd0

should do it (assuming the first SCSI cdrom reader is the source, leaving
out any other required options, etc.)

Paul Slootman
--
Murphy Software, Enschede, The Netherlands      | UNIX is easy to use.


      http://www.wurtel.demon.nl                | Learn the difference.

 
 
 

duplicating an iso9660 cd (cd-r -> file -> cd-r)

Post by Terry Tans » Fri, 30 May 1997 04:00:00



> I need to duplicate some cd-r's that I burned (on linux, with mkisfo and
> cdwrite).  It was a filesystem backup - nothing special, protected,
> multisession, no audio, etc.  Just a plain iso 9660 rockridge filesystem.
> Rather than keep the original raw .iso image around (the initial output of
> mkisofs that I used), can I easily extract it from one of my master cd-r's
> just by doing a 'dd', like:
>    # dd if=/dev/scd0 of=image.iso
> then running cdwrite with image.iso as the input file?

How about just mounting the CD and using mkisofs to create an image of it
which then gets burnt to CDR.

Terry

--
      *********   Terry Tanski, B.Sc.
     **********
    .      ****   Educational Technology   Phone: (403) 675-6339
   ..      ****   Athabasca University       FAX: (403) 675-6338

 ..........****   Athabasca, AB  CANADA      Web: http://www.athabascau.ca

 
 
 

duplicating an iso9660 cd (cd-r -> file -> cd-r)

Post by Paul Slootm » Fri, 30 May 1997 04:00:00



Quote:

>Rather than keep the original raw .iso image around (the initial output of
>mkisofs that I used), can I easily extract it from one of my master cd-r's
>just by doing a 'dd', like:

>    # dd if=/dev/scd0 of=image.iso

>then running cdwrite with image.iso as the input file?

This will work just fine. Note that cdrom devices usually have a block size
of 2k, so add "bs=2k" to be 100% correct (it probably doesn't matter on
Linux, but might on other OSes). If you have a sufficiently fast / dependable
cdrom reader, you can even burn a cdrom directly from the original.
The only gotcha here is that you need to find out how large the image
is (as cdwrite cannot stat the image to find out its size). The tool
isosize does this. Something like

    cdwrite --bytes `isosize /dev/scd0` /dev/scd0

should do it (assuming the first SCSI cdrom reader is the source, leaving
out any other required options, etc.)

Paul Slootman
--
Murphy Software, Enschede, The Netherlands      | UNIX is easy to use.


      http://www.wurtel.demon.nl                | Learn the difference.

 
 
 

duplicating an iso9660 cd (cd-r -> file -> cd-r)

Post by Mike Cast » Mon, 02 Jun 1997 04:00:00




>How about just mounting the CD and using mkisofs to create an image of it
>which then gets burnt to CDR.

Trying to save time?

mrc