From 95f2bc3ee26024d5d7af308187e6b2b5596a08d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 4 Mar 2025 10:45:22 +0100 Subject: [PATCH] grub: set debconf value to indicate --removable install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Else we risk that the fallback boot manager and the rest of the Grub components in /boot run out of sync, which can break booting on systems that use that fallback entry instead of the regular one.. This debconf variable is read by grub-efi-amd64 and shim(-signed) postinst script, if set, `--force-extra-removable` gets passed to their grub-install invocations. Reported on the forum: https://forum.proxmox.com/threads/162989 Signed-off-by: Fabian Grünbichler Signed-off-by: Thomas Lamprecht --- Proxmox/Install.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm index c0a17b2..57fd899 100644 --- a/Proxmox/Install.pm +++ b/Proxmox/Install.pm @@ -1206,6 +1206,7 @@ postfix postfix/main_mailer_type select No configuration keyboard-configuration keyboard-configuration/xkb-keymap select $xkmap d-i debian-installer/locale select en_US.UTF-8 grub-pc grub-pc/install_devices select $grub_install_devices_txt +grub-efi-amd64 grub2/force_efi_extra_removable boolean true _EOD my $pkg_count = 0;