SOLVED: PVE update broke my system (because I missed something). GRUB error

gctwnl

Member
Aug 24, 2022
65
8
13
I upgraded PVE on my NUC which ended with

Code:
Your System is up-to-date


Seems you installed a kernel update - Please consider rebooting
this node to activate the new kernel.

starting shell
So, I rebooted, entered the BIOS/disk passwords and then I got:
Code:
Welcome to GRUB!

error: symbol `grub_disk_native_sectors' not found.
grub rescue>
And looking again at the upgrade window, I had missed something, because the complete message at the end of the upgrade was:
Code:
update-initramfs: Generating /boot/initrd.img-6.8.12-8-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.

Removable bootloader found at '/boot/efi/EFI/BOOT/BOOTX64.efi', but GRUB packages not set up to update it!
Run the following command:

echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u

Then reinstall GRUB with 'apt install --reinstall grub-efi-amd64'

Processing triggers for libc-bin (2.36-9+deb12u9) ...

Your System is up-to-date


Seems you installed a kernel update - Please consider rebooting
this node to activate the new kernel.

starting shell
In addition: my NUC has a BIOS password and an internal SSD which is also encrypted/protected with a password.

Now, what do I have to do to get this fixed? Is there a way at all? I have seen more have been hit by this but I am a bit at a loss.

the ls command gets me:

Bash:
grub rescue> ls
(lvm/pve-root) (lvm/pve-swap) (hd0) (hd0,gpt1) (hd1) (hd1,gpt3) (hd1,gpt2) (hd1,gpt1)
 
Last edited:
Solved through these steps:
  1. Download the Proxmox VE 8.3.1 IOS and flash it to a USB drive
  2. Connect the USB drive to the USB of the system
  3. Boot the system (mine will boot from a USB drive found without BIOS changes)
  4. The Proxmox installer boots. Select the recovery option in Advanced
  5. This boots the PVE environment and you can log in via the web browser as you normally will
  6. Use the shell in the web browser for this PVE to execute the forgotten commands:
    Code:
    echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -uapt install --reinstall grub-efi-amd64
  7. reboot the system
After these steps, my PVE booted again and launched all VMs on it. Phew!