grub-install: error: cannot find EFI directory.

Lucas Rey

Well-Known Member
May 18, 2018
47
30
58
52
Hello, I'm trying to replace fauty Proxmox ZFS boot disk (they are in RAID1 so proxmox boot without problem from other disk).
The commands I did are the following (after replace the disk):

Code:
# sgdisk --replicate=/dev/sdb /dev/sda
# sgdisk --randomize-guids /dev/sdb
# grub-install /dev/sdb

But the last command replied me with:
Code:
root@pve:~# grub-install /dev/sdb
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.

I already did the same procedure in other server without EFI boot, and it works perfect, then I added the new disk to the pool. Now, how can I install grub on new disk?
Thank you
Lucas