writing CDs with dd?

Rashkae ubuntu at tigershaunt.com
Tue Sep 11 13:49:02 UTC 2007


Tomoki Taniguchi wrote:
> I just created a cd image using dd
> 
>> dd if=/dev/scd0 of=cd.img
> 
> then i tried to write the cd image back onto a blank cd using dd
> 
>> dd if=cd.img of=/dev/scd0
> 
> I gen an error saying scd0 is a readonly device
> 
> is there a way to write a CD using dd?
> 
No, no, and and a big no.  CD-R and DVD-R media cannot be written to 
like a normal block device. (I never realized how counter intuitive that 
was before.  I guess you had to be there when they first came out :) )

Try using cdrecord instead.

cdrecord dev=/dev/scd0 -v -dao cd.img


Note: in the future, if you need to grab an image of a cd, name the file 
  something.iso  Ubuntu GUI will recognize .iso file extension as a CD 
image and will do the right thing with it on a right click.

Note 2:  This probably won't have desired results on a music or mixed 
mode CD (CD's with music tracks as well as a data track)




More information about the ubuntu-users mailing list