I have a mender-converted Ubuntu 24.04 image. Ubuntu 24.04 uses grub 2.12. The image is bootable with UEFI or BIOS.
The concerning part: I observe that when booting it in QEMU with UEFI, mender updates and, in particular, rollback appear broken. It seems that the bootloader fails to write the mender grubenv variables (bootcount when booting a new update; mender_boot_part and upgrade_available when rolling back).
The interesting part:
- Booting with BIOS → Everything is fine.
- Downgrading to grub 2.06 (from jammy) → Everything is fine for both BIOS and EFI.
Does anybody have an idea what is going on here? It sure looks like either a bug (new feature) in grub 2.12 or in the Ubuntu flavor of grub, or in the mender grub integration.
Does anybody have any experience running grub 2.12 with mender integration?