Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Boot Loader won't detect Artix (Read 992 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[SOLVED] Boot Loader won't detect Artix

Hi,

I was trying to install artix and arch on a usb device using my laptop which has artix installed on it.
After that my laptop boot loader cannot detect artix OS and I have to press f9 and choose "select a fie to boot" option from boot menu.
It used to auto load grub before.

Here's a photo


Is there any way to fix it? and also to figure out why this happened?

Thanks

Re: Boot Loader won't detect Artix

Reply #1
If you boot the system then run in a terminal:
Code: [Select]
$ efibootmgr
it might help, if you check the boot order field and what boot options are present.
You can change these things using efibootmgr, or often you can also do this in the BIOS settings menus of your computer.
https://wiki.debian.org/UEFI#efibootmgr_and_efivar
https://wiki.gentoo.org/wiki/Efibootmgr
There are also various pages on the Arch wiki with even more detailed info but I don't think a lot of it would be relevant here, those links above looked simpler for what you probably want to know, if the EFI settings are causing a problem.

Re: Boot Loader won't detect Artix

Reply #2
If you boot the system then run in a terminal:
Code: [Select]
$ efibootmgr
it might help, if you check the boot order field and what boot options are present.
You can change these things using efibootmgr, or often you can also do this in the BIOS settings menus of your computer.
https://wiki.debian.org/UEFI#efibootmgr_and_efivar
https://wiki.gentoo.org/wiki/Efibootmgr
There are also various pages on the Arch wiki with even more detailed info but I don't think a lot of it would be relevant here, those links above looked simpler for what you probably want to know, if the EFI settings are causing a problem.

Hi, I tried this method but it still won't boot automatically.
here's  a SS of efibootmgr output and /boot directory.



 

Re: Boot Loader won't detect Artix

Reply #3
It looks like the boot entry is /boot/EFI/grub/grubx64.efi but the file is /boot/EFI/grub/x86_64-efi from that output.

https://wiki.artixlinux.org/Main/Installation#Boot_Loader

You could try running grub install, update-grub, and possibly even mkinitcpio -P although I don't think that would be needed here, but is unlikely to do any harm, from your Artix OS once it's booted and see if it helps, make sure you run the right grub install command. Also check /etc/fstab points to the right UUID's or whatever, especially for the boot partition if it's separate., although again that's most likely not the issue here.

Re: Boot Loader won't detect Artix

Reply #4
It looks like the boot entry is /boot/EFI/grub/grubx64.efi but the file is /boot/EFI/grub/x86_64-efi from that output.

https://wiki.artixlinux.org/Main/Installation#Boot_Loader

You could try running grub install, update-grub, and possibly even mkinitcpio -P although I don't think that would be needed here, but is unlikely to do any harm, from your Artix OS once it's booted and see if it helps, make sure you run the right grub install command. Also check /etc/fstab points to the right UUID's or whatever, especially for the boot partition if it's separate., although again that's most likely not the issue here.

Running grub-install and grub-mkconfig command solves the isssue
Here's an updated SS of efibootmgr and /boot/EFI directory