Super noob computer idiot here
It all seemed like it would go fine but….no.
Background info I played with gparted to try to wipe a thumb drive. Problem is I figured out after the fact that I had actually “erased” my laptop. BUT it was still operating fine and it looked like all I had actually accomplished was changing the file type to ext3 or so.
Well hop to today when I decided to update and…looks like I screwed myself. Is everything gone or can I still retrieve my files…somehow?
If you have the time and are willing to put in a reasonable amount of effort in recovering everything, I can help you help yourself with that. Do you want to do that or is it not worth it?
You need to stop using the storage medium (I assume you are using a HDD) right away, in any way.
Download a live medium. Recommending CAINE, as it’s the best for this job.
Once having the live medium installed onto a USB stick or DVD, boot into it and mount the HDD in question.
Create a disk image from your HDD and save it onto a different HDD or directly clone your HDD to another empty HDD. The destination HDD must have at least the capacity of the source drive. Use Clonezilla for that job or you can do it right away inside CAINE.
Once you did all that, you can use Testdisk to recover the file system on the cloned HDD. Already included inside CAINE.
Each step will require time, effort and care. You need to learn a few things and you need to stay persistent all the way through.
If you don’t know what the later steps mean or how they are done, that’s not a problem, yet. Just start with step one and work through all the steps, step by step.
You’ll most likely be able to complete steps 1-3 or at least 1-2 without any issues.
We’ve all done that at least once (I’ve done it twice).
Watched an installment of Bryan Lunduke’s “Linux Sucks” where he had a few celebs, like Richard Stallman, Piers Anthony, Cory Doctorow (one of my favourite writers) and the boss of Red Hat. The boss of Red Hat had to elaborate where he’d actually done something similar the previous night, written an image to his boot drive, instead of other storage. So - I can do it - as can the boss of Red Hat…
For what we are doing here, it does not matter at all. It’s all about saving what’s on your storage medium, no matter if it’s an SSD, HDD or even USB stick. The main point is, that it has to be piece of storage hardware, that looks and works like a HDD from inside Linux.
Maybe this wasn’t clear enough in the first place, so I’ll clarify this point a bit better:
Even if you do all the steps correctly and everything should work, files might still be unrecoverable.
Luckily, this is not likely to happen, but I think you should know about the possibility that all the effort might still fail in the end.
However, if you do all the steps as described correctly, then it’s very likely you’ll get your file system back (best case scenario) or at least a vast majority of your files (not bad, but you have to still re-install your operating system).