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

Looks all good to me. Note: it appears you have secure-boot enabled, but you are probably aware of this.
 
hi all, i have same issue,
i have installed package "grub-efi-amd64"
than i make reboot
after command: echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u comes
info: Trying to set 'grub2/force_efi_extra_removable' [boolean] to 'true'
info: Loading answer for 'grub2/force_efi_extra_removable'
update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-6.17.4-1-pve
I: The initramfs will attempt to resume from /dev/dm-0
I: (/dev/mapper/pbs-swap)
I: Set the RESUME variable to override this.
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.
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point.

ls /sys/firmware/efi
ls: Zugriff auf '/sys/firmware/efi' nicht möglich: Datei oder Verzeichnis nicht gefunden

proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
E: /etc/kernel/proxmox-boot-uuids does not exist.

journalctl -b | grep -i efi
Dez 16 18:25:50 backup-srv kernel: clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
Dez 16 18:25:51 backup-srv systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
Dez 16 18:25:51 backup-srv systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Dez 16 18:25:51 backup-srv systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Dez 16 18:25:51 backup-srv systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
Dez 16 18:25:51 backup-srv systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
Dez 16 18:25:51 backup-srv systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Dez 16 18:25:51 backup-srv systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Dez 16 18:25:51 backup-srv systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Dez 16 18:25:51 backup-srv systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
Dez 16 18:25:51 backup-srv systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
Dez 16 18:25:51 backup-srv systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Dez 16 18:25:51 backup-srv systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Dez 16 18:25:51 backup-srv systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
Dez 16 18:25:51 backup-srv systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
Dez 16 18:25:51 backup-srv systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Dez 16 18:25:51 backup-srv systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Dez 16 18:25:51 backup-srv systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
Dez 16 18:25:52 backup-srv systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
Dez 16 18:25:52 backup-srv systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
Dez 16 18:25:52 backup-srv systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
Dez 16 18:25:52 backup-srv systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.

what is the problem here, why this error comes, package was installed and rebooted. reboot works normal, but error comes. any ideas?
regards


Solution was: proxmox-boot-tool init /dev/sda2
i have init manually my EFI Partition, why manually, no plan.
 
Last edited:
Hello,

I was getting the error about missing grub-efi-amd64 and did an apt install grub-efi-amd64 as suggested on this forum. This resulted in grub-pc being removed which is expected as I have a system that booted in efi not bios. Now I get new warning:

Code:
grub-install.real: error: cannot find EFI directory.
Failed: grub-install --target=x86_64-efi --force-extra-removable
WARNING: Bootloader is not properly installed, system may not be bootable
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.17.2-2-pve
Found initrd image: /boot/initrd.img-6.17.2-2-pve
Found linux image: /boot/vmlinuz-6.17.2-1-pve
Found initrd image: /boot/initrd.img-6.17.2-1-pve
Found linux image: /boot/vmlinuz-6.14.11-4-pve
Found initrd image: /boot/initrd.img-6.14.11-4-pve
Found linux image: /boot/vmlinuz-6.14.11-2-pve
Found initrd image: /boot/initrd.img-6.14.11-2-pve
Found linux image: /boot/vmlinuz-6.14.8-2-pve
Found initrd image: /boot/initrd.img-6.14.8-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
Found memtest86+ 64bit image: /boot/memtest86+x64.bin
Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
Adding boot menu entry for UEFI Firmware Settings ...
done

I am confused about what steps should I take next? Is the system broken? Will it boot? This was a fresh install of v9 from about 4 months ago after catastrophic failure of 8to9 upgrade that broke boot. I really would not like to repeat that. I also see that /boot/efi is not mounted but partition exists on my nvme hard drive. Efi partition is also not in fstab as on my other systems. Why would this happen? What shall I do?

I also see installed packages:

Code:
systemd-boot-efi/stable,stable,now 257.9-1~deb13u1 amd64 [installed]
systemd-boot-tools/stable,stable,now 257.9-1~deb13u1 amd64 [installed]

but bootctl status shows the following:

Code:
bootctl status:

System:
      Firmware: n/a (n/a)
 Firmware Arch: x64
   Secure Boot: disabled (unknown)
  TPM2 Support: no
  Measured UKI: no
  Boot into FW: supported

Current Boot Loader:
      Product: GRUB 2.12-9+pmx2
     Features: ✗ Boot counting
               ✗ Menu timeout control
               ✗ One-shot menu timeout control
               ✗ Default entry control
               ✗ One-shot entry control
               ✗ Support for XBOOTLDR partition
               ✗ Support for passing random seed to OS
               ✗ Load drop-in drivers
               ✗ Support Type #1 sort-key field
               ✗ Support @saved pseudo-entry
               ✗ Support Type #1 devicetree field
               ✗ Enroll SecureBoot keys
               ✗ Retain SHIM protocols
               ✗ Menu can be disabled
               ✗ Multi-Profile UKIs are supported
               ✓ Boot loader set partition information
    Partition: /dev/disk/by-partuuid/643e35a2-91b5-4c16-9085-983ec9a306c8

Random Seed:
 System Token: not set

Boot Loaders Listed in EFI Variables:
        Title: proxmox
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/643e35a2-91b5-4c16-9085-983ec9a306c8
         File: └─/EFI/proxmox/shimx64.efi

        Title: UEFI OS
           ID: 0x0011
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/643e35a2-91b5-4c16-9085-983ec9a306c8
         File: └─/EFI/BOOT/BOOTX64.EFI


Is the system using grub or systemd-boot? Looks like grub to me. The boot drive is single nvme. LVM, no ZFS on it, no mirror. Is the boot broken or not? I dare not to reboot just to find out. Please advise.

also proxmox-boot-tool status reports:

Code:
root@:~# proxmox-boot-tool status

Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..

E: /etc/kernel/proxmox-boot-uuids does not exist.

My guess would be to do the following:

1. mount the existing efi partition to /boot/efi (and add it to /etc/fstab with UUID)
2. apt reinstall grub-efi-amd64
3. if needed do a grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=proxmox
4. update-grub

But I really want confirmation from you guys what to do. I don't want to mess up boot environment on this system. Thank you.

Best regards,
JF.
 
Last edited: