LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2009, 11:43 AM   #1
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool Can anybody verify this md5sum?


# md5sum /home/KNOPPIX_V6.0.1CD-2009-02-08-DE/KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5
22b394f2fd4c54987a6ac3cbef3db0c4 /home/KNOPPIX_V6.0.1CD-2009-02-08-DE/KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5

And the file KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5 contains
41b318b4476476a4e17a7020fff4e5cc *KNOPPIX_V6.0.1CD-2009-02-08-DE.iso

Is this corrupted or not ? If not why , coz i feel its corrupted
 
Old 05-15-2009, 11:51 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Obviously it is corrupt (they should be same)
 
Old 05-15-2009, 01:14 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,617

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
vibinlakshman:

Q-"Is this corrupted or not ? If not why , coz i feel its corrupted"

Comment:

Checksums are simple arithmetical values intended to quickly compare equality between two files. If part of the given value is not congruent to the one generated from your second file (copy) they are indeed unequal and therefore, as a matter of course, in order to avoid problem, another copy should be obtained one that can return digitally equal value to the original.

Hope this helps.
 
Old 05-15-2009, 07:29 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,603
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,
Quote:
Originally Posted by vibinlakshman View Post
# md5sum /home/KNOPPIX_V6.0.1CD-2009-02-08-DE/KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5
22b394f2fd4c54987a6ac3cbef3db0c4 /home/KNOPPIX_V6.0.1CD-2009-02-08-DE/KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5

And the file KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5 contains
41b318b4476476a4e17a7020fff4e5cc *KNOPPIX_V6.0.1CD-2009-02-08-DE.iso

Is this corrupted or not ? If not why , coz i feel its corrupted
If the data that you present in your post is correct then why are you checking the md5sum on the '/home/KNOPPIX_V6.0.1CD-2009-02-08-DE/KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5' which is text file that contains the sum for the iso. This file is used to do a md5sum on the iso that you want/downloaded. No need to check the text file for hash. Read 'man md5sum'.
 
Old 05-15-2009, 09:06 PM   #5
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Wink

Quote:
Originally Posted by onebuck View Post
Hi,


If the data that you present in your post is correct then why are you checking the md5sum on the '/home/KNOPPIX_V6.0.1CD-2009-02-08-DE/KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5' which is text file that contains the sum for the iso. This file is used to do a md5sum on the iso that you want/downloaded. No need to check the text file for hash. Read 'man md5sum'.
Oops i didnt get that .. So can i shoot a doubt plz ..
From my knowledge md5sum means both the values in the file and what i got while performing md5sum with the iso should be equal
But i need to know in any circumstances whether it cant be equal .?

But how did it give different values , i'm confused ?
 
Old 05-15-2009, 09:15 PM   #6
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
from you output provided you should use md5sum in this fashion after cd to the directory that contains the knoppix ISO you downloaded:
Code:
md5sum -c KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5
man md5sum should indicate the flag to tell md5sum to check the files against the sum(s) in the .md5; that is where i got the -c switch;

 
Old 05-15-2009, 09:45 PM   #7
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Red face

Quote:
Originally Posted by rayfordj View Post
from you output provided you should use md5sum in this fashion after cd to the directory that contains the knoppix ISO you downloaded:
Code:
md5sum -c KNOPPIX_V6.0.1CD-2009-02-08-DE.iso.md5
man md5sum should indicate the flag to tell md5sum to check the files against the sum(s) in the .md5; that is where i got the -c switch;

Will it take too long ..? Coz i'm facing long time after this command is executed
 
Old 05-15-2009, 09:52 PM   #8
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
yes, it generates an md5sum hash of the ISO to compare with the one recorded in the .md5 file.
it really is size dependent, the larger the iso the longer to calculate the sum to compare with the one in the .md5 file
 
Old 05-16-2009, 08:33 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,603
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

The difference in the sum will indicate that your download was indeed corrupted so a new download would be necessary. You could even download from a different mirror to get the file.

Time of the md5sum check will depend on your system. When you do a md5sum on the file you are computing the check on a byte level. So the time will be dependent on the size of the file and the power of your system. Patience!

I would check the md5sum. If you downloaded the cd/dvd iso then be sure to check the md5sum for the original iso. From the cli;

Code:
~#cd /downloadisolocation      #cdromiso.iso cdromiso.md5 

~#md5sum -c cdromiso.md5       #substitute the correct name to check
If the iso md5 is OK then you should try 'CdromMd5sumsAfterBurning''.

This way you will know if the burn was OK! You might need to change your burn speed to a lower value.

This will check the download iso with the known md5sum that you also get with the iso.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openssl ssl error code 14090086 verify the CA cert is ok / certificate verify failed acummings Slackware 14 02-27-2009 02:51 AM
md5sum dana-kim Slackware 1 01-09-2006 08:49 AM
md5sum - then what? wmcase Linux - Software 2 10-05-2004 11:55 AM
Md5sum? Shabadu Linux - General 2 07-22-2003 01:51 PM
Md5sum ? mikeshn Linux - General 6 07-03-2003 12:09 PM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration