root@Server1:~# apt install grub-efi-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
pve-kernel-5.15.116-1-pve pve-kernel-5.15.131-2-pve
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
grub-pc
The following NEW packages will be installed:
grub-efi-amd64
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 40.2 kB of archives.
After this operation, 384 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1
http://ftp.de.debian.org/debian bullseye/main amd64 grub-efi-amd64 amd64 2.06-3~deb11u6 [40.2 kB]
Fetched 40.2 kB in 0s (347 kB/s)
Preconfiguring packages ...
(Reading database ... 74509 files and directories currently installed.)
Removing grub-pc (2.06-3~deb11u6) ...
Selecting previously unselected package grub-efi-amd64.
(Reading database ... 74500 files and directories currently installed.)
Preparing to unpack .../grub-efi-amd64_2.06-3~deb11u6_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-3~deb11u6) ...
Setting up grub-efi-amd64 (2.06-3~deb11u6) ...
Installing for x86_64-efi platform.
File descriptor 3 (pipe:[2047157]) leaked on vgs invocation. Parent PID 333765: grub-install.real
File descriptor 3 (pipe:[2047157]) leaked on vgs invocation. Parent PID 333765: grub-install.real
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.15.152-1-pve
Found initrd image: /boot/initrd.img-5.15.152-1-pve
Found linux image: /boot/vmlinuz-5.15.143-1-pve
Found initrd image: /boot/initrd.img-5.15.143-1-pve
Found linux image: /boot/vmlinuz-5.15.131-2-pve
Found initrd image: /boot/initrd.img-5.15.131-2-pve
Found linux image: /boot/vmlinuz-5.15.116-1-pve
Found initrd image: /boot/initrd.img-5.15.116-1-pve
Found linux image: /boot/vmlinuz-5.15.74-1-pve
Found initrd image: /boot/initrd.img-5.15.74-1-pve
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
Processing triggers for man-db (2.9.4-2) ...
root@Server1:~#