You are not logged in.
Hi guys! I'm an enthusiastic in Arch Linux and I'm dealing with a problem.
Every time I reboot my pc, my GRUB configuration is gone. I don't have a dual boot.
That's my GRUB configuration, my Arch is the Boot0000
# efibootmgr
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0000,0001,0002,0003
Boot0000* grub
Boot0001* Hard Drive
Boot0002* ubuntu
Boot0003* UEFI: General USB Flash Disk
Boot0008 Hard Drive
If I reboot my pc I'll be able to be on my KDE Desktop because I just set it with:
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=grub --recheck
and generated the config file with:
# grub-mkconfig -o /boot/grub/grub.cfg
But if I reboot the system again, my Boot0000 just disappear and there isn't any option to boot.
Any idea???
Last edited by douglaslb (2020-10-22 12:28:31)
Offline
Welcome to the boards, please use code rather than quote for command outputs
What's your mainboard? There are a few mainboards that don't properly adhere to the UEFI spec and they remove "untrusted" entries. Check through your UEFI firmware settings whether you have an option somewhere to manually add a custom entry, and add your GRUB there, or execute the grub-install command with the --removable flag to have it populate the default path of esp/EFI/BOOTx64 that one should always be available for booting.
Offline
Welcome to the boards, please use code rather than quote for command outputs
What's your mainboard? There are a few mainboards that don't properly adhere to the UEFI spec and they remove "untrusted" entries. Check through your UEFI firmware settings whether you have an option somewhere to manually add a custom entry, and add your GRUB there, or execute the grub-install command with the --removable flag to have it populate the default path of esp/EFI/BOOTx64 that one should always be available for booting.
Hi V1del, thank you for your answer!
I ran the grub-install command with the --removable flag and it worked. Now my UEFI is not removing the Arch entry.
Thank you so much!
(I'll make sure to use code instead of quoting next time haha)
Offline