Hello. I was trying to make a bootable flash drive from the startup disk creator, and when I went to erase the flash drive I accidentally erased the wrong drive, a 1TB removable drive. The operation took less than a second and gave no warning. I tried erasing the flash drive and it took about a minute, but it took but a second to erase the 1 TB drive, which is very surprising.
Please help, Gabriel
Try to recover the partition with TestDisk. Careful: don't write on the drive.
Instructions step-by-step:
sudo testdisk
(eventually enlarge the terminal)Look carefully: this don't overwrite / recover any data, just the MBR of the disk.
dd
(maybe ask a good friend to be sure you are not mixing theif
andof
parameters). NEVER use a recovery tool directly on the drive from which you are trying to recover the data. You could lose your last chance to recover it. For that, you will need a drive bigger than the drive you try to recover. 1TB is quite big, and might be expensive for you to buy a new drive. In that case, maybe borrow a drive from a friend or wait 6 months until you save the money and/or until the drives are cheaper. If you give up now and format your drive, you might regret it in 6-12 months.Take a look at this: Is there any recovery software available for ext4?
Placed here for your convenience:
You may also wish to take a look at this: How to recover Deleted Files and Folders?
This last one shows how to use an easy way to bring back your partition in a few steps. After which I suggest you to back up your data and start again with your hard disk drive. (Format it and copy everything back on it).
Oh Sorry! Good luck!
As @Matthew said install test disk. If you have a USB startup disk of Ubuntu with some space allocated for storage you can install TestDisk by the command
Testdisk looks like a command-line utility. But don't panic. You need not enter weird commands. It is easy to use.
Have this tutorial
Google is your friend Wish you all the best
YOU WILL REQUIRE A LOT OF PATIENCE. SINCE YOU ARE TRYING TO RECOVER 1TERABYTE OF DATA IT MAY TAKE SEVERAL WEEKS OR MONTHS NO MATTER WHICH DATA RECOVERY SOFTWARE YOU USE