I had a problem after tyring to install Ubuntu and I kinda screwed some things up, so my Windows 10 wouldnt boot, luckily I had a drive with nothing important on it so I installed Windows 10 on it, and I am currently using it. But I want my old drive back or at least migrate all my data so the new installment looks like the old one. I can accses my old drive without any problems.
Anything I can do to repair my old drive or anything else. I really dont know what information you need, but I am happy to give it if it can help.
BootRec /FixMBR && BootRec /RebuildBCD; however, if you're dual-booting Windows and Linux,BootReccannot be used as it'll overwrite GRUB, so you'll need to use a Linux program to rebuild the BCD store (search @harrymc's answers, as he addresses it somewhere). Was anything modified on the non-bootable Windows OS partition when the Ubuntu install was attempted? If no, the aforementioned will fix the issue; (cont'd in next comment) – JW0914 Jan 09 '22 at 13:21BootReccommands from my previous comment and try to boot it. If that fails to boot w/ BSODs, you can use the USMT [User State Migration Tool] to migrate your user profile to the current install. – JW0914 Jan 09 '22 at 13:21