[SOLVED] After upgrade of debian 9 to 10 vm does not boot anymore ....

apax

Member
Apr 3, 2019
11
5
23
60
I have upgraded debian from v9 (strech) to v10 (buster) and the vm is stuck in "grub rescue" after reboot, with the error message "symbol grub_is_lockdown not found" (see fig 1)

I can manually start by pressing F2 and then go in "boot maintenance Manager" and manually "Boot From File" and selecting 'EFI' - '<debian>' - 'grub64.efi' (see fig 2). However It is a nuisance having these extra steps as the VM will not restart automatically after a host restart.

- I have tried to define a new entry in the boot managed that points to that file unsucessfully as it is lost on reboot.
- I have also tried:
Code:
$ blkid
/dev/vda1: UUID="7686-0031" TYPE="vfat" PARTUUID="067f9d69-0838-4273-86de-d216da223352"
/dev/vda2: UUID="c3cdd3b5-26e5-466a-be1e-cda021bb9a41" TYPE="ext4" PARTUUID="e5891b6c-01d3-409a-9dce-84f8f9511a84"
/dev/vda3: UUID="d342f45a-c040-4307-8b73-be5bc75f2060" TYPE="swap" PARTUUID="e610e68a-b38b-4916-ab5e-73cb27518e36"
$ grub-install /dev/vda
Installing for x86_64-efi platform.
Installation finished. No error reported.
$ update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.19.0-18-amd64
Found initrd image: /boot/initrd.img-4.19.0-18-amd64
Found linux image: /boot/vmlinuz-4.9.0-17-amd64
Found initrd image: /boot/initrd.img-4.9.0-17-amd64
Adding boot menu entry for EFI firmware configuration
done

but, after the VM reboots I am always stuck in fig 1.

Could someone help me with a suggestion ?

Many thank ! -- albpacecom

fig1.png
Fig 1

fig2.png
Fig 2
 
gurubert, thank for the reply.

By following your advice, I realized that my VM configuration was missing the EFI disk that was necessary to persist the changes. After adding it, and pressing F2 at boot I was able to add the default EFI boot file and persist it at the next boot.

- apax

proxmox.png
 
  • Like
Reactions: gurubert

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!