GRUB/EFI problem, can't boot normally

Hi,

I’m having problems booting my laptop since a few days.

It boots straight into the GRUB prompt. If I boot using a Manjaro USB key and choose ‘Detect EFI bootloaders’ I get to see this:

If I choose the last option ((hd1,gpt3)/efi/Manjaro/grubx64.efi), my system appears to boot normally. Interestingly the entries of Ubuntu are still present, which was installed on this machine before switching to Manjaro.

If I check the boot devices in my BIOS, ‘Ubuntu’ shows up, but not Manjaro.

Running ‘efibootmgr -v’ reveals this:

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 2001,0000,2002,2003
Boot0000* ubuntu        HD(3,GPT,e909ae14-8d94-41e9-9acd-798f0ac755f0,0x74606000,0x100800)/File(\EFI\ubuntu\shimx64.efi) File(.䍒)
      dp: 04 01 2a 00 03 00 00 00 00 60 60 74 00 00 00 00 00 08 10 00 00 00 00 00 14 ae 09 e9 94 8d e9 41 9a cd 79 8f 0a c7 55 f0 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
    data: 52 43
Boot0001* EFI USB Device (USB DISK 3.0) PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)/HD(1,MBR,0x0,0x611cd0,0x2000)RC
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 11 00 / 04 01 2a 00 01 00 00 00 d0 1c 61 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
    data: 52 43
Boot2001* EFI USB Device        RC
      dp: 7f ff 04 00
    data: 52 43
Boot2002* EFI DVD/CDROM RC
      dp: 7f ff 04 00
    data: 52 43
Boot2003* EFI Network   RC
      dp: 7f ff 04 00
    data: 52 43

So it appears my BIOS is trying to boot Ubuntu, which isn’t installed, hence it ends up in the GRUB prompt.

How do I fix this mess?

Regards

  • remove the ubuntu entry (which isn’t installed anymore):
# efibootmgr -b 0000 -B
  • boot from manjaro usb
  • manjaro-chroot into your existing installation
  • reinstall grub

The wiki has a detailed step-by-step:

1 Like

Thank you, that helped me fix it.

What’s strange though is that the Ubuntu entry comes back after each reboot. How can I get rid of it for good?

You can try removing it directly in your UEFI/BIOS, other than that :man_shrugging:

I did it by mounting my EFI partition to and deleting the ubuntu directory there.
All good now, thanks again!