UEFI boot not working via BIOS, but does via Live USB

I have installed Windows 10 and now a fresh Manjaro KDE install.
When the PC starts, it boots directly to Windows even though I installed Manjaro later so grub should pop up.
When I go to the BIOS settings and choose to manually specify the boot order, under UEFI boot the “Manjaro” option is there but when I select that it immediately goes back to the same screen, like it’s not doing anything.
But then when I start the Live USB and select search EFI boot options, Manjaro appears and when I select that it takes me to grub, and I can select Manjaro and boot correctly.
What can I do so that my system detects grub without having to go through the live usb method?

Thanks!

Boot up from the USB in live mode and open up a terminal window. In this window, type… :arrow_down:

su -

Enter the live USB’s root password. Now enter the following command… :arrow_down:

manjaro-chroot -a

Press 1. Now enter the following commands… :arrow_down:

grub-install --recheck --no-rs-codes --modules="part_gpt part_msdos" --efi-directory="/boot/efi" --target="x86_64-efi"
update-grub
exit

It should now be safe to reboot your computer, and the EFI boot menu should now work. :wink:

Hi! thanks for the response, however that didn’t fix the problem.

It gives me an error when I input the code, like grub not present. Tried to carry on anyway with the rest of the commands but still would not display grub on startup

Could you provide the output of:

sudo efibootmgr -v
1 Like

The output it gives me is
BootCurrent: 0012 Timeout: 0 seconds BootOrder: 0001,0000,0010,0011,0012 Boot0000* Windows Boot Manager HD(1,GPT,77477ef2-d197-4654-92f3-03d0d66fd682,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................ Boot0001* manjaro HD(6,GPT,36610854-bb3a-1346-85e1-b6e86461ce55,0x74604800,0x5000)/File(\EFI\manjaro\grubx64.efi) Boot0010* Onboard NIC(IPV4) PciRoot(0x0)/Pci(0x19,0x0)/MAC(b8ca3aad3170,0)/IPv4(0.0.0.00.0.0.0,0,0)AMBO Boot0011* Onboard NIC(IPV6) PciRoot(0x0)/Pci(0x19,0x0)/MAC(b8ca3aad3170,0)/IPv6([::]:<->[::]:,0,0)AMBO Boot0012* UEFI: KingstonDT 101 G2 PMAP PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x5cbcf8,0x2000)AMBO

Your windows and manjaro boot entries use different drives…
Make sure you have a partition with UUID = 36610854-bb3a-1346-85e1-b6e86461ce55 which is used to boot manjaro.
If you can’t find such partition then that’s the reason why it’s not working…

1 Like

That was it indeed! I installed it incorrectly. It was my first UEFI dual boot installation and used separate EFI partitions out of fear that Manjaro would overwrite my Windows one.

Thank you very much all!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.