I have a pc with an MSI B550 Gaming Plus motherboard, with Windows 10 on it.
After trying to install Kubuntu with different ways to partition the SSD (install windows using the whole disc and have Kubuntu resize it, install windows on part of the disc and manually make a new partition for Kubuntu, etc.), none of these seems to install grub2 in a way that is detected.
I've tried boot loader installation to /dev/sda as well as /dev/sda1 (the ESP used by windows), but it does not seem to put grub2 there.
When I run BCDedit in Windows, it only shows the windows boot manager and the windows boot loader.
As the Kubuntu installation completes without errors I assume that grub2 is placed somewhere, but not not where the motherboard setup 'MSI click' can find it.
Is there a way to change this without reinstalling Kubuntu or windows?
EDIT: using a usb flash drive with boot-repair and the advanced option 'backup and rename Windows EFI files' I can boot into grub2, but then the Windows boot option does not do anything, it returns to the menu.
Maybe something is wrong with the menu option? It now reads:
setparams 'Windows Boot Manager (on /dev/sda1)'
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint == xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 409C-954a
else
search --no-floppy --fs-uuid --set=root 409C-954a
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
What I understand of this makes sense. But then there seems to be a choice between moving the Windows files, getting grub2 but no Windows, and using boot-repair without moving the files and not getting grub2?