LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2005, 02:45 PM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
How to checksum a CD


Hi guys I got a distro that I want to copy for a friend but the second CD is a bit scratched and I would not want to give him a corrupted CD ( even if it is only some files). So I wana checksum it the same way I didwhen I downloaded the CDs .

The question is can I checksum it the way it is ( I dont thnik this is possible since there are multiple files rather than one single file in iso format). But I guess nothin is wrong with askin

Or do I have to create an iso image first and then checksum it ....... to see if the CD is still absolutely valid.

Thanks... and I hope nobody minds the dumb question
 
Old 08-22-2005, 02:55 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
You should create an iso, but even than a checksum will not tell you if the iso integrity is ok. Only in comparison to another original iso.
 
Old 08-22-2005, 02:57 PM   #3
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
I mean I downloaded the original iso from iso.linuxquestions.org....
and the checksum is noted there......so if I compare it with that checksum everything will be allright ??
 
Old 08-22-2005, 05:45 PM   #4
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
Quote:
Originally posted by ALInux
I mean I downloaded the original iso from iso.linuxquestions.org....
and the checksum is noted there......so if I compare it with that checksum everything will be allright ??
Yes you can do it this way...no need to do anything other than downloading the iso and haveing the checksum and running the check command(think thats what the command is called).
 
Old 08-22-2005, 07:03 PM   #5
nelz
Member
 
Registered: Aug 2004
Posts: 34

Rep: Reputation: 6
You can generate the md5 checksum of the CD with
Code:
dd if=/dev/cdrom | md5sum
 
Old 08-23-2005, 06:51 AM   #6
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
thaks netz that was what I was aiming for
 
Old 04-10-2008, 08:08 AM   #7
sathiyarajan
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
How to perform a checksum test between two CD's

Quote:
Originally Posted by ALInux View Post
thaks netz that was what I was aiming for
Can anyone suggest how to perform checksum test between two CD's
 
Old 04-10-2008, 11:25 AM   #8
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
md5sum /dev/hdb /dev/hdc
(replace hdb and hdc with where the two cdrom drives are, watch out or you could try to compare your hard drive to it).

See if the output is the same on both lines. If its different, or if you get an input/output error, somethings wrong.
 
Old 04-15-2008, 12:00 AM   #9
sathiyarajan
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Thank you so much for the reply,

Quote:
Originally Posted by Oxagast View Post
md5sum /dev/hdb /dev/hdc
(replace hdb and hdc with where the two cdrom drives are, watch out or you could try to compare your hard drive to it).

See if the output is the same on both lines. If its different, or if you get an input/output error, somethings wrong.
I'm working with this using

md5sum /dev/cdrom /dev/cdrom1

Thank you
 
  


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
Md5 Checksum dna9 Linux - Newbie 2 12-18-2004 11:11 PM
checksum juanb Linux - Newbie 1 08-12-2004 03:40 AM
anyone can help me with the TCP checksum? vaaub Programming 1 02-10-2004 01:32 PM
Checksum wonderpun Linux - General 1 08-28-2002 05:04 PM
Checksum? frkstein Linux - General 1 05-04-2002 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration