I was trying to install Arch Linux on my NVMe drive using a flash drive but mistakenly selected my Windows drive for the installation. As a result, the entire Windows drive seems to be wiped out, with only a boot partition and a Linux partition now created. I'm not familiar with using tools like PhotoRec and TestDisk, and I'm really hoping to recover my Windows drive. I just wanted to set up a dual boot, not lose everything. Is there any way to salvage my drive, especially since only about 2GB of new data has been written?
3 Answers
Honestly, recovering data after overwriting a drive is tough. If you overwrote the actual Windows partition, it might be pretty much gone. You can try using recovery tools to find some files, but if the data's been replaced, you're likely out of luck. Professional data recovery services exist, but they can be really pricey and there's no guarantee they can get back what you lost.
If you have access to another working computer, you might be able to recover some of your personal files if they weren’t completely overwritten. However, it sounds like a full Windows reinstall might be necessary regardless. Good luck!
Best case, try to finish your Arch install first. It's a bummer that Windows may be wiped, but once you've got a functioning system, it'll be easier to assess your options. If you did overwrite the drive, it’s probably not recoverable without expert help, which can cost an arm and a leg.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures