Proxmox VE 5.3 installer overwriting existing EFI boot variables

geppi

Active Member
Nov 27, 2018
15
5
43
59
Germany
I decided that it would be a good idea to install Proxmox VE 5.3 to a USB thumb drive just as a rescue system which would enable me to independently mount my zfs rpool from the SSD mirror.

So I plugged in a USB thumb dive with the Proxmox installer and another thumbdrive to install to.
Everything worked fine until I wanted to boot back into the Proxmox system on the SSDs.
Ooops, the boot entries to do this in the EFI BIOS were gone.

Luckily it was a piece of cake to fix this with efibootmgr from the system that I had just installed onto the USB thumb drive. :)

Is it intended behaviour that the Proxmox installer does overwrite existing EFI boot viariables ?

Maybe it did this to confirm what a good idea it was to have Proxmox also installed onto a USB thumb drive for emergency cases ? ;)
 
yes, we call grub-install with a bootloader-id of 'proxmox' which of course gets overwritten
 
This I understand, but it also wiped out the boot variable for 'proxmox-2', which was the entry to boot from the second SDD of the rpool mirror.

Apart from that it would be a nice feature if one could define the name of the bootloader in the installer, which could default to 'proxmox'.
 
perhaps do a grub-install --removable on both and control the boot order in bios.
 
It wouldn't, but by using the fallback boot loader (efi/boot/BOOTx64.EFI), the bios will automatically make a bootable entry in bios, and you can ignore the proxmox variable and select whatever disk you want to boot from the list of automatically created fallback boot loaders.
 
  • Like
Reactions: AlexLup

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!