Copy a CD or DVD with dd

If you need to copy a CD to your hard drive:

  prompt@shell$  dd if=/dev/cdrom of=/path/to/cdcopy.iso

For a DVD:

  prompt@shell$  dd if=/dev/dvd of=/path/to/dvdcopy.iso

Related Articles


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

i can copy my home-made DVDs

hanse's picture

i can copy my home-made DVDs with the commands but i cant copy DVD movies ,any suggestions?

Does it work?

hansekarl's picture

i have to say this command does not work on my Ubuntu machine, it seems like my DVD is protected, i just wonder.

A good article related to the issue

anjanaya's picture

I thought it was a nice one to read

  • I think the title should

    Anonymous's picture

    I think the title should read how to copy a data CD/DVD. (No applicable to music CDs)

    ddrescue? and why not music CDs

    pbhj's picture

    I'd have thought that you'd be better using something like ddrescue that verifies the data it copies (not sure if cdparanoia can do this to copy to hdd too).

    Also, why not for music discs? You can pipe them through your music player then can't you?

    Audio cd image, but how

    RudyD's picture

    I would be interested in a nice try on that. Just dumped some audio cd -s with plain dd as a nerd. B-)
    Just could not load to any software to tell that is an audio cd.
    Is there a way to write a proper disc from that image? (just the plain device data dump saved to a file, like dd if=/dev/cdrom of=/path/to/backup/file.iso)
    Would be quite important in this case, because the original disc got lost and it would be nice to recover it from an image like this.

    only copies the first 512MB of the DVD

    MiguelKJ's picture

    I am using FC6 but
    dd if=/dev/dvd of=/path/to/dvdcopy.iso
    only copies the first 512MB of the DVD.

    Is there a way to copy the whole disk ?

    Check system log

    Mitch Frazier's picture

    That should copy the whole disk. I'd check your system log to see if you're getting some kind of error.

    Mitch Frazier is an Associate Editor for Linux Journal.

    try bs=1024 in option

    Anonymous's picture

    try bs=1024 in option