[pve-devel] [PATCH pve-kernel-meta v3 8/8] proxmox-boot: fix #3729 add --graceful to bootctl invocation
Stoiko Ivanov
s.ivanov at proxmox.com
Fri Mar 11 20:05:46 CET 2022
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.ivanov at 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
More information about the pve-devel
mailing list