Jump to content
Sign in to follow this  
ramfree17

CL-05: How do I check if my cd/iso is not corrupted(md5sum)?

Recommended Posts

Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [CL: Command line questions]

 

CL-05 : How do I check if my cd/iso is not corrupted?

 

If you have downloaded an iso image of your favorite distro (or any file), it might serve you to check the md5 checksum (aka md5sum) of your data to see that what you downloaded is exactly the same as what resides in the source server. This only works if the server hosting the file provides the md5sum of the file (or you have acquired a copy from a trusted souce).

 

To check the md5sum of an image, run the following

$ md5sum yourimage.iso

which will display the md5 checksum of the file yourimage.iso. It is a common trick to just compare the first four and last four characters of the checksum with the checksum from the server.

 

If you have a file containing the checksum of one or more files, you can invoke the following to automate the checking (assuming that all files to be checked resides in the folder where md5sum is invoked).

$ md5sum checksumfile.md5

 

NOTE: If you are not using a *nix machine, you still can check the md5sum of your files using a native md5sum utility. Refer to the links below for some suggested md5sum applications.

 

If you have bought linux installation discs, you can still check the md5sum by issuing the following command (adjust the device descriptor to fit your machine specs)

 $ md5sum /dev/cdrom

but be wary of this caveat.

 

Reference Link(s):

http://www.md5summer.org/

http://www.etree.org/md5com.html

http://www.troubleshooters.com/linux/coasterless.htm

http://twiki.org/cgi-bin/view/Wikilearn/Cd...urning#In_Linux

man md5sum

 

[PREV: "CL-04: How can I use shortcuts in the command line?"] [NEXT: "CL-06: How to burn data cds from the command line?"]

Share this post


Link to post
Share on other sites

Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [CL: Command line questions]

 

CL-05 : How do I check if my cd/iso is not corrupted?

 

If you want to check the cds md5sum in WINDOWS, here is what you have to do:

 

1) Download md5sum.zip

 

2) Unzip the file using a Windows zip utility (WinZip or WinRAR are good ones)

 

3) Put that program in the same folder as your .iso images

 

4) Open a cmd (dos) window and cd to the folder containing your isos and the md5sum.exe utility. That could be something like that (you gotta get used to it ;-) )

c:

cd "Document and Settings/my documents/whatever"

 

5) Check the md5sum by typing

md5sum.exe name_of_iso_image.iso

and compare the output with what is on the Mandrake Linux download area. Here are the md5sum for MDK 9.1 (Bamboo) for your convenience (lucky boy).

6f1581974e12420fef87868ed6caa31f Mandrake91-cd1-inst.i586.iso

87afe11ddef6b619866322aa0797e45f Mandrake91-cd2-ext.i586.iso

ff187c7a552722f42790b5726fdb62b3 Mandrake91-cd3-i18n.i586.iso

If you don't get the exact same #/letters, the download is currupted. You have to download the image again. Repeat it for each cds!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...