I had an old computer with ubuntu 22.04 and I'm acquired a new one with windows 10 on its own. Both work as expected. I decided to plug my old SSD into the new computer, configure its BIOS so that it boots with GRUB, and hoped to configure GRUB to get a dual boot option.
Unfortunately I can't find a way to boot on windows from GRUB (I get a black screen when I try). I can still pick my OS by changing the boot order of both drives in the BIOS but it's quite uncomfortable.
I ran boot-info and boot-repair, here is the pastebin from boot-info: https://paste.ubuntu.com/p/vTMBVj8DKf/
This might be the solution (note that I tried several workarounds like copying my windows boot partition to the same SSD as the GRUB partition, so boot-info now might show weird UUIDs or whatever):
WindowsEFI detected. Please disable BIOS-compatibility/CSM/Legacy mode
in your UEFI firmware, and use this software from a live-CD (or
live-USB) that is compatible with UEFI booting mode. For example, use
a live-USB of Boot-Repair-Disk-64bit
(www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is
set up to boot USB in EFI mode.
But I'm not aware of the difference between UEFI/EFI and can't find the adequate option in BIOS.
Any guess on what I should do next?
Thanks for reading!