I'm stuck trying to get Linux to boot on my PCs. I've been trying a lot with OpenSUSE and Ubuntu on my different laptops but none of them work. Regardless how many times I run update-grub
, it never runs.
Both of them have MS signed shims so the UEFI should load them properly, but in reality they're not, even though the update-grub
or grub2-install
outputs always say that grub has been installed successfully.
I have tried turning off secure boot and install grub again but still not working. I also turned off fastboot, fast startup and Intel SRT but that doesn't help, either.
I tried boot-repair
and not a single time any error appears. In the output log it says:
If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
So there's no option to change boot order in UEFI settings, only boot device order like in BIOS and I have to run the last command.
It works now but I don't want to chainload grub from Windows bootloader like that. I want to load grub directly because I want to run Linux alone in my new PC and run Windows only in a virtual machine. Is there any solution for this?