LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-29-2005, 02:53 PM   #1
dr_zayus69
Member
 
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, 04:22 PM   #2
uberNUT69
Member
 
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, 06:33 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
You can use "dd" on an unmounted CD. A command such as:
Code:
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, 10:28 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
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
Code:
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
Code:
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
Code:
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).
 
  


Reply



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

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

All times are GMT -5. The time now is 06:10 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