LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-21-2004, 10:50 PM   #1
corn
Member
 
Registered: Jan 2003
Posts: 46

Rep: Reputation: 15
Recovering data from damaged CD


Hi all,

I was wondering if there is any way of recovering tracks on a damaged audio CD.
I know the cd had 24 tracks but now cd players only show one (the first one).
There is no scratch on the polycarbonate surface but there is a relatively large (4 mm) ring which
shows no data

So i was asking myself if there was a way to dump the data on my HD and then
recreate wav files one by one (for the recoverable ones)
 
Old 09-22-2004, 09:08 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Have you tried a standard CD ripper like cdparanoia?

According to http://freshmeat.net/projects/cdparanoia/ this app "will also read and repair data from CDs that have been damaged in some way".
 
Old 09-22-2004, 12:27 PM   #3
corn
Member
 
Registered: Jan 2003
Posts: 46

Original Poster
Rep: Reputation: 15
Yes i did, but no luck
i think the TOC was damaged...
 
Old 09-22-2004, 04:12 PM   #4
fenderman11111
Member
 
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
you could always use a hexeditor to examine each individual sector... you could use it to look at the TOC or search for the bad sectors, and if necessary you could probably dump the data manually...

For linux, the only decent one I know is called 'hexedit' and it's text-based but works well In my opinion... there's also khexedit.

Also I think that a hex editor, in general, is one of the more important tools for any geek to master
 
Old 09-23-2004, 01:32 AM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
The 'dd' command lets you do low-level reads from a device. But I don't know what happens with an audio cd. My understanding is that the data on the CD is encoded with an error-correction code, which is converted by the drive, and if the damage is too extensive for the code to fix the drive will not return any data at all.

You could try something like 'dd if=/dev/cdrom of=bigfile'. See the dd manpage for more options.

Once you have an image file you could certainly use a hex editor and maybe write back the image with the -audio option on cdrecord (or whatever you use)

Maybe it is possible to hack the cdparanoia source code to bypass the TOC error. I'm not familiar with audio CD formats, so I'm not sure exactly what could be done.

Last edited by maroonbaboon; 09-23-2004 at 03:09 AM.
 
  


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
Recovering damaged flash drive Avatar33 Linux - Hardware 5 03-12-2005 08:50 AM
recovering data... marsques Linux - General 18 09-01-2004 03:36 PM
recover data from physically damaged drive kc8tbe Linux - General 11 05-29-2004 02:58 PM
Recovering data CatSC Linux - Newbie 3 01-01-2004 12:25 AM
Using Linux to recover data on a damaged Windows partition? Korff Linux - General 5 12-29-2003 12:35 PM


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