Re: How to create .iso file image of cdrom (atapi)?

From: Lowell Gilbert (freebsd-questions-local_at_be-well.ilk.org)
Date: 01/07/04

  • Next message: David D.W. Downey: "RE: Commercial Distribution?"
    To: freebsd-questions@freebsd.org
    Date: 07 Jan 2004 09:44:55 -0500
    
    

    Sergey 'DoubleF' Zaharchenko <doublef@tele-kom.ru> writes:

    > Ah, I see, first mount the cdrom, then make an iso from its filesystem -
    > then that's OK, but is seems a little of an overkill, as the cdrom
    > already `contains' the iso. If created your way, the image will not
    > be completely identical to the one on the cd (for example, the boot
    > sectors, if any, will be missing).

    The canonical answer from the handbook is

         Duplicating Data CDs

        You can copy a data CD to a image file that is functionally
        equivalent to the image file created with sysutils/mkisofs, and
        you can use it to duplicate any data CD. The example given here
        assumes that your CDROM device is acd0. Substitute your correct
        CDROM device. A c must be appended to the end of the device name
        to indicate the entire partition or, in the case of CDROMs, the
        entire disc.

        # dd if=/dev/acd0c of=file.iso bs=2048

        Now that you have an image, you can burn it to CD as described above.

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#IMAGING-CD

    -- 
    Lowell Gilbert, embedded/networking software engineer, Boston area: 
    		resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
    		username/password "public"
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: David D.W. Downey: "RE: Commercial Distribution?"

    Relevant Pages

    • Re: IRP Response
      ... Dude just attach to the CDROM device and you'll get get the routines ... a class upper filter driver in the device stack. ...
      (microsoft.public.development.device.drivers)
    • why is /dev/cdrom owned by root:disk after installation?
      ... I have installed Debian a few time. ... my CDROM device /dev/cdrom is linked to ... to too) the ownership to root:cdrom, and make all users members of cdrom ...
      (Debian-User)
    • Re: How do I access the CDROM?
      ... > I've got a tar file I'd like to extract, and it is on a CDROM (which was ... > I know how to use tar, but I can't seem to locate the cdrom device. ... First you have to mount the device. ...
      (alt.os.linux.suse)
    • unmounting cdrom
      ... It often happens after mounting a cdrom and copying some material from it ... to a directory of the hard drive, that my attempts at unmounting are ... greeted with the error message that the cdrom device is busy. ...
      (alt.os.linux)
    • Re: downloaded txt.iso file: how to make a bootable cdimage out of it??
      ... Jérémie Knuesel wrote: ... >the iso file directly with the loop device. ... yes i loop-mounted the image.iso (made under woody) and so i could read ... so i made another cdrom with sarge and - lo - out came a bootable cdrom ...
      (Debian-User)