Duplicating a CD with DD

Last updated: Apr 8, 2008

Want to make an exact copy of a CD without installing k3b or some other burning software? You can do it in Linux/Freebsd with one line of code using dd. The nice thing about dd is that it will make a disk level duplicate of the CD. It should be a 100% exact copy.

Just replace the ‘/dev/hdc’ with your cdrom device and change ‘/path/toSave/CopyOfCD.iso’ to the place you want to store it.

$ dd if=/dev/hdc of=/path/toSave/CopyOfCD.iso bs=2048 conv=sync,notrunc

To mount it and list the contents:

`# mkdir /mnt/myCD

mount -o loop /home/mark/CopyOfCD.iso /mnt/myCD

$ CD /mnt/myCD $ ls`

You can burn with this command:

cdrecord -dao -speed=CHANGEME -dev=CHANGEME CopyOfCD.iso

Need to print shipping labels on your site?

Checkout my product RocketShipIt for simple easy-to-use developer tools for UPS™ FedEx™ USPS™ and more.

Get notified on new posts or other things I'm working on

Share: