[SOLVED] GRUB error: no such device

In the first boot after install quick error message "error: no such device " and I get thrown in the GRUB shell. I can boot Manjaro by

set root=(hd0,gpt5)
linux /boot/vmlinuz… root=/dev/sda5
initrd /boot/initramfs…
boot

After that I followed recommended steps to fix GRUB:

$ sudo grub-install /dev/sda
Installing for x86_64-efi platform.
Installation finished. No error reported.
$ sudo grub-install --recheck /dev/sda
Installing for x86_64-efi platform.
Installation finished. No error reported.
$ sudo update-grub
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.8-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.8-x86_64.img
Found initrd fallback image: /boot/initramfs-5.8-x86_64-fallback.img
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings …
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

But despite encouraging outputs from these commands, GRUB remains broken and doesn’t boot on its own. Any advice?

Strangely enough, booting into Windows and setting

bcdedit /set {bootmgr} path \EFI\Manjaro\grubx64.efi

fixed it!

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