LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-20-2013, 03:38 PM   #1
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Rep: Reputation: Disabled
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
 
Old 02-20-2013, 04:16 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,965

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
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.
 
Old 02-20-2013, 04:41 PM   #3
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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

Last edited by Ztcoracat; 02-20-2013 at 06:36 PM.
 
Old 02-21-2013, 09:39 AM   #4
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,965

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
Change to the Downloads directory in a terminal before running the command.
 
Old 02-21-2013, 09:57 AM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
 
1 members found this post helpful.
Old 02-21-2013, 03:05 PM   #6
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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-
 
Old 02-21-2013, 03:07 PM   #7
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by PTrenholme View Post
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-
 
Old 02-21-2013, 04:06 PM   #8
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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- -
 
Old 02-21-2013, 07:53 PM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,462
Blog Entries: 54

Rep: Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899
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
 
1 members found this post helpful.
Old 02-22-2013, 07:28 PM   #10
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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)

Last edited by Ztcoracat; 02-22-2013 at 07:50 PM.
 
Old 02-22-2013, 11:01 PM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,151

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
 
1 members found this post helpful.
Old 02-22-2013, 11:05 PM   #12
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by PTrenholme View Post
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!
 
Old 02-23-2013, 06:31 AM   #13
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,462
Blog Entries: 54

Rep: Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899Reputation: 2899
Quote:
Originally Posted by Ztcoracat View Post
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.
 
1 members found this post helpful.
Old 02-23-2013, 05:56 PM   #14
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware, CentOS & Android
Posts: 3,183
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to verify the signature of the slack ISO images (or any other file for that matte stf92 Slackware - Installation 2 10-26-2012 09:18 AM
How do I verify the iso images Virtual Circuit Slackware - Installation 6 02-18-2008 10:17 AM
How to verify downloaded iso's ashwin_cse Fedora 1 06-27-2005 09:23 PM
K3B can't verify burned Slack 10.1 ISO's kak Slackware 0 02-15-2005 09:44 PM
How do I verify the iso's with md5sums and other questions Bork3 Mandriva 1 11-16-2003 02:48 PM


All times are GMT -5. The time now is 11:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration