The version of systemd boot in bullseye, tries writing an efivar which
is not writeable on certain (broken) UEFIs (HP thin clients).

The issue was not present in the version in buster (the variable
simply did not get written) and can be worked around by adding
--graceful to the `bootctl install` command.

see also:
https://github.com/systemd/systemd/issues/13603

Signed-off-by: Stoiko Ivanov <s.iva...@proxmox.com>
---
 bin/proxmox-boot-tool | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/proxmox-boot-tool b/bin/proxmox-boot-tool
index 164ae91..c2704af 100755
--- a/bin/proxmox-boot-tool
+++ b/bin/proxmox-boot-tool
@@ -178,7 +178,7 @@ init_bootloader() {
        if [ -n "$install_sd_boot" ]; then
                echo "Installing systemd-boot.."
                mkdir -p "$esp_mp/$PMX_ESP_DIR"
-               bootctl_args="--path ${esp_mp}"
+               bootctl_args="--graceful --path ${esp_mp}"
                if [ ! -d /sys/firmware/efi ]; then
                        bootctl_args="${bootctl_args} --no-variables"
                fi
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to