Borked my boot entries

Hi,

Using efibootmgr I discovered that there was a windows entry and wanted to get rid of it.
So I did


efibootmgr -b 0000 -B

After reboot I was presented with grub command prompt.

My hunch is that I need to update-grub or something but at the command prompt that does not work.
Current:

efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0004
Boot0004* UEFI OS       HD(1,GPT,d6d593e8-ccc5-9343-981d-0665692b89f4,0x1000,0x96000)/File(\EFI\BOOT\BOOTX64.EFI)
      dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 60 09 00 00 00 00 00 e8 93 d5 d6 c5 cc 43 93 98 1d 06 65 69 2b 89 f4 02 02 / 04 04 30 00 5c 00 45 00 46 00 49 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 58 00 36 00 34 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
Boot0005* UEFI: SanDisk, Partition 2    PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(2,GPT,26428052-6e8e-91ef-37fa-84bf4664e752,0x1c93fd8,0x10000)0000424f
      dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 14 / 03 05 06 00 01 00 / 04 01 2a 00 02 00 00 00 d8 3f c9 01 00 00 00 00 00 00 01 00 00 00 00 00 52 80 42 26 8e 6e ef 91 37 fa 84 bf 46 64 e7 52 02 02 / 7f ff 04 00
    data: 00 00 42 4f

Any help appreciated,
Thanks

PS
Using live USB stick now.
Bought this laptop June 30 2020, it never booted into Windows.
I took an image from the NVME drive, wiped it and installed Manjaro.

If you booted the manjaro live usb just chroot into the manjaro that’s on your NVME drive:
sudo manjaro-chroot -a
and reinstall grub:
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
sudo grub-mkconfig -o /boot/grub/grub.cfg
and reboot.

2 Likes

Hi,

That worked, thanks very much.

1 Like

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