I have a Windows PC, but I dual booted Manjaro (Linux) on it to speed up development. Now that I'm done, I want to remove Manjaro and return the PC. I deleted Manjaro partition, but we got a power cut before I was able to finish doing the bootloader stuff on Windows. Now I'm stuck in grub rescue because of an error like:
"No such device asihdada-ofgdufauyfg-aofapfb-vpawhatever".
The computer uses MBR and Legacy BIOS. I found out the problem could be solved using a Linux (Ubuntu, for now) live USB. I set up a Ubuntu live USB, but when I tried to run it, the computer said "unable to find a medium containing a live file system". My friend told me to disable legacy USB support in BIOS and now my keyboard and mouse won't work. What should I do?
Edit 1: FWIW, I have an available PC to make USBs with, armed with Manjaro and Windows 10 if that would help.
Edit 2: My USB drive is too small for Windows bootable media, so I need a Linux solution. I have an Ubuntu live USB still available, but I face the problem above when trying to boot Ubuntu live.
Edit 3: I followed this tutorial to reset BIOS settings and now my keyboard and mouse work again.
Edit 4: A Windows 10 bootable recovery USB should do the trick, and it fits in 512mb if necessary.
Edit 5: Using Windows 10 bootable recovery USB I was able to use the command prompt from the troubleshoot menu, but access was denied to bootrec /fixboot
which was solved using bootsect /nt60 SYS
. Now when I reboot I get BSOD with error INACCESSIBLE BOOT DEVICE
. Startup repair was not able to fix the problem.
Edit 6: Now the computer does not show BSOD anymore, but it automatically boots to Windows Recovery thing.
Edit 7: Nevermind, after removing the USB (why was it booting from it tho??) the BSOD is back, but after rebooting my PC, it attempts startup repair and is not able to fix the problem, but I get to troubleshoot the problem myself now.
FINALE: Turning AHCI mode on from BIOS again and rebooting the PC 4 times made the PC start up to Windows, which is exactly what I want.