- This topic has 14 replies, 4 voices, and was last updated 9 years, 4 months ago by Anonymous.
-
AuthorPosts
-
August 6, 2015 at 2:35 pm #1199Joseph, N8CNUser
I get:
post-download, repeatably, I get:
-rw-r–r– 1 … … 288827732 Aug 6 14:28 openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gz
[md5: a6ef8ae74ba98da30e4135b004a091f8 openrepeater-raspi2-1.0.0-beta1-07_07_15a.img.gz]
gunzip:
-rw-r–r– 1 … … 294905339 Aug 6 14:28 openrepeater-raspi2-1.0.0-beta1-07_07_15.img[md5: ea0aa74ad828573c3a46652743dd7322 openrepeater-raspi2-1.0.0-beta1-07_07_15.img]
{system: $ uname -a
Linux hex 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux}August 6, 2015 at 4:37 pm #1200Joseph, N8CNUserOh, my! I think I figured something out:
jre@hex:~$ ls -als
282060 -rw-r–r– 1 jre jre 288827732 Aug 6 14:25 openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gzjre@hex:~$ file *
openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gz: gzip compressed data, from Unixjre@hex:~$ gunzip openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gz
jre@hex:~$ file openrepeater-raspi2-1.0.0-beta1-07_07_15.img
openrepeater-raspi2-1.0.0-beta1-07_07_15.img: gzip compressed data, was “openrepeater-raspi2-1.0.0-beta1-07_07_15.img”, from Unix, last modified: Thu Jul 9 11:22:09 2015It says “.img” after extraction, but STILL SAYS it is gzip compressed data! I think someone gzipped it then renamed it to an img, then gzip’d it again.
re@hex:~$ gunzip openrepeater-raspi2-1.0.0-beta1-07_07_15.img
gzip: openrepeater-raspi2-1.0.0-beta1-07_07_15.img: unknown suffix — ignoredWell, we’ll rename it then.. *sigh*
re@hex:~$ mv openrepeater-raspi2-1.0.0-beta1-07_07_15.img openrepeater-raspi2-1.0.0-beta1-07_07_15.gz
jre@hex:~$ gunzip openrepeater-raspi2-1.0.0-beta1-07_07_15.gzjre@hex:~$ ls -alsh
3.7G -rw-r–r– 1 jre jre 3.7G Aug 6 16:27 openrepeater-raspi2-1.0.0-beta1-07_07_15Hey, look, gigabytes!
jre@hex:~$ file *
openrepeater-raspi2-1.0.0-beta1-07_07_15: x86 boot sector; partition 1: ID=0xe, starthead 0, startsector 2048, 247808 sectors; partition 2: ID=0x83, starthead 3, startsector 249856, 6041600 sectors, code offset 0xb8//
TL:DR version:
When you gunzip the .img.gz file, you get an ‘.img’ file. This is STILL A GZIP’d File, you must gunzip it again, which may require renaming.Gunzip it again. The result is an image file. you want to rename that as an .img then burn THAT to an SD.
.. which I am doing now. I’ll post results!
//
Thanks! Glad I was tenacious about this. ticked that I didn’t think of this earlier. It explains why this had mixed favorable results – I am guessing depending on the “auto extraction methods” programs have out there, that this wasn’t caught and was being missed by a process along the way.-joe
PS; actual on-disk size and md5:
jre@hex:~$ mv openrepeater-raspi2-1.0.0-beta1-07_07_15 openrepeater-raspi2-1.0.0-beta1-07_07_15.imgjre@hex:~$ ls -als openrepeater-raspi2-1.0.0-beta1-07_07_15.img
3813380 -rw-r–r– 1 jre jre 3904897024 Aug 6 16:27 openrepeater-raspi2-1.0.0-beta1-07_07_15.imgjre@hex:~$ md5sum openrepeater-raspi2-1.0.0-beta1-07_07_15.img
7c26700377369e0fc35504de6a9e4c65 openrepeater-raspi2-1.0.0-beta1-07_07_15.imgAugust 6, 2015 at 4:50 pm #1201Joseph, N8CNUserFYI, This worked, straight away.
////Again…
When you download you will get this file:
openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gz, 288827732
[md5: a6ef8ae74ba98da30e4135b004a091f8 openrepeater-raspi2-1.0.0-beta1-07_07_15a.img.gz]When you gunzip it, you will get:
openrepeater-raspi2-1.0.0-beta1-07_07_15.img, 294905339
[md5: ea0aa74ad828573c3a46652743dd7322 openrepeater-raspi2-1.0.0-beta1-07_07_15.img]This is **STILL A GZIP ARCHIVE**
at this point, add “.gz” back to the filename, then redo your gunzip process.After the second gunzip, you will get:
openrepeater-raspi2-1.0.0-beta1-07_07_15.img 3904897024
[md5: 7c26700377369e0fc35504de6a9e4c65 openrepeater-raspi2-1.0.0-beta1-07_07_15.img]Im now looking at SetThis-repeater tty1, just as I hoped to be a couple days ago <g> 🙂
Kind regards,
JoeAugust 6, 2015 at 10:36 pm #1208Aaron, N3MBHForum AdministratorHi Joe,
I am not able to replicate what you described above. I downloaded the openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gz image at a size of about 295 MB. I unzipped it once and ended up with openrepeater-raspi2-1.0.0-beta1-07_07_15.img at 3.9 GB not another archive with a IMG extension. So I am not sure how that has happened. I have had no other reports of this either.I am glad you were able to get the image up and running. Thanks for your patience and giving OpenRepeater a go.
73,
Aaron – N3MBH / WRFV871OpenRepeater is offered free of charge. Find out how you can support us.
August 7, 2015 at 9:00 am #1211AnonymousInactiveAfter a second ‘gzip -d’ on my Linux server it became 3.9GB (3904897024 bytes).
My suspicion is that it is the web server that do the compression – some web servers do that, and then it’s not informing the receiving software that it shall be unpacked, maybe due to an incorrect mime type setting in the web server.
And now it boots as it should!
-
AuthorPosts
- The topic ‘File integrity checksums for downloads’ is closed to new replies.