Correct way to install grub uefi and mount it on EndeavorOS

I deleted the efi partition as it had junk in it. Created another one,
used the command:
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS

Then changed the uuid in fstab
Is there anything else I need to do? As in arch, that used to be sufficient.

1 Like

That should do it, basically.

However in EnOS, only grub-install should be sufficient as it uses some, by default “values” for --efi-directory= and --bootloader-id=

Check the link below and scroll down to the UEFI part:

https://discovery.endeavouros.com/system-rescue/repair-a-non-booting-grub/2021/03/

Just curious, where do they set the default path for efi?
As in arch systems you have to specify esp. Is there any config file to do that?

I may be mistaken but I guess /boot/efi is what grub-install uses by default and that is the path used by EnOS.

In case the user chooses to mount ESP on other locations, like /efi or /boot, then it would need to be specified.

Arch won’t make that choice on behalf of the users so --efi-directory needs to be specified.

Currently, I don’t have an EnOS installed to check things up though :blush:

:eye: https://www.gnu.org/software/grub/manual/grub/html_node/Installing-GRUB-using-grub_002dinstall.html

cool

If your inquiry has been answered to your satisfaction, please mark the relevant post as solution by clicking … under the post and checking the box.

This will make the forum software to regard the topic as solved and other users who might have the same question to find the answer more easily.

We don’t do anything special with grub. The only thing we do is configure /etc/default/grub during the initial installation. Once grub is installed the first time, you usually don’t have to specify --efi-directory when you call grub-install again.

There is no config file for the ESP mountpoint.

Grub should be the same on EOS as it is on Arch.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.