Also on the system, on a different drive is Windows 10.
The Debian 12 install did not detect Windows and I ended up using legacy boot.
Now I want the dual boot back again, preferably using UEFI.
I have a Debian 12 live USB stick with boot-repair installed on it.
boot-repair finds Debian and Windows and makes reasonable repair suggestions but then it fails with
The boot-repair log file is in: https://paste.debian.net/hidden/db8df863/Please enable a repository containing the [grub-efi] packages in the software sources do Debian GNU/Linux 12 (bookworm)(/dev/sdb2). Then try again.
According to Google, several people have encountered this problem but none have received an answer that would allow boot-repair to succeed.
Any ideas?