Ubuntu – File recovery after quick formatting

data-recoverygrubrescue

I have a dual System of Windows 8 and Ubuntu (12.04, I think).
I accidentally quick-formatted the Linux partition using Windows to NTFS, with the built-in formatting option. Since it contained my grub installation, nothing boots anymore.
Is there a good recovery tool I could use from a Ubuntu live disk? Will It be able to restore the file structure completely, that booting works immediately (If nothing new was written to the partition), or is some structure needed to boot the system lost when quick-formatting and I am only able to restore select files before having to make a new installation?

I would be very happy for information on this, I never did data recovery and am afraid to destroy it.
Thanks in advance!

Best Answer

You can recover your data from formatted disk using testdisk and photorec, these are good open source software that is used by thousands of user when such case arrived in Linux type system.

I am not sure that you would be able to fix your grub also, but you can give a try to Boot-repair once you restored all your data.

Here are your steps how can you restore your datas:

  • Boot from live CD/DVD/USB

  • Install testdisk:

      sudo apt-get install testdisk
    
  • Run testdisk to fix your partition.

  • If testdisk fails then you can give a try to another s/w photorec. Find out here How to use Photorec step by step

If you had valuable data then you can give a try to this, other wise re-install Ubuntu again. Its totally your choice.

Related Question