On Sat, 29 May 2004 10:11:44 +0530 jtd jtdsouza@softhome.net wrote:
<snip>
Direct mount does not work. What are you suggesting ?
compile cdfs in the kernel or as a module. modprobe cdfs mount -t cdfs -o ro /dev/hdc /cdrom mount -t iso9660 -o loop /cdrom/sessions_1-1.iso /mnt/loop1
It says "No medium found" ! (The same as when I tried a dd)
The trouble is that the TOC is damaged and it thus refuses to believe that a CD exists in the drive let alone detect the number of tracks/sessions.
The only way I can think of is trying to dump the raw contents of the CD somehow and then use some automation to figure where the sessions begin and end. Then use cdfs and a loopmount to get all the files back.
AND google for cdfs
Apparently, the only software I have found which overrides the temptation to believe that there is no CD in the drive is a Windows software called BadCopy. I could recover some files using that, but not many.
I toyed with cdrom.c in /usr/src/linux/drivers/cdrom to not return ENOMEDIUM back to the calling program (cdfs) but my compilation was broken :(
What would you suggest ?
Thanks,
Zainul.