On 04/08/2019 19.34, gumb wrote:
Installing Leap 15.1 on a new machine, and for the first time ever I'm using USB instead of DVD (since there is no optical drive). I've downloaded the ISO, first by torrent, run sha256sum in the terminal, all is good.
When I start the installation, by force of habit I go to the extra menu and choose media check. Whether that is designed for USB as well as DVD I don't know, but it starts off anyway. To my surprise, when it finishes it says there is an error.
No surprise at all. The install media on USB can not be tested, but the code that runs it doesn't know it is running on a stick to tell you. Old thing.
Back on the Leap 42.3 machine that I downloaded the ISO on, I decide to go into YaST > Software > Media Check, then Check ISO File... (on the ISO file on hard disk, not the USB stick).
I had no idea a yast module to check the ISO file existed :-o Anyway, trying. Told it to do the thing on the 15.1 image I have on the hard disk, and it says "the medium does not contain an MD5 checksum, only readability of the medium will be checked." I say continue, anyway. And then it says that: Medium: DVD1 Size: 3961474 kB Result: sha256sum wrong How does it know it is wrong, since the medium does not contain the checksum? BUG. Ok, use the documented procedure since years. --> <http://download.opensuse.org/> --> click distribution <http://download.opensuse.org/distribution/> --> click leap --> <http://download.opensuse.org/distribution/leap/> --> click 15.1 --> <http://download.opensuse.org/distribution/leap/15.1/> --> click iso --> <http://download.opensuse.org/distribution/leap/15.1/iso/> --> click details of the ISO (openSUSE-Leap-15.1-DVD-x86_64.iso), and we get this text: Mirrors for openSUSE-Leap-15.1-DVD-x86_64.iso File information Filename: openSUSE-Leap-15.1-DVD-x86_64.iso Path: /distribution/leap/15.1/iso/openSUSE-Leap-15.1-DVD-x86_64.iso Size: 3.8G (4056940544 bytes) Last modified: Wed, 15 May 2019 02:30:01 GMT (Unix time: 1557887401) SHA-256 Hash: c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 SHA-1 Hash: 32436bf72e7da2cfe0dbf4b817c37f168ea3dc65 MD5 Hash: 5095682b8aafd540975388704cc8ae1a BitTorrent Information Hash: f8da57958058d8bf7384e4919e6d966ccc1a1931 You can use the hash to verify on the command line - see below. Another shorter method: <https://www.opensuse.org/> --> [install leap] <https://software.opensuse.org/distributions/leap> click on Checksum Downloads: <http://ftp.rnl.tecnico.ulisboa.pt/pub/opensuse/distribution/leap/15.1/iso/openSUSE-Leap-15.1-DVD-x86_64.iso.sha256> "view" the text file, it contains this all important line: c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso which you can see is the same checksum as we got the other road. Instead, I copy the file to the directory where the iso file is, and I run: cer@Telcontar:/data/storage_b/Isos/Leap/15.1> sha256sum openSUSE-Leap-15.1-DVD-x86_64.iso c6d3ed19fe5cc25c4667bf0b46cc86aebcfbca3b0073aed0a288834600cb8b97 openSUSE-Leap-15.1-DVD-x86_64.iso cer@Telcontar:/data/storage_b/Isos/Leap/15.1> As you see, it matches. Or I can do it in a more automated way: cer@Telcontar:/data/storage_b/Isos/Leap/15.1> sha256sum --check openSUSE-Leap-15.1-DVD-x86_64.iso.sha256 openSUSE-Leap-15.1-DVD-x86_64.iso: OK <======= sha256sum: WARNING: 14 lines are improperly formatted cer@Telcontar:/data/storage_b/Isos/Leap/15.1> The DVD image is perfect. What means the thing about the 14 lines? Well, the file is PGP signed. So, verify that: cer@Telcontar:/data/storage_b/Isos/Leap/15.1> gpg --verify openSUSE-Leap-15.1-DVD-x86_64.iso.sha256 gpg: Signature made 2019-05-15T15:53:17 CEST gpg: using RSA key B88B2FD43DBDC284 gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: classic gpg: depth: 0 valid: 6 signed: 2 trust: 0-, 0q, 0n, 0m, 0f, 6u gpg: depth: 1 valid: 2 signed: 0 trust: 0-, 0q, 0n, 1m, 1f, 0u gpg: next trustdb check due at 2024-05-02 gpg: Good signature from "openSUSE Project Signing Key <opensuse@opensuse.org>" [full] cer@Telcontar:/data/storage_b/Isos/Leap/15.1> Everything is fine :-D Extra. I go to Thunderbird, Enigmail, Key management, search "B88B2FD43DBDC284", sign (I already did that years ago). -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)