1

Possible Duplicate:
Formatted and lost 6 years worth of photo memories.. any way to get this back?
Best tools to recover removed files
How do I recover Ubuntu partition after computer failure

One day before I had Ubuntu 11.10 on my laptop I was trying to install an mp3 application during the process something broke (As far as I know it removed bin and usr directory for some weird reason) and from the next reboot it was not going further grub screen, one black screen with no information on it.

I had then re-installed (Without formatting the partition) Ubuntu 11.04 on the same and the only partition I have. Do you or anyone in your knowledge know, how to get the old data back?? Any help or reference to help me out of this will be appreciated.

Thanks

Surya
  • 161

3 Answers3

1

Any way take a look at this:

Best tool to recover removed files

Formatted and lost 6 years worth of photo memories.. any way to get this back?

How to recover Ubuntu partition after computer failure?

https://help.ubuntu.com/community/DataRecovery

Where the answers of some other people under those questions may also be helpful for you.

Good luck!

VENKI
  • 588
1

Since you didn't format the partition , only *conflicted* files , e.g /bin/ls is removed by the installer , which means you need no data recovery files, they are just there.

Otherwise it's replaced by the installer , there's no way to get it back.

Suggestion:

next time try to move your old files into a different folder before installation , e.g

mkdir /old
mv /.* /old

Note: You may not get enough disk space to install if you did this.

EDIT


@Surya i won't expect a data recovery since you didn't format your hdd , make it short here , inode wasn't changing which means the data pointing to will be replaced , so impossible to find even a clue for those files being replaced. (But don't format it after seeing this ..)

And for the partition creating issue:

It's simple , but you need another bootable media to launch the following process:

Start another system , with e.g you ubuntu live cd or a USB start disk (there's a USB disk creator tool , search in software-center)

Try with resize2fs to resize your partition , and use fdisk to create another one when done

daisy
  • 6,712
0

I would recommend you to use forensic tools like "photorec,testdisk,foremost,seluthkit,extcarve" to salvage some data out of the disk.