I'm struck in a terrible terrible situation. PLEASE help me out here !!
Story
I have an Acer Nitro(intel i5 8th gen cpu) dual booted with Windows 10 and ubuntu 20.04. I have 2 disk drives- one is 128GB SSD and other is 1TB HDD.
My windows was installed on the SSD with my other stuff on the HDD.My ubuntu was installed on a 300 GB partition in my HDD.At this time, both windows and ubuntu were working fine.
I decided to remove ubuntu, so I deleted the 300GB volume of ubuntu from the windows disk manager(didn't remove grub).
When I restarted the computer, it directly booted on to a grub terminal where I wrote ls
, found the location of my windows bootmgf.efi
file. Then wrote chainloader <path to efi file>;boot
. At this point it booted my system to windows but when i restarted, it again went back to the grub terminal. To solve this I followed some commands from the internet and ran them in the windows command prompt in 'troubleshoot windows mode' (with that blue screen). At this point, I did some mistake I DONT KNOW WHAT and now when i restarted my PC, it said
"NO Startup application found" or something like that i.e no OS found.
I could still enter the BIOS mode though and saw that my drives were being detected.
After this I put back the pendrive I used to install ubuntu, installed ubuntu. Now here in ubuntu, I can see the disk space being used by my C drive that it used to and all the stuff is present in my D drive(which was on windows). But now whenver I restart, it automatically opens ubuntu.
How can I recover my windows back.
EDIT
I flashed the windows10 ISO image on a USB drive. Now how can I recover my previous windows ?