LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Wrong md5sum after dd (http://www.linuxquestions.org/questions/linux-general-1/wrong-md5sum-after-dd-908956/)

goossen 10-19-2011 07:23 AM

Wrong md5sum after dd
 
I downloaded an ISO (linux installer) file, burnt it to a DVD and installed. Everything went OK.

Then I did:
Code:

dd if=/dev/cdrom of=file.iso
The md5sum hash is not the same of the downloaded ISO, but the DVD is OK, at least I could install linux successfully from it.

What I'm missing here ? :confused:

H_TeXMeX_H 10-19-2011 07:44 AM

The right command to use is:

Code:

cmp file.iso /dev/cdrom
The reason why md5sum doesn't match is because the image is padded with zeros after it is burned.


All times are GMT -5. The time now is 06:28 AM.