Skip site navigation (1)Skip section navigation (2)
Date:      07 Jan 2004 09:44:55 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        freebsd-questions@freebsd.org
Cc:        "W. Sierke" <ws@au.dyndns.ws>
Subject:   Re: How to create .iso file image of cdrom (atapi)?
Message-ID:  <44r7ybrf6g.fsf@be-well.ilk.org>
In-Reply-To: <20040107093611.0a7983df.doublef@tele-kom.ru>
References:  <02b401c3d2d7$81439f40$8464a8c0@ovirt.dyndns.ws> <20040106223548.Q16741@zoraida.natserv.net> <20040107081315.0786de1e.doublef@tele-kom.ru> <20040107010808.A20050@zoraida.natserv.net> <20040107093611.0a7983df.doublef@tele-kom.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



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