Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory

Hello

Recently I notice that every time I want to upgrade ubuntu I have the following message:
Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory

Someone did experience this issue?

Pascal

It’s one of two things: You either have a conflict that is causing it or you don’t have EFI installed to begin with.

If it’s not installed I would install grub-efi-amd64-bin and see if that sorts it.

Thank for your response, I have been searching and finally found how to solve this with this command:
apt-get install -y grub-pc ‘grub-efi*-’
Maybe this will help someone else.