File recovery after quick formatting
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/wphotorec
. 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 videos on Youtube
Achim Krause
Updated on September 18, 2022Comments
-
Achim Krause almost 2 years
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!
-
psusi almost 11 yearsYou will have to reinstall.
-
-
Achim Krause almost 11 yearsI wiped out the Ubuntu install partition.
-
Achim Krause almost 11 yearsThanks! I only managed to retrieve 60gb of scraps with PhotoRec after TestDisk found nothing, but I am able to stitching together parts of important documents in my spare time, so better than nothing.
-
Saurav Kumar almost 11 yearsYes.. I can imagine how tough that would be.. You have to spend a lot to filter data..