Translate

Archives

Copy DVD to Image File

On Linux, /dev/cdrom, /dev/dvd and /dev/cdrw are usually just symbolic links to /dev/sr0 or some other optical disc device. The following example shows one way to copy a a CD-ROM or DVD to an ISO file. dd if=/dev/dvd of=dvd.iso This mostly works, but sometimes a few extra NULL blocks are copied which will cause the DVD checksum not match the ISO image file checksum. The following will create an image of a DVD while ensuring that the image will have exactly the same checksum as the DVD itself: # COUNT=$(isoinfo -d -i /dev/cdrom) # dd if=/dev/dvd bs=2048 count=$COUNT conv=notrunc,noerror >