Verifying md5 of a burned cd

Here’s a quick way to verify a CD image was burned correctly. Using md5sum, you can verify that both the .iso file and the cd itself:

Use this to verify the md5 of the iso file
md5sum -b /some/path/to/your/file.iso

Then do this to verify the md5 of the burned CD
md5sum -b /dev/cdrom

If the result is the same, the image was burned successfully.