Page 1 of 1

Recovery of fast-erased DVD-RW

Posted: 02 May 2016, 19:13
by Bernecker
Hi Forum,

according to cgsecurity http://www.cgsecurity.org/wiki/CDRW#Rec ... nked_CD-RW it is possible to recover data from quick-erased DVDs with a linux system.

So I downloaded latest AltLinux, booted it via USB Stick, mounted the session as described at above link.
But then I am completely stalled. Neither testdisk nor photorec have the mounted thingy in the disk list, so I cannot start recovery from there.

Can someone explain why the mount?
And how to go on after the mount?

Re: Recovery of fast-erased DVD-RW

Posted: 03 May 2016, 06:03
by cgrenier
Use "mount" to find the device and run "photorec /dev/sr0" (replace /dev/sr0 by the correct device).
Note that it doesn't work with all readers/writers

Re: Recovery of fast-erased DVD-RW

Posted: 04 Jun 2016, 14:42
by Bernecker
Thanks cgrenier for the hints!
I am sadly a noob with linux, and couldnt start the recovery of fast-erased DVD-RW. Here is what happens using latest ALTLinux:

* I found out that /dev/sr0 is my DVD-recorder via

Code: Select all

# dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer'
* when I insert a "proper" DVD-RW (e.g. containing the sources of windows or ms office) then

Code: Select all

photorec /dev/sr0
would work well, i.e. it shows the DVD-RW on the intial screen.

* when I insert one of the DVD-RWs I want to recover then

Code: Select all

photorec /dev/sr0
does not work, it's output is:
"unable to open file or device /dev/sr0: no medium found"
* then I tried to mount the DVD-RW as follows:

Code: Select all

mkdir /home/cd

Code: Select all

mount /dev/sr0 /home/cd -t iso9660
which outputs:
"wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error"
. Further info via

Code: Select all

dmesg | tail
:
Unable to identify CD-ROM format
Same result when I try

Code: Select all

-t udf
in the mount command.

Any ideas how I can make the DVDs accessible to photorec?

Re: Recovery of fast-erased DVD-RW

Posted: 04 Jun 2016, 17:53
by Bernecker
Update:

I used an external USB DVD-ROM drive, and photorec now sees the disk when started via

Code: Select all

photorec /dev/sr0
.

One disk I tried before was not successful, photorec finished recovery after 2 seconds, not sure why this happened. Will investigate later.
I just run a recovery of another DVD-RW disk and this seems to work nicely in pass 1.