Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-29-2005, 03:53 PM   #1
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
How to check if cd copying went right.

hi. I am making a backup copy of one of my cds in k3b. i wanted the tracks to be set up the same way (they blend into each other) so i tried using dd at first. Then i remembered music cds don't mount so i couldn't use dd on an umounted cd. i assume trying to use diff wouldn't help either for the same reason. So how can i check to see if the copying went alright in lew of listening to the whole cd over? Like some way i could see the tracks so that i could see they all got there and in the right order?
Old 03-29-2005, 05:22 PM   #2
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Using k3b, create an image of the cd your are going to burn (ie. an iso)
When you load up that image ready for burning, k3b will calulcate it's md5sum for you.
After burning has completed, the md5sums should be the same, and you can delete the iso image.
Old 03-29-2005, 07:33 PM   #3
Senior Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: CentOS, MacOS, [Open]SuSE, Raspian, Red Hat, Slackware, Solaris, Tru64
Posts: 1,241

Rep: Reputation: 80
You can use "dd" on an unmounted CD. A command such as:
dd if=/dev/cdrom of=/tmp/cd+AF8-image.dat
should work.

I've done this to make car copies of CDs that have tracks that seque into one another and it worked like a charm. To test it, I didn't listen to the entire CD. Just fired up a CD player that will let you fast forward/backward. To see if the seque between tracks two and three (for example) is okay, skip to the beginning of track three and use the "fast reverse" button to go backwards into the latter part of track two. Then just listen to the transition netween the two tracks. Also, your CD player will probably jump out onto the internet to look up the track information on CDDB or the other equivalent services. You'll be able to see the tracks in the player's menu.
Old 03-30-2005, 11:28 PM   #4
Senior Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: CentOS, MacOS, [Open]SuSE, Raspian, Red Hat, Slackware, Solaris, Tru64
Posts: 1,241

Rep: Reputation: 80
You can use "dd" on an unmounted CD.
Yikes... I'm not quite sure what caused that brain fart. You can't use dd on audio CDs. (Note to self: No more posting without referring to Ye Olde Notebook.)

I went through my old (it has been some time since I've actually copied entire audio CDs) notes and found that when I did this, I was using cdda2wav and cdrecord for those problem CDs where there's no silence between tracks. Most of what was in my notes was directly from the manpages for cdda2wav and cdrecord. In particular, look at cdrecord's page and skip down to the examples (enter "/+AF4-EXAMPLES" while displaying the page). Then search for "infofile" and you'll see the example showing the commands
cdda2wav dev=1,0 -vall cddb=0 -info-only

cdda2wav dev=1,0 -no-infofile -B -Oraw - +AHw- +AFw-
cdrecord dev=2,0 -v -dao -audio -useinfo -text +ACo-.inf
(You need to run "cdrecord -scanbus" to find out what your device really is.) If all you have is the CD-R drive, you can break that second command apart into
cdda2wav dev=your-device -no-infofile -B -Oraw
which'll dump everything into a series of files named "audio+AF8-01.raw" through "audio+AF8-NN.raw". Pipe these into cdrecord using
cat audio+AF8AKg-.raw +AHw- cdrecord dev=your-device -v -dao -audio -useinfo -text +ACo-.inf
I haven't figured how to get k3b to do the sort of thing you're trying to do. Heck I can't even get it to recognize my Plextor CD-RW drive and since SuSE and my old friend "xcdroast" don't seem to get along, I've been getting back to the basics with cdda2wav/cdrecord for making any "commute mix" CDs. ("dd" does work nicely for copying data disks for friends.)

Hope this helps (and sorry for the misdirection in my earlier post).


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
Partition check, check double check Vincentius Linux - General 0 12-25-2004 06:47 AM
Media Check= FAIL - MDSUMs Check out tgrier Linux - Newbie 6 11-26-2004 11:07 PM
ATI's drivers -- How do I check... ( onthos Linux - Hardware 3 08-20-2004 06:05 PM
gcc-3.3.1 make -k check - make [check] Error 2 BarryM45 Linux From Scratch 1 02-05-2004 09:44 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 PM.

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