[Solved] BIOS won't recognize grub gpt partition.

I run a machine with an SSD with dual booted Windows and Manjaro and after a forced shutdown my BIOS won't recognize GRUB anymore.
When booting via an USB Installation media and selecting "Detect EFI Bootloaders" I can see both Windows' and Manjaro's bootloader

Grub is on GPT5 /efi/boot/bootx64.efi
My BIOS automatically starts Windows on GPT2

But my BIOS only recognizes Windows' one though the boot options.

How can I restore my dual boot?
My MOBO is an MSI B350M Mortar

Use the LiveUSB Get to Live Desktop.

Start a terminal and type manjaro-chroot -a. Might want to make sure you're updated first. sudo pacman-mirrors -f5 && sudo pacman -Syyu,then sudo update-grub.
Type exit once it's finished.

Reboot.

See if that slaps your BIOS into shape. :grin:

3 Likes

Here's the output of update-grub. I'm posting it for future refer since I have to restart the system. BTW I used my system because I am able to get to the system when starting it thought the installation as you can see in the image. I'll edit this post in five mins.

enerating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.2-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.2-x86_64.img
Found initrd fallback image: /boot/initramfs-5.2-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
Found linux image: /boot/vmlinuz-5.2-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-5.2-x86_64.img
Found initrd fallback image: /boot/initramfs-5.2-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.19-x86_64
Found initrd image: /boot/amd-ucode.img /boot/initramfs-4.19-x86_64.img
Found initrd fallback image: /boot/initramfs-4.19-x86_64-fallback.img
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1.  Check your device.map.
Found Windows Boot Manager on /dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
1 Like

Thanks it worked! I still had to select manjaro/grub as default in the BIOS but now at least it shows up. Marking this as solved.

1 Like

It looks like there's some wonkiness with the device ids probably.
If you feel like trying to get it fixed you can follow this tutorial:

Glad it got you to at least boot into Manjaro.

A simple re-install of grub might actually fix it but I wanted to link the tutorial anyhow for reference.

Enjoy!

1 Like

Uh okay while it now boots into Manjaro, it gets stuck after the login screen. Literally. Select User, enter password, enter login, stuck. I can move the mouse but I can't select anything else and it just stays this way. Idk why though. Any idea?

Edit: only when pressing enter though, if I click on the button it works.

Were you happen to be updating Manjaro when the shut down occured?

So you can get to desktop but only if you click the button?

Forum kindly sponsored by Bytemark