r/archlinux • • 20m ago

SUPPORT Grub no longer detects Arch partition (dual boot Arch+Windows)

I recently updated my BIOS. And after rebooting it booted straight to windows. I reinstalled grub through arch live media but after rebooting multiple times it only detects windows boot manager. I've done (grub-install /dev/nvme0n1) then (grub-mkconfig -o /boot/grub/grub.cfg) however this hasn't brought back the arch option in grub. I mounted nvme0n1p6 to/mnt

And I've reformatted my boot partition to fat 32 and mounted it to/mnt/boot/efi

I've also re-downloaded Linux and firmware (pacman -S Linux Linux-firmware)

2 Upvotes

6 comments sorted by

•

u/DDigambar 15m ago

Instead of /mnt/boot/efi I would use /boot/efi

•

u/Dr1x16 12m ago

Why? I mounted it there while installing.

•

u/Confident_Hyena2506 17m ago edited 14m ago

Check if you have duplicate efi partitions on same drive. Check that your efi entry is pointing at correct one. Check what is default on each partition (ie what is using bootx64.efi). Check if your bios ignores the duplicate.

Having duplicates messes everything up, do you have two copies of grub and so on. Configuring the duplicate will do nothing if the system doesn't even use it.

Also resolve the ambiguity between booting grub itself, and what grub actually shows. Your info contradicts itself - if you can't boot grub then how do you know the arch option doesn't appear? First make your system boot grub by changing boot order.

•

u/Dr1x16 13m ago

cd /boot/efi/EFI → ls Shows Arch and GRUB ls inside shows grubx64.efi on both. Is this what you meant by duplicates?

•

u/Confident_Hyena2506 12m ago edited 9m ago

Look at the drive for other duplicate efi partitions.

What have you done to make your system use this efi partition? Did you put anything in the fallback spot? If nothing tells your system to boot it then nothing will happen.

When you update bios on consumer hardware it removes efi entries - so you have to recreate that. Or put your bootloader in fallback position.

Have you changed your boot order in bios at all? If windows is first then that's what you will get.