grub-install: error: cannot find EFI directory.

Lucas Rey

Well-Known Member
May 18, 2018
40
26
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!