How to Recover Lost Files from Hard Disk in Debian Lenny/Ubuntu Linux

Yes you heard it right.It is possible to recover files including lost audio, video, archive or pictures from your hard disk or cdrom.

Debian lenny has a data recovery software called photorec which helps in the data recovery.Photorec ignores the filesystem and goes after the underlying data, hence it is possible to recover data from filesystem that are severely damaged or formatted.

So lets get started,

1) Install a package called testdisk -- apt-get install testdisk to install testdisk in debian lenny.

2)Now enter the superuser mode and type photorec which opens a window as shown

How to Recover Lost Files from Hard Disk in Debian Lenny/Ubuntu Linux
3)Click on the proceed button to select the partition type.

4)Select the partition from which you want to recover the data files.

5)Then finally select the location where you want the recovered files to be saved.
Post a Comment