[SOLVED]
This update broke my setup and I can no longer boot my Linux partition. I didn’t read this forum post before rebooting, only read the Pamac output, so I went to GRUB - ArchWiki as I was told and run grub-install instead of install-grub (a command I didn’t have nor I knew it existed).
I created a live USB, opened the terminal and run manjaro-chroot -a as the root user,
[manjaro-cinnamon manjaro]# manjaro-chroot -a
==> Mounting (ManjaroLinux) [/dev/sda5]
--> mount: [/mnt]
--> mount: [/mnt/boot/efi]
Then I installed install-grub with pamac, and got the following error
WARNING: EFI directory not found! Grub couldn't be installed.
Running install-grub --help
does not show any help. Any hints on what to do from here? How do I tell install-grub to look in /mnt/boot/efi
from a LiveUSB chroot?
EDIT: By the way, I dual boot with a Windows 10 partition set in /dev/sda3, Manjaro is on /dev/sda5. I really really would love to not overwrite my GRUB configuration so I can still boot in WIndows from time to time.
EDIT 2: Ok, I made some progress. I realised that the LiveUSB came with a tool to automatically detect EFI bootloader entries. Doing so, gave this.

The (hd1,gpt6)
entries weird me out, but their existence is probably on me or on Microsoft. So let’s ignore them for now. What matters is that selecting (hd1,gpt1)/efi/manjaro/grubx64.efi
brings me back to the grub I’m used to. Now I only have to solve two things: (1) learn how make my computer to boot from there instead of booting Windows, and (2) make sure that grub actually updated and that I’m not running the vulnerable version.
EDIT 3
So, I’m running from my actual partition now. First thing I did was to run pamac install install-grub
and sudo install-grub
. I got this (sorry for the Spanish)
[me@mymachine ~]$ sudo install-grub
Grub will be installed on: EFI
Instalando para plataforma x86_64-efi.
Instalación terminada. No se notificó ningún error.
Generando un fichero de configuración de grub...
Encontrado tema: /usr/share/grub/themes/manjaro/theme.txt
Encontrada imagen de linux: /boot/vmlinuz-6.6-x86_64
Encontrada imagen de memoria inicial: /boot/intel-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
Encontrada imagen de linux: /boot/vmlinuz-5.10-x86_64
Encontrada imagen de memoria inicial: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Encontrada imagen de linux: /boot/vmlinuz-5.4-x86_64
Encontrada imagen de memoria inicial: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Aviso: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Encontrado Windows Boot Manager en /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
hecho
Warning: GRUB bootloader at /boot/efi/EFI/manjaro was updated,
but it seems like you are not using it by default.
Please check your EFI boot priorities!
Well, GRUB updated. that’s for sure. I’ll update once I learn how to fix my EFI boot priorities. Hopefully this will help someone with the same problems I had.
EDIT 4 and final
Ok, I fixed it thanks to the help of Gentoo wiki entry on efibootmgr. When install-grub
told me to the GRUB bootloader at /boot/efi/EFI/manjaro
was updated but not set as default, that meant install-grub
believed that GRUB had a lower priority on the UEFI setup utility respect to the Windows Boot Manager or other devices. In reality, the GRUB bootloader was nowhere to be seen!
[me@mymachine ~]$ efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,2001,2002,2003
Boot0000* USB HDD: General UDisk3.0 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x6645dc,0x2000)RC
Boot0001* Windows Boot Manager HD(1,GPT,b29fdacc-769c-4046-8c90-7e275fbf6f32,0x800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000004d000100000010000000040000007fff0400
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
Well, then it was needed to create a new booting option manually. For the next command, it’s important to remember that /boot/efi
is just the location where /dev/sda1 is mounted. Or at least it is on my machine. So I needed to tell efibootmgr
to -create an entry on the -disk /dev/sda, on the -partition 1, for the -loader \EFI\manjaro\grubx64.efi
with the -Label “Manjaro” (probably I should have called it GRUB, but too late for that). It is really important you use the correct disk name and partition number for your setup.
[me@mymachine ~]$ sudo efibootmgr -c -d /dev/sda -p 1 -L "Manjaro" -l '\EFI\manjaro\grubx64.efi'
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0002,0001,2001,2002,2003
Boot0000* USB HDD: General UDisk3.0 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x0,0x6645dc,0x2000)RC
Boot0001* Windows Boot Manager HD(1,GPT,b29fdacc-769c-4046-8c90-7e275fbf6f32,0x800,0x32000)/\EFI\Microsoft\Boot\bootmgfw.efi57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000004d000100000010000000040000007fff0400
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
Boot0002* Manjaro HD(1,GPT,b29fdacc-769c-4046-8c90-7e275fbf6f32,0x800,0x32000)/\EFI\manjaro\grubx64.efi
I could have fixed the booting order with efibootmgr too, but I preferred to stick to what I already knew: pressing F2 on boot, opening the UEFI firmware settings, and set the order myself. Just consider this: for some reason, the menu didn’t recognise the “Manjaro” label, it was listed just as “Windows Boot Manager”, and after the first time booting from it, it changed to “▒▒▒”. But in any case, it works and I’m happy.