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
(https://i.ibb.co/bJngj9S/PXL-20240110-040915970-RAW-01-MP-COVER.jpg) (https://ibb.co/Vm8W047)
Is there any way to fix it? and also to figure out why this happened?
Thanks
If you boot the system then run in a terminal:
$ 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.debian.org/UEFI#efibootmgr_and_efivar)
https://wiki.gentoo.org/wiki/Efibootmgr (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.
(https://i.ibb.co/DQRq9Zp/pic-selected-240112-0919-27.png) (https://ibb.co/cQrm6jL)
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 (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
(https://i.ibb.co/Z6kc4jN/pic-selected-240113-0917-58.png) (https://ibb.co/4Z54vqJ)