I have 4 drives, a 2TB HDD for data, a 1TB NVMe, a 240GB SSD with only Ubuntu 22.04, and a 240GB SSD with only Windows 10. I went to reinstall Ubuntu so I checked which drive was which, Ubuntu was on sda, and Winndows on sdb, so I installed Ubuntu formatting sda only. After installation, Ubuntu boots in correctly, but now it won't show the option for choosing where to boot. I checked the BIOS in case it removed the Windows boot option, but there was no option to boot into Windows, where just before re installing Ubuntu there was. I also checked to see if all the drives where being detected, and they are. I can also access the Windows drive through Ubuntu, I just can't boot into Windows.
Already triedboot-repair and it didn't work
Also tried sudo update-grub and also nothing.
Is there a way to fix this?