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.
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.