[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Checksum for iso image netinst i386



Wally Lepore writes:
> On Wed, Sep 26, 2012 at 10:22 PM, Wally Lepore <wallylepore@gmail.com> wrote:
> > On Wed, Sep 26, 2012 at 7:49 PM Ralf Mardorf wrote:
> > I don't know how to do that on Windows.
> > Don't you have a burning software that will show the MD5sum of the ISO?
> > If so, simply compare the sum with sum from the http links without
> software.
> 
>  Hi Ralf,
> 
>  Yes I do have software on windows called "winmd5sum" that does all
>  this automatically using a different process. The Cd Burner method you
>  mention is also another way. I will look into that. Also I discovered
>  there are many different ways to verify that a downloaded file is
>  error free. Using the program md5sum.exe is just one of many different
>  methods using the command line. I simply wanted to learn this
>  particular method, that's all.

Here is what I did

- Download a program to check MD5SUM on Windows:
http://www.pc-tools.net/win32/md5sums/

- I extracted the zip file into c:\md5sum on my system.

- I downloaded a netinstall image from 
http://cdimage.debian.org/debian-cd/6.0.5/i386/iso-cd/

  debian-6.0.5-i386-netinst.iso

- Also there was a file called MD5SUMS.txt, I download that also.
Both the iso and MD5SUMS.txt file are in my download directory.
(In this case c:\Users\testusr\Downloads)

- I ran md5sum.exe on the ISO:
c:\md5sum\md5sum.exe -u c:\Users\testusr\Downloads\debian-6.0.5-i386-netinst.iso

Note: I used the -u flag, this tells md5sum.exe to mimic the output of 
the UNIX md5sum command, which was used to create MD5SUMS.txt.

OUTPUT:
C:\Users\testusr\Downloads>c:\md5sum\md5sums.exe -u  c:\Users\testusr\Downloads\debian-6.0.5-i386-netinst.iso 
bdf926d604258ce17dfba0b5ef067f17 *debian-6.0.5-i386-netinst.iso

- I opened a notepad session, cutting and pasting the output of the 
md5sum command into a new session.

- I then opened the MD5SUMS.txt file in a seperated notepad session and
looked for the debian-6.0.5-i386-netinst.iso line:

bdf926d604258ce17dfba0b5ef067f17  debian-6.0.5-i386-netinst.iso

-I cut and pasted that line directly under the output of the md5sum command
I had put into the notepad session previously, getting the following
file:

bdf926d604258ce17dfba0b5ef067f17 *debian-6.0.5-i386-netinst.iso
bdf926d604258ce17dfba0b5ef067f17  debian-6.0.5-i386-netinst.iso

Hence, I can verify that ISO and come to the conclusion that this 
is pretty darn complicated on Windows.

To double check my work, I verified on my Debian system:

mek@kuip:tmp-> md5sum -c MD5SUMS.txt 2>&1 | grep netinst
debian-6.0.5-i386-netinst.iso: OK

Hope that helps.


Reply to: