We recently encountered an issue at work where an MSI mainboard refused to accept any GRUB installation. Specifically, the firmware would only list “Windows Boot Manager” in the boot menu, ignoring all other entries. To work around this, we deleted the original Windows Boot Manager entry and created a new one pointing to Ubuntu’s GRUB bootloader instead of Microsoft’s loader. This gist documents the steps we took to implement that workaround.
The problematic device was a custom-built PC with a fairly recent MSI mainboard (13th Gen Intel). It had two NVMe drives: one with Windows, and the other with Ubuntu. Ubuntu was installed using the automatic "Install alongside Windows" option. Normally, this option produces a working GRUB setup that automatically detects other operating systems using os-prober
. In this case, however, the system booted straight into Windows after installation.
At first, this seemed like an easy f