[MPlayer-users] how to copy an i/o-error cd

D Richard Felker III dalias at aerifal.cx
Mon Oct 6 23:52:57 CEST 2003


On Mon, Oct 06, 2003 at 11:16:23PM +0200, gabor wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> hi,
> 
> i have an avi file on a cd.
> 
> when i try to copy the file to my harddisc,
> it tells me that he can't do that because there
> was an i/o error.
> 
> but i of course can watch nearly all of teh movie
> directly from the cd, because i simply seek over
> the 'bad' part and watch the remaining part..
> 
> but now i'll have to return the cd, so i'd like
> to copy the avi somehow to my harddrive.
> it doesn't matter if it will contain wrong or no
> data at the place of the i/o error.
> 
> is there a way to do this?

Try using dd to copy it, with a command line this:

dd if=/cdrom/foo.avi bs=2048 conv=sync,noerror of=recover.avi

It might take a LONG time to get past areas with errors, but
eventually it should work...in theory... :)

Rich



More information about the MPlayer-users mailing list