I originally had Windows 10 installed on an SSD, and Ubuntu 18.04 installed on another. I recently upgraded my machine and installed a 2TB M.2 drive, which I partitioned with Windows on one half and Ubuntu 20.04 on the other (but left the other drives in the machine) with GRUB installed on the M.2 drive. At this point GRUB allowed me to boot into the new Windows and Ubuntu partitions on the M.2 drive without a problem, although when booting into windows I had to select which Windows installation to use (the new one or the old one on the SSD).
I then formatted the SSD containing the old Windows installation, but then when selecting Windows from the GRUB menu I got an error message telling me there was nothing on the drive (I guess the Windows bootloader must have been installed on the old drive?).
I ran boot-repair
from a USB stick to see if that would help, but that has just removed Windows from the GRUB menu entirely, so I have no way of booting into Windows.
Could anyone advise how I can boot into the Windows installation? Do I need to somehow reinstall the Windows bootloader on the partition? Or can I just configure grub to point to the Windows partition?
Thanks