dd to create .iso of a cd

David Kelly dkelly at hiwaay.net
Thu May 25 06:33:36 PDT 2006


On Thu, May 25, 2006 at 03:35:29PM +1000, Mikhail Goriachev wrote:
> Jonathan Horne wrote:
> > 
> > can anyone recommend how to create a .iso image in freebsd that will
> > render a bootable .iso file?  i hate to have to keep a linux box around
> > the office just for the purpose of successfully creating a .iso file  :)
> 
> This is weird because it works for me. I do:
> 
> $dd if=/dev/acd0 of=file.iso bs=2048
> $burncd -f /dev/acd0 data file.iso fixate
> 
> My burnt copies boot boxen without problems. How do you burn your ISOs?

Some CD/DVD readers handle EOM differently than others. For "fun" use
the same dd command on the copied CD and compare it to the output of the
first dd from original.

I suggest Jonathan install sysutils/cdrtools from ports (if not already
installed) and use the readcd(1) utility which is part of that
collection. Its a bit of a hassle if your DVD/CD is ATAPI as the
atapicam(4) SCSI/ATAPI translation layer needs to be added to your
kernel. readcd(4) knows a bit more about what it is reading than dd so
it does a better job.

-- 
David Kelly N4HHE, dkelly at HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.


More information about the freebsd-questions mailing list