Checksum Question


16 posts
by midget3376 » Wed Apr 18, 2012 5:50 pm
When I open the sha1 file that comes with the download, it matches what I get when I run the sha1sum.exe with the downloaded .img file.  But they don't match the one on the download web page.  Is that an issue?
Posts: 3
Joined: Thu Mar 15, 2012 2:29 am
by nick.mccloud » Wed Apr 18, 2012 6:51 pm
I'm assuming you are referring to the debian image.

The sha1 I get is f821205afdbd6136b0f2d32264b526b2cbddb5fc which is indeed different from the one on the downloads page but the same as the one in the .sha1 file.

However, as mentioned else where, not many people check these things and just forge on feeling hopeful. If yours matches mine I think you can carry on. I'll alert the powers that be that there is an issue.
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by nick.mccloud » Wed Apr 18, 2012 6:57 pm
Additionally, the archlinux sha1 seems to concur with it's file but not with the downloads page.

73cc9bf81342d3305fce3d4e18ebc165a054cf66
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by nick.mccloud » Wed Apr 18, 2012 7:01 pm
Ah, I see what they did, just to keep us all on our toes, they sha1'd the archive file that we download and for double extra protection we also get an sha1 for the file inside.

Sneaky.

Hopefully the downloads page will be updated to reflect this nested array of sha1's!
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by midget3376 » Thu Apr 19, 2012 1:30 pm
Thanks!  The reason I checked was because, I'm new to this, and in Liam's YouTube tutorial, he highly recommended we check.  It's a whole lot to learn!  Thanks again!
Posts: 3
Joined: Thu Mar 15, 2012 2:29 am
by maddogdave » Thu May 03, 2012 10:40 pm
I was having exactly the same problem.  Tried a number of different downloads and the sha1 file was always the same but didn't match the download page.  Still on countdown for receiving my Raspberry Pi so thought I would get an image ready.  The code I get for the latest image matches the .img.sha1 so I guess it should be OK.  Maybe this needs some clarification in the forum / FAQ's.  As the last time I did 'programming' was on my Acorn Electron after using 'Sinclair Basic' when the ZX81 was the computer of choice I'm going to need all the help I can get.  It's going to be a steep but fun learning curve for many of us.  Can't wait. 6 weeks and counting.
Dave
Posts: 36
Joined: Sat Dec 17, 2011 6:05 pm
Location: Berkshire England
by ScooterIT » Sat May 12, 2012 2:29 am
I also downloaded the file twice from different servers and did not find a match.

Also there are two files after unzipping the file. A large and a small one. The instructions are not clear about witch one to check.

Assuming its the 1.5 Gb one that has to match. Regardless, non of the files matched the checksum.

Absolute beginner using a Mac..
Posts: 11
Joined: Tue Feb 21, 2012 6:43 pm
by ghans » Sat May 12, 2012 8:43 am
AFAIK the downloads are .zip files which contain a .img file and a SHA-1 Checksum file.

The checksum on the page is for the .zip file.
The checksum in the .zip file is for the .img file.

@ScooterIT

You can put the .img file on the card . Just use one of the mentioned tools.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
Posts: 4506
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany
by ScooterIT » Sat May 12, 2012 2:04 pm
Thanks for the reply.

I tried to create the image on a SD card using terminal and some other tool and failed miserably. NOT enjoying it. Having to struggle to get the basics going all on my own with help from websites is not cutting it for me.

Organized a meetup group other than a bunch of sign ups only one person is actually interested in showing up for a meeting to share knowledge.

This is not for me.

Ebay.
Posts: 11
Joined: Tue Feb 21, 2012 6:43 pm
by modmypi » Sat May 12, 2012 2:12 pm
If you're struggling to create an SD card image I've written a step by step guide for the Debian install, with verification. I'd actually be interested in your feedback on how easy it is to follow.

You can find the step by step guide to installing Debian on an SD card here on the ModMyPi blog.

Let me know what ya think.

ModMypi
Raspberry Pi Cases for your Raspberry Pi! Unique, colourful, customisable designs available from ModMyPi now!
Posts: 58
Joined: Mon Mar 19, 2012 9:41 am
by ScooterIT » Sat May 12, 2012 2:16 pm
Looks great, very clear, well organised page.

But I am on a Mac...
Posts: 11
Joined: Tue Feb 21, 2012 6:43 pm
by jamesh » Sat May 12, 2012 3:09 pm
ScooterIT said:


Thanks for the reply.

I tried to create the image on a SD card using terminal and some other tool and failed miserably. NOT enjoying it. Having to struggle to get the basics going all on my own with help from websites is not cutting it for me.

Organized a meetup group other than a bunch of sign ups only one person is actually interested in showing up for a meeting to share knowledge.

This is not for me.

Ebay.


I agree, if you really are not enjoying the basics at this point, or don't enjoy experimentation or spending time learning about this stuff, you should probably flog the Pi to someone who will. Come back later when all the images and docs etc are in a better state.
Unemployed software engineer currently specialising in camera drivers and frameworks, but can put mind to most embedded tasks. Got a job in N.Cambridge or surroundings? I'm interested!
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11686
Joined: Sat Jul 30, 2011 7:41 pm
by ScooterIT » Sat May 12, 2012 3:18 pm
Yes unfortunately.

Wish I could learn hands-on.

All the training I can find (for example I really want to learn UNIX) is online. Did one expensive class witch was a total disaster due to the impatience of the trainer. Who also did not understand that one first needs to learn how to crawl before starting to walk.

Guess I will be a GUI appliance operator for the rest of my life :-/
Posts: 11
Joined: Tue Feb 21, 2012 6:43 pm
by modmypi » Sat May 12, 2012 3:28 pm
ScooterIT said:


Guess I will be a GUI appliance operator for the rest of my life :-/


Persevere. The point of the Raspberry Pi IS to learn hands on. If you keep trying I'm sure you'll get there in the end. Surely someone on a mac has managed to get the .IMG verified and on an SD card.

Why don't you go through it step by step on here and document it, and we'll work through the issues? That's what the beginner forums are for right :D
Raspberry Pi Cases for your Raspberry Pi! Unique, colourful, customisable designs available from ModMyPi now!
Posts: 58
Joined: Mon Mar 19, 2012 9:41 am
by nick.mccloud » Sat May 12, 2012 5:08 pm
As modmypi says, the Pi is all about learning.

If you can post to let me know you are still reading this thread, I'll talk you through Mac image creation.

Nick
User avatar
Posts: 795
Joined: Sat Feb 04, 2012 4:18 pm
by LandH » Thu May 24, 2012 5:32 pm
This is what I did on the Mac.

To see what the sha1 should be:

$ cat debian6-19-04-2012.img.sha1
e1a6f8695be719c83ac7f2595220c36ecf0a58cf debian6-19-04-2012.img

To check that the image file has that hash:
$ openssl sha1 debian6-19-04-2012.img
SHA1(debian6-19-04-2012.img)= e1a6f8695be719c83ac7f2595220c36ecf0a58cf

Hope this helps.

I agree with the others that learning is useful but remember where you were way back in the BBC micro days. You did not have to pass a test just to turn the thing on. Granted I remember playing a cassette of very high pitched squeaky music on Boxing day to try and get a chess program to run and having my family rebel when I tried to tie up the TV when the big Christmas block buster movie (James Bond) was about to start up. But remember, if we put the kids off too early then we may lose them. We only turned to program in machine code once we could play a bit with BBC basic.

All the best,
LandH
Posts: 1
Joined: Thu May 24, 2012 5:20 pm