LinuxQuestions.org
Review your favorite Linux distribution.
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 08-12-2006, 10:23 AM   #1
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Rep: Reputation: 16
How to perform a md5checksum on a ISO image


My Question is how to Do a MD5checksum on an iso image that was downloaded from LQ site.

This is what i did..
I downloaded Fedora Core 5 image1.iso file using Download accellerator. I used your md5summer and used the create sums option for the image and that created a .md5 file. Then i used the Verify sums option then selected the .md5 file. It then produced a result file.

Ok...Now i should say that i am not sure what i am doing.

Say, i want to check the the output of the sum pattern that i downloaded to he original pattern that was given , how do i do that?
I thaught that when i do the veryfy thing then the txt would produce a sum pattern of the file i downloaded and then i could compare it with the original one.

Thank you for anyone's help in advance.
Regards,
Azzath.
 
Old 08-12-2006, 10:31 AM   #2
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
I belive

md5sum filename

would do it.
 
Old 08-12-2006, 10:49 AM   #3
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Hi isuck@linux, could you be a bit more specific..
Do u mean
md5sum filename in the command prompt?
 
Old 08-12-2006, 11:10 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yes, in a terminal. Edit: you can use "md5sum -c filename", where filename is the name of the file that contains the checksum of the ISO(s) you want to verify.
 
Old 08-12-2006, 11:22 AM   #5
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Nylex,
i am a bit confused.
Say that all i have is a image1.iso file. So how do i generate a .md5 file out of it? or do u think that i should get it from the site that i downloaded image.iso ?

Sorry man..its not clear.
Thank you for the reply..
Regards,
azzath.
 
Old 08-12-2006, 11:26 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you want to generate the sum for the ISO, you just use "md5sum filename", with filename being the name of the file you downloaded. You can also download the .md5 file from the mirror, which contains the checksum for the ISO you downloaded. You will then be able to tell md5sum to check the sum for the ISO against that given in the .md5 file, hence verifying the file's integrity.
 
Old 08-12-2006, 11:35 AM   #7
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Oh ok...
Nylex, I couldnt find the .md5 file from the mirror i downloaded the Fedora Core 5 image. Its http://iso.linuxquestions.org/version.php?version=304
Could you kindly tell me if you can see it in there somewhere. All i can see is a checksum pattern i.e 969b284a294b36b660b13a8e09127bbdb4cfe886..not a file.

Sorry about this, thanx.

Last edited by Azzath; 08-12-2006 at 11:37 AM.
 
Old 08-12-2006, 11:36 AM   #8
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
Nylex already answer your questions. USually you get a package read the md5 sum from your source and then check it out in your box using your favorite terminal:

Quote:
md5sum -c filename
 
Old 08-12-2006, 11:56 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The sha1 sums aren't the same as MD5 sums and so you need to use sha1sum to check them instead of md5sum. If you can't get them in a text file, just use "sha1sum filename", it'll generate the checksum and you can verify it yourself.

Also, the checksum you gave in your post appears to be one for a PPC ISO. Are you installing on a PPC machine?
 
Old 08-12-2006, 12:02 PM   #10
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Sorry no...its the i386 one..43546c0e0d1fc64b6b80fe1fa99fb6509af5c0a0
Ok thats cool then.i'l generate the sha1sum checksum and compare it with that one.
Thank you man,
regards,
azzath.

Last edited by Azzath; 08-12-2006 at 12:06 PM.
 
Old 08-12-2006, 12:04 PM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What I said in my last post still applies..
 
Old 08-12-2006, 12:22 PM   #12
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Original Poster
Rep: Reputation: 16
Nylex,
i generated a sha1sum using md5summer and the output is identical to the one that was given in the site. So thats fine right? I did the same for a couple more and it works fine. Thank you for your help.

Regards,
Azzath.
 
Old 08-12-2006, 01:15 PM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Yeah, if the sums match then that's ok .
 
Old 10-24-2006, 11:17 PM   #14
vamped
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
Question Almost Got It

Quote:
Originally Posted by Azzath
Nylex,
i generated a sha1sum using md5summer and the output is identical to the one that was given in the site. So thats fine right? ..
Ok, I typed $ sha1sum FC-6-i386-DVD.iso and it produced
6722f95b97e5118fa26bafa5b9f622cc7d49530c FC-6-i386-DVD.iso

That's the same number given at the site where I downloaded it. What I don't understand is how I know that the file is the original, latest, unmodified FC6. Couldn't the site have changed the file, added a virus, or etc and recreated the iso and a new sha1sum number?
 
  


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
How do you merge 4 CD ISO images into one DVD ISO image? nsydenham Linux - Software 6 01-15-2007 09:49 AM
iso image mehro Linux - Software 1 09-23-2005 08:34 AM
What is an ISO image anastacio Linux - Newbie 30 06-08-2004 10:48 AM
Media Test Passed, md5checksum failed piggysmile Linux - Newbie 3 05-02-2004 11:40 AM
What is an ISO image? 3.1416 Linux - General 4 01-13-2003 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 AM.

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