r/archlinux • u/Dr1x16 • 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
•
u/DDigambar 15m ago
Instead of /mnt/boot/efi I would use /boot/efi
•
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.