Score:0

"cannot find EFI directory" Error while installing grub in fresh storage volume

ar flag

What I Have Done?

I'm planning to replace the current default volume with a new one for some reason, so that's why I'm planning to copy data to it, set up grub, and replace the original volume with this new volume.

In the existing Ubuntu server, Attached additional volume (newly formatted volume), setting up grub for this.

After that, I get the below error while installing grub.

Command

sudo grub-install --root-directory=/mnt/new-volume/ --force /dev/nvme1n1

Output

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

Any idea on how to resolve this?

David avatar
cn flag
Is there an EFI directory on the drive you are trying to put Grub on?
DilLip_Chowdary avatar
ar flag
@David No, it's a newly formatted volume, it doesn't contain the EFI directory.
David avatar
cn flag
Hence the error.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.