Viewing 5 posts - 11 through 15 (of 15 total)
  • Author
    Posts
  • #1199

    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}

    #1200

    Oh, 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.gz

    jre@hex:~$ file *
    openrepeater-raspi2-1.0.0-beta1-07_07_15.img.gz: gzip compressed data, from Unix

    jre@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 2015

    It 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 — ignored

    Well, 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.gz

    jre@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_15

    Hey, 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.img

    jre@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.img

    jre@hex:~$ md5sum openrepeater-raspi2-1.0.0-beta1-07_07_15.img
    7c26700377369e0fc35504de6a9e4c65 openrepeater-raspi2-1.0.0-beta1-07_07_15.img

    #1201

    FYI, 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,
    Joe

    #1208
    Aaron, N3MBH
    Forum Administrator

    Hi 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 / WRFV871

    OpenRepeater is offered free of charge. Find out how you can support us.

    #1211
    Anonymous
    Inactive

    After 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!

Viewing 5 posts - 11 through 15 (of 15 total)
  • The topic ‘File integrity checksums for downloads’ is closed to new replies.