LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Trying to verify with terminal the Fedora 18 ISO (http://www.linuxquestions.org/questions/fedora-35/trying-to-verify-with-terminal-the-fedora-18-iso-4175451004/)

Ztcoracat 02-20-2013 04:38 PM

Trying to verify with terminal the Fedora 18 ISO
 
;)Hi:

I downloaded the ISO of Fedora 18-X86_64-LIVE-XFCE.iso
and then went to this page for the verification instructions-
Clicked on the right one for my 64bit laptop architecture to download the file but when I do all I get is this:
Code:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

3684ae2814c7e54b4f66f0411a385846533e40f107d7fff4e331c2f547951ec2 *Fedora-18-x86_64-Live-Design-suite.iso
b11da64d527e333e2160cbf5fde49f89205f932d48fa7c01690232fc1b0cacfa *Fedora-18-x86_64-Live-Electronic-Lab.iso
ea34f626488623a1f84b2041df9c65468357bfdb878f034392da16f6c9d05264 *Fedora-18-x86_64-Live-LXDE.iso
8700aa64a6485e338b3d9aa419ecadc0c87884c77203a35c6e1847147a4dca06 *Fedora-18-x86_64-Live-Robotics.iso
3bb90d115daf6f0d2279cd5a669fb265c090cb6e88125424ae960a980f9ba50d *Fedora-18-x86_64-Live-Scientific-KDE.iso
7802a1c024f9471fba90724f53c0d95045acd76c3c4346b467cb53f5608248a9 *Fedora-18-x86_64-Live-Security.iso
736e8dd36de4207fe899648299abb6b3220fd1d1bcb48b8bf712d01d2ec02bf5 *Fedora-18-x86_64-Live-SoaS.iso
95a75c334ce82b33f1a5d81eab196600e40c7933fd5f7bfa8e6ed9534529dd6e *Fedora-18-x86_64-Live-XFCE.iso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQ8FZnAAoJEP8BElzefzi9BdUQALd1dlX39NVq/GWuoR7iCrxo
+ZS5gFzp5ObdPp2+MFdKszMEI7HQnkv5Xvj7qTrUS41LwrLSAX7BN5wiuzYbD0wv
f10U7K907inViXWUbANCx/fqVDLXtC/lkRYMh0JEOyRP6VYCOjcTzby+pxfOhG3u
naAtUApx/WbydwOheyT1GJCV8e15/oXqYxDoJmQuAX7AliDyysVdtcsgDP9GEiJ+
jApOywZHdxVYzUJQlXkoYEAn9LzeOh69MEL8wP30GHGI4GBo0CMUouhXlvcnoNyj
Ov9Px/8xFSSQ6vs7rapayyaue4vCxa13Y79KKQzh+/f0G2KXgInW59Y70Q0lYkLS
SCYwNUxACSlguetDfzqTtXTAFbYUcHTcc6YLuCQGRUZbDNev/dq5pnIMLSQiDnKq
YXQd1a8qH0ZpRQCMHhRwYq6satKz1ui0PgRpAn4ScPdye8Fda9+tC5VI07SDEduX
lDvzgNgOIWA3dMgSPkcaW/jcanAB3ubgPxiyAitU12TzEPwE8RuMFlYhoIczr5pu
g1aQrw/kOng6OJGjlJWd5Sb3Qabsm3OW3hfJ7wER9TRWdDT2zwo3A+j6hYsE5og+
oLbVJhQFyqpIr9o5rhtoU3bVIyOqjl5WY+4PlTrQ+1gt1qjrY9Z0tzoSGk3ESaMi
txw7WyBRjomA/D+4jzMR
=/hTc
-----END PGP SIGNATURE-----

So I opened the terminal and typed in:
Code:

md5sum fedoraversion that Idownloaded.iso
And the terminal output was:
Code:

ztcoracat:~$ md5sum fedora18-X86_64-LIVE_XFCE.iso
md5sum: fedora18-X86_64-LIVE_XFCE.iso: No such file or directory
ztcoracat:~$

What am I doing wrong?
Please explain

yancek 02-20-2013 05:16 PM

The output of the last command would indicate that you ran it in /home/ztcoracat/ and the Fedora iso file is not in that directory.

Ztcoracat 02-20-2013 05:41 PM

Thanks for answering me Yancek- -

The ISO file is in my Downloads directory-
Would it be better suited to move the ISO file to my Home directory (or) just tell the terminal:
Code:

su (password)
cd Dowloads
md5sum fedora 18-X86_64-LIVE-XFCE.iso


yancek 02-21-2013 10:39 AM

Change to the Downloads directory in a terminal before running the command.

PTrenholme 02-21-2013 10:57 AM

Note that, when you start the Live CD, you will be given a chance to verify the CD contents, so (unless you don't want to loose a CD) you could just burn it and try running it. (I usually use R/W CDs in similar circumstances.)

Alternatively, you could use GRUB2 to boot from the ISO image and then use the built-in tool to verify it before burning it.

Oh, note also that, from the file you posted, that is a SHA256 checksum, so a md5sum check might not be the correct tool. A sha256sum tool might work better.

Ztcoracat 02-21-2013 04:05 PM

Don't get whats wrong- -
Code:

ztcoracat@:~$ su
Password:
root@:/home/ztcoracat# cd Downloads
root@:/home/ztcoracat/Downloads# ls
Fedora-18-x86_64-Live-XFCE.iso
root@:/home/ztcoracat/Downloads# md5sum fedora 18-x86_64-Live-XFCE.iso
md5sum: fedora: No such file or directory
md5sum: 18-x86_64-Live-XFCE.iso: No such file or directory
root@:/home/ztcoracat/Downloads#

Why 'no such file or directory it's clearly in front of me in the Downloads folder on my Pc Scrn-:confused:

Ztcoracat 02-21-2013 04:07 PM

Quote:

Originally Posted by PTrenholme (Post 4896758)
Note that, when you start the Live CD, you will be given a chance to verify the CD contents, so (unless you don't want to loose a CD) you could just burn it and try running it. (I usually use R/W CDs in similar circumstances.)

Alternatively, you could use GRUB2 to boot from the ISO image and then use the built-in tool to verify it before burning it.

Oh, note also that, from the file you posted, that is a SHA256 checksum, so a md5sum check might not be the correct tool. A sha256sum tool might work better.

I'll try SHA256 and see if that works- - Be Back in a few min's-

Ztcoracat 02-21-2013 05:06 PM

:)I think it worked but not sure as I have never seen this in the terminal before.

Is that long #(31786b7077f1bc5c657988f6d46a18d0) the confirmation that that file's integrity is ok? ?

Code:

ztcoracat@:~$ su
Password:
root@:/home/ztcoracat# cd Downloads
root@:/home/ztcoracat/Downloads# ls
Fedora-18-x86_64-Live-XFCE.iso
root@:/home/ztcoracat/Downloads# md5sum Fedora-18-x86_64-Live-XFCE.iso
31786b7077f1bc5c657988f6d46a18d0  Fedora-18-x86_64-Live-XFCE.iso
root@:/home/ztcoracat/Downloads#

I'd like to proceed now to use Brasero for the burn to DVD/CD- -

unSpawn 02-21-2013 08:53 PM

The hash you need to confirm is a SHA256 one, not a MD5 one. Please (install and) use the 'sha256sum' as PTrenholme suggests instead or try
Code:

shasum -a256 Fedora-18-x86_64-Live-XFCE.iso

Ztcoracat 02-22-2013 08:28 PM

Code:

ztcoracat:~$ su
Password:
root@:/home/ztcoracat# cd Downloads
root@:/home/ztcoracat/Downloads# ls
Fedora-18-x86_64-Live-XFCE.iso
root@:/home/ztcoracat/Downloads# shasum -a256 Fedora-18-x86_64-Live-XFCE.iso
95a75c334ce82b33f1a5d81eab196600e40c7933fd5f7bfa8e6ed9534529dd6e  Fedora-18-x86_64-Live-XFCE.iso
root@:/home/ztcoracat/Downloads#

In the past I had trouble with using md5sum or shasum for verification but I understand now how to use these- -

Is one more reliable than the other? (md5sum vs.shasum)

PTrenholme 02-23-2013 12:01 AM

Oh, as to your first error message, you converted (or your finger did) the dash between the "fedora" and the "18" to a space, so the file "fedora" was not found. (And it probably should have been "Fedora" not "fedora")

When I do that sort of thing, it's (of course) only because my cat ("King Claws") likes to help. :)

Ztcoracat 02-23-2013 12:05 AM

Quote:

Originally Posted by PTrenholme (Post 4897946)
Oh, as to your first error message, you converted (or your finger did) the dash between the "fedora" and the "18" to a space, so the file "fedora" was not found. (And it probably should have been "Fedora" not "fedora")

When I do that sort of thing, it's (of course) only because my cat ("King Claws") likes to help. :)

Yup I typed fedora instead of Fedora and LOL to King Claws helping!

Thanks for the help!

unSpawn 02-23-2013 07:31 AM

Quote:

Originally Posted by Ztcoracat (Post 4897873)
Is one more reliable than the other? (md5sum vs.shasum)

See the first two paragrahps of Wikipedia's MD5 article. If that interests you see Peter Selinger's MD5 Collision Demo (which contains a link to evilize-0.2.tar.gz so you can try for yourself) and maybe Steve Friedl's Illustrated Guide to Cryptographic Hashes.

Ztcoracat 02-23-2013 06:56 PM

Started reading "Selinger's" article and already things are starting to make more sense.
I glanced at Steve Friedl's Illustrated Guide as well....that's good too!

Thanks unSpawn! It's good to be well educated/informed otherwise things can get pretty confusing-


All times are GMT -5. The time now is 11:04 PM.