LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Burned over a session on a CDR (https://www.linuxquestions.org/questions/linux-general-1/burned-over-a-session-on-a-cdr-282453/)

hanez 01-26-2005 08:53 AM

Burned over a session on a CDR
 
Hello, I have a friend who had some important files "erased" on a multisession cd. It seems that sometimes when you do a multisession CD it erases the stuff before it. How do I get these back, I'm wondering if anyone knows a linux app to retrieve them (or even a windows app).

By the way this is NOT a cdrw, so it really shouldlnt be possible that the files were erased... (right?). What I think happens is that if you don't click "Keep old session" then it no longer points to it, but it should be there...

Anyways, if anyone has any tips, Id apppreciate it!

Hanez

Matir 01-26-2005 09:42 AM

Under linux, you could try:
Code:

dd if=/dev/cdrom of=somefile
mount -o loop somefile /mnt/test

but I don't know if that would work. You may need to do a block-by-block recovery. There probably aren't many recovery tools for iso9660 filesystems.

uberNUT69 01-26-2005 11:09 PM

Hi,

see man mount, options for iso9660, which says:

session=x
Select number of session on multisession CD. (Since 2.3.4.)

eg. to read 2nd session on a multisession cd, I use a command like:

# mount -o session=1 /dev/cdrom /cdrom

Cya.

hanez 01-27-2005 01:32 AM

Worked!
 
uberNUT69: Wow, thanks a lot, this was a girl at my work who lost 3 years worth of photos.... shes going to be soooooo happy man.

THANKS A LOT!

Hanez

Matir 01-27-2005 04:03 PM

That's awesome, I never knew about that.


All times are GMT -5. The time now is 09:41 AM.