[HowTo] Restore Manjaro Default EFI Boot Entry in Laptop BIOS

Issue

Sometimes when I removed battery from ASUS laptop then Manjaro EFI boot entry missed.

Fix

  1. Open BIOS/EFI setup via [Esc] button (boot options) and select Enter Setup.
  2. Navigate to Boot > Add New Boot Option.
  3. Set values and create new boot option:
  • New Boot Option enter NAME for entry Manjaro.
  • Select file system use proper PCI device path for boot drive from available
  • Path for boot use \EFI\Manjaro\grubx64.efi
  • SAVE changes via Create .
  1. Save changes in BIOS Setup via [F10] button. Reboot.
2 Likes

please be more specific and add the following pieces of information:
what boot manager are you talking about?
what file are you editing to get a new boot entry?

IN BIOS/EFI FW self.

I expose first post. I hope now is more clarify. Regards

1 Like

I don’t have this for my non-Asus computer.
It is a much easier way to fix a non-booting uefi machine.
Since there are problems with Lenovo and HP systems as well, I wonder if this option (or similar) is available in their systems. If other computer systems have this option, it will be good to list it down.

Can people (especially HP and Lenovo) that have this option available please state down here with their computer make and model?
Thanks.

I think this method is similar to this one here.

When booting up system, check bootsetup (F10?) if there is a uefi submenu with boot priority bootorder. Is there a “custom boot entry”? Click on it and see if it ask you to “enter path to file” (or something like that).

If there is, then we on to something. Reboot and go to bios setup (F9?), chose EFI-file, write down path after every click, to the directory \EFI\manjaro\grubx64.efi.

Reboot, and go to boot options F10(?).
move custom boot to the top of priorities and then typed in the exact path like \EFI\manjaro\grubx64.efi
Note use’’ instead of’/’ for directories and sub directories.
Save changes and reboot.

This is on a HP; but another user on HP said he didn’t have this available in his computer.

Another useful method on a different HP computer with a different method.

Thought I’d share here with the different ways some UEFI operate.

1 Like

@FadeMind, Sorry, I forgot one thing.
If you set bootx64.efi to the Manjaro grub efi file, next time when Manjaro boot entry goes missing, there will still the bootx64.efi (won’t go missing) to boot into Manjaro and you can get back your Manjaro bootentry with a simple
sudo grub-install

To set bootx64.efi to the Manjaro grub efi file, at Manjaro terminal,
sudo cp /boot/grub/x86_64-efi/core.efi /boot/efi/EFI/boot/bootx64.efi

Cheers.