This command can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this.
Make sure that the CD is unmounted before running this command
dd if=/dev/cdrom of=cd_image.iso
[tags]cd,dvd,image,iso,dd,linux,command[/tags]
FYI dd is making a copy of an existing iso9660 file structure from the CD to the output file, dd can not create an iso9660 image from scratch.
Something’s not working correctly…
With one video DVD (that I lawfully purchased!) brasero 2.32 creates a 4,673,273,856 byte ISO, but “dd bs=1024 if=/dev/sr0” creates a 4,383,023,104 byte ISO.