[ILUG] Rescue file from damaged CDR?

Conor Daly conor.daly at oceanfree.net
Thu Sep 14 22:32:17 IST 2000


Ideas anyone?

Trying to rescue a ~28Mb file from a damaged CDR.  I'm trying 

dd if=/mnt/cdrom/file of=first.out

once I get an I/O error I get a count of blocks read by dd so I do it
again using 

dd if=/mnt/cdrom/file of=seconf.out skip=<blocks already read>+1

and so on until I run out of blocks to read.  I'll then use a single block
fragment to pad out to the original size and do a 

cat first.out block-fragment second.out block-fragment third.out ......  > recovered-file

Will this work?  Is there a better way? 

Thanks,

-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)




More information about the ILUG mailing list