Add How to regenerate Proxmox / pxvirt EFI
commit
3d7958dc78
1 changed files with 10 additions and 0 deletions
10
How-to-regenerate-Proxmox-%2F-pxvirt-EFI.md
Normal file
10
How-to-regenerate-Proxmox-%2F-pxvirt-EFI.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
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.
|
||||
|
||||
1) Boot into the latest Proxmox / pxvirt installation ISO. Latest, as ZFS comptability isn't always guaranteed.
|
||||
2) Once you see the license agreement form, go to terminal via CTRL+ALT+F2
|
||||
3) Import rpool under `/mnt`: `zpool import -R /mnt rpool`
|
||||
4) Mount root (`canmount` should be set as `noauto`): `zfs mount rpool/ROOT/[root name]`
|
||||
5) Bind mount device paths: `mount -o bind {/dev,/proc,/run,/sys,/sys/firmware/efi/efivars} /mnt/{/dev,/proc,/run,/sys,/sys/firmware/efi/efivars}`
|
||||
6) Chroot into /mnt: `chroot /bin/sh /mnt`
|
||||
7) Run `proxmox-boot-tool` as necessary. If need refresh, use `refresh`. If need init, use `init /dev/efi-device`
|
||||
8) Reboot
|
Loading…
Add table
Add a link
Reference in a new issue