USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

How To Check MD5sums On A Linux Iso Image

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » All other software.
View previous topic :: View next topic  
Author Message
crouse
Site Admin


Joined: 17 Apr 2003
Posts: 11855
Location: Iowa

PostPosted: Sat Dec 20, 2003 6:48 am    Post subject: How To Check MD5sums On A Linux Iso Image Reply with quote

At the command prompt cd to the directory containing the iso's

Type md5sum the_name_ofthe_iso.iso

give your computer a minute to figure it out........ and it will display a long number and that should match the md5sum that the download site gave.

If they don't..... you have a corrupted iso file and will need to download again. Checking your downloaded iso's is an important step that shouldn't be forgotten, as it will save you headaches later on........ not to mention lost time.

A good place to read more is here : http://www.linuxiso.org/viewdoc.php/verifyiso.html

And here is what the man pages say about md5sum


Quote:

md5sum - compute and check MD5 message digest
SYNOPSIS
md5sum [OPTION] [FILE]...
md5sum [OPTION] --check [FILE]
DESCRIPTION

Print or check MD5 (128-bit) checksums. With no FILE, or when FILE is -, read standard input.

-b, --binary
read files in binary mode (default on DOS/Windows)
-c, --check
check MD5 sums against given list
-t, --text
read files in text mode (default)


The following two options are useful only when verifying checksums:

--status
don't output anything, status code shows success
-w, --warn
warn about improperly formated checksum lines
--help
display this help and exit
--version
output version information and exit

The sums are computed as described in RFC 1321. When checking, the input should be a former output of this program. The default mode is to print a line with checksum, a character indicating type (`*' for binary, ` ' for text), and name for each FILE.
AUTHOR
Written by Ulrich Drepper and Scott Miller.
REPORTING BUGS
Report bugs to <bug-textutils@gnu.org>.
COPYRIGHT
Copyright � 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
The full documentation for md5sum is maintained as a Texinfo manual. If the info and md5sum programs are properly installed at your site, the command

info md5sum

should give you access to the complete manual.


Back to top
View user's profile Send private message Visit poster's website AIM Address
lynch
Moderator


Joined: 15 Nov 2003
Posts: 2665
Location: The Diamond State

PostPosted: Sat Dec 20, 2003 9:42 am    Post subject: Reply with quote

Quote:
At the command prompt cd to the directory containing the iso's

Type md5sum the_name_ofthe_iso.iso

Yup. Smile That's how I do it.
You know about the media check on the CDs created from Redhat/Fedora .iso images? I have seen on different forums where a media check turns out good but the disk is still corrupted. I guess if the .iso wasn't checked before burning the image, the media check could get it wrong? Anyone know what the media check uses to verify the integrity of the CD?
lynch




Last edited by lynch on Wed Dec 24, 2003 9:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Germ
Keeper of the BIG STICK


Joined: 30 Apr 2003
Posts: 12504
Location: Planet Earth

PostPosted: Sat Dec 20, 2003 11:35 am    Post subject: Reply with quote

according to RH documentation, it's a md5sum check.......so how can you trust it? what if that part of the disk is bad from the git-go?



_________________
Laptop: Mandriva 2010.1 PowerPack - 2.6.34.2-tmb-laptop-1mdv
Desktop: Mandriva 2010.1 PowerPack - kernel 2.6.34.2-tmb-desktop-1mdv
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
lynch
Moderator


Joined: 15 Nov 2003
Posts: 2665
Location: The Diamond State

PostPosted: Sat Dec 20, 2003 1:21 pm    Post subject: Reply with quote

Exactly.Smile
lynch


Back to top
View user's profile Send private message
geeshock
Moderator


Joined: 02 Nov 2003
Posts: 1017
Location: Hertford, NC

PostPosted: Wed Dec 24, 2003 7:50 am    Post subject: Re: How To Check MD5sums On A Linux Iso Image Reply with quote

crouse wrote:
At the command prompt cd to the directory containing the iso's

Type md5sum the_name_ofthe_iso.iso

give your computer a minute to figure it out........ and it will display a long number and that should match the md5sum that the download site gave.

If they don't..... you have a corrupted iso file and will need to download again. Checking your downloaded iso's is an important step that shouldn't be forgotten, as it will save you headaches later on........ not to mention lost time.



We know all about those headaches don't we dave Smile

Tsk, tsk. LOL. Still not goina let you live that one down, ok, guess I will. Just had to throw one last one in Smile


Back to top
View user's profile Send private message Visit poster's website AIM Address
Xeroid
Site Admin


Joined: 19 Apr 2003
Posts: 6465
Location: Georgia

PostPosted: Wed Dec 24, 2003 9:12 pm    Post subject: Reply with quote

For our new Windows converts who are trying Linux for the first time, here is a kewl program you can download and run under Windows to check your MD5 sums.

http://www.md5summer.org/


Back to top
View user's profile Send private message Send e-mail Visit poster's website
schleyfox
Ultimate Member


Joined: 25 Jan 2004
Posts: 2376
Location: In front of my computer

PostPosted: Sat Feb 21, 2004 12:37 am    Post subject: Reply with quote

yeah its pretty cool gui interface and easy to use it helped me discover that my .iso for phlak wasnt the problem, it was my computer Smile


Back to top
View user's profile Send private message
Germ
Keeper of the BIG STICK


Joined: 30 Apr 2003
Posts: 12504
Location: Planet Earth

PostPosted: Sat Feb 21, 2004 1:03 am    Post subject: Reply with quote

I use this one at work (they make us use Win2K): http://www.blisstonia.com/software/WinMD5/



_________________
Laptop: Mandriva 2010.1 PowerPack - 2.6.34.2-tmb-laptop-1mdv
Desktop: Mandriva 2010.1 PowerPack - kernel 2.6.34.2-tmb-desktop-1mdv
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
mmmna
. . . .


Joined: 21 Apr 2003
Posts: 7258

PostPosted: Sat Feb 21, 2004 5:13 am    Post subject: Reply with quote

Xeroid wrote:
For our new Windows converts who are trying Linux for the first time, here is a kewl program you can download and run under Windows to check your MD5 sums.

http://www.md5summer.org/
And here is a different one - I used this one a lot: md5sum 1.1 for Windows


Back to top
View user's profile Send private message
irnis
New Member


Joined: 26 Apr 2004
Posts: 1

PostPosted: Mon Apr 26, 2004 8:10 am    Post subject: Reply with quote

And yet another one - http://www.accuhash.com


Back to top
View user's profile Send private message
Germ
Keeper of the BIG STICK


Joined: 30 Apr 2003
Posts: 12504
Location: Planet Earth

PostPosted: Mon Apr 26, 2004 11:57 am    Post subject: Reply with quote

Hi irnis. Welcome to USAlug. Very Happy



_________________
Laptop: Mandriva 2010.1 PowerPack - 2.6.34.2-tmb-laptop-1mdv
Desktop: Mandriva 2010.1 PowerPack - kernel 2.6.34.2-tmb-desktop-1mdv
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Xeroid
Site Admin


Joined: 19 Apr 2003
Posts: 6465
Location: Georgia

PostPosted: Mon Apr 26, 2004 11:19 pm    Post subject: Reply with quote

Hello irnis. Welcome aboard. Very Happy


Back to top
View user's profile Send private message Send e-mail Visit poster's website
mmmna
. . . .


Joined: 21 Apr 2003
Posts: 7258

PostPosted: Mon Jul 12, 2004 7:25 pm    Post subject: Reply with quote

I relocated this whole thread to the "Tutorials and How To's" forum, because it is accepted as accurate and complete.



_________________
-Kubuntu 10.04 LTS on Celeron D desktop
-PCLinuxOS 2010 LXDE on EeePC 900A with Atom n270 (modded with 32G SATA SSD drive and 2G ram).
Back to top
View user's profile Send private message
smartcat99s
Jr. Member


Joined: 19 Dec 2004
Posts: 66
Location: Omaha

PostPosted: Tue Dec 21, 2004 2:49 pm    Post subject: Reply with quote

I just put cygwin on to do my md5 summing, plus I get bash in windoze.



_________________
Arch Linux - 2.6.28-blackice1 (custom based on git tree/tuxonice)
Back to top
View user's profile Send private message
JP
Linux Guru


Joined: 07 Jul 2004
Posts: 6677
Location: Central Montana

PostPosted: Tue Dec 21, 2004 6:57 pm    Post subject: Re: How To Check MD5sums On A Linux Iso Image Reply with quote

crouse wrote:


give your computer a minute to figure it out........


Your 'puter must be as slow as mine Laughing Laughing


Welcome to the LUG irnis Glad to have you here!!
Very Happy Very Happy



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » All other software. All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2003-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2001-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse