Update Installed -- System booted in EFI-mode but 'grub-efi-amd64' meta-package not installed!

please post the output of "ls /sys/firmware/efi/efivars" and "dmesg | grep -i efi"
 
Code:
Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c     Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c  LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c    MTC-eb704011-1402-11d3-8e77-00a0c969723b
ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c        PerfDataMemAddr-59d1c24f-50f1-401a-b101-f33e0daed443
ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c     PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c       PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c    Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c

Code:
[    0.000000] efi: EFI v2.1 by TianoCore.org
[    0.000000] efi: ACPI 2.0=0xdfc9e000 ACPI=0xdfc9d000 SMBIOS=0xdfc9c000
[    0.047299] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.379814] pci 0000:03:00.0: BAR 3: assigned to efifb
[    0.405211] efivars: Registered efivars operations
[    1.496781] tsc: Refined TSC clocksource calibration: 2931.261 MHz
[    6.372500] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    6.383700] pstore: Registered efi_pstore as persistent store backend
[    6.392792] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    6.392974] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
 
yeah, so your system is booting using EFI ;)
 
I installed grub-efi-amd64 on a test machine made some changes in /etc/defaults/grub.cfg and reboot the system. System is started normally without any issues. If installing grub-efi-amd64 the package grub-pc is removed. System is a Dell R740XD Intel Xeon Gold based system.
can confirm, after initial 7to8 check, turned off vms/lxc, followed steps, re-ran 7to8, saw error, thank you @dan.ger i also installed
Code:
grub-efi-amd64
before rebooting
post reboot it functions as expected, thank you Community and Proxmox!!
 
Last edited:
My system is a few months old non zfs root and didn't have grub-efi-amd64 installed by default.
I've been running update-grub when I change /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT without problems so far but the /etc/kernel hooks are not triggered even though they are with apt upgrades. When I run proxmox-boot-tool it just says No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
I'm not sure what the implications are but efi looks active like this:
Code:
efibootmgr -v
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0006,0007,0008,0001,0005,0004,0000,0003
Boot0000* Linux Boot Manager    HD(2,GPT,ebcd006f-d6db-4726-8420-358f66f52888,0x800,0x100000)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0001* proxmox       HD(2,GPT,00bedd26-0b8c-44d0-8f44-669400748710,0x800,0x200000)/File(\EFI\PROXMOX\SHIMX64.EFI)
Boot0003  Linux Boot Manager    HD(2,GPT,5aa69d35-aa11-4b6d-8939-62c3b1694488,0x800,0x100000)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0004* UEFI OS       HD(2,GPT,ebcd006f-d6db-4726-8420-358f66f52888,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0005* UEFI OS       HD(2,GPT,5aa69d35-aa11-4b6d-8939-62c3b1694488,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0006* proxmox       HD(2,GPT,91cd324d-9633-4f27-a0f0-8a323728b6c7,0x800,0x200000)/File(\EFI\PROXMOX\SHIMX64.EFI)
Boot0007* UEFI OS       HD(2,GPT,91cd324d-9633-4f27-a0f0-8a323728b6c7,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0008* UEFI OS       HD(2,GPT,00bedd26-0b8c-44d0-8f44-669400748710,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)..BO

Is there any reason to install grub-efi-amd64 here?
 
yes, the recommendation is to install the matching grub package for your boot mode (if booting using grub), else you won't get any updates to the actual *installed* grub binaries that are used when booting, even if the grub packages are upgraded.
Could you provide the source of this recommendation please @fabian
If a system is booting using efi + grub and root is on a lvm like btrfs but it boots and updates fine, is grub-efi-amd64 still required?
What is meant by:
you won't get any updates to the actual *installed* grub binaries that are used when booting
What specifically is updated when using grub-efi-amd64?
 
the Grub EFI binaries on your ESP (the first thing that gets executed after the UEFI firmware, before that one in turn loads the kernel and passes execution to it).
 
the Grub EFI binaries on your ESP (the first thing that gets executed after the UEFI firmware, before that one in turn loads the kernel and passes execution to it).
Is there some way to examine which grub is installed in the esp and compare that with the grub which is installed by package manager?
Can't seem to find the source code for the grub-efi-amd64 2.06-13+pmx1 script anywhere
 
Last edited:
/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed (if you have the -signed variant installed) or /usr/lib/grub/x86_64-efi/monolithic/grubx64.efi (if not) and the copy on your ESP (/boot/efi/EFI/proxmox/grubx64.efi) should be identical.
 
  • Like
Reactions: Kodey
I found these on the "https://pve.proxmox.com/wiki/Upgrade_from_7_to_8"

GRUB Might Fail To Boot From LVM in UEFI Mode​

Due to a bug in grub in PVE 7 and before, grub may fail to boot from LVM with an error message disk `lvmid/...` not found. When booting in UEFI mode, you need to ensure that the new grub version containing the fix is indeed used for booting the system.

Systems with Root on ZFS and systems booting in legacy mode are not affected.

On systems booting in EFI mode with root on LVM, install the correct grub meta-package with:

[ -d /sys/firmware/efi ] && apt install grub-efi-amd64
_____

Unable to boot due to grub failure​

See Recover From Grub Failure

If your system was installed on ZFS using legacy BIOS boot before the Proxmox VE 6.4 ISO, incompatibilities between the ZFS implementation in grub and newer ZFS versions can lead to a broken boot. Check the article on switching to proxmox-boot-tool ZFS: Switch Legacy-Boot to Proxmox Boot Tool for more details.
 
Last edited:

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!