1
How to regenerate Proxmox / pxvirt EFI
ayakael edited this page 2025-09-04 12:42:24 +00:00
Regenerating EFI involves using proxmox-boot-tool within chroot environment. Most times, just refreshing the EFI is necessary. But when the EFI boot is completely confused, it is worth reinitializing it. To do so, first setup a chroot environment.
- Boot into the latest Proxmox / pxvirt installation ISO. Latest, as ZFS comptability isn't always guaranteed.
- Once you see the license agreement form, go to terminal via CTRL+ALT+F2
- Import rpool under
/mnt:zpool import -R /mnt rpool - Mount root (
canmountshould be set asnoauto):zfs mount rpool/ROOT/[root name] - Bind mount device paths:
mount -o bind {/dev,/proc,/run,/sys,/sys/firmware/efi/efivars} /mnt/{/dev,/proc,/run,/sys,/sys/firmware/efi/efivars} - Chroot into /mnt:
chroot /bin/sh /mnt - Run
proxmox-boot-toolas necessary. If need refresh, userefresh. If need init, useinit /dev/efi-device - Reboot