From 3b0bd2ccda6b2f15c1ba70724ddeb3214c8eb224 Mon Sep 17 00:00:00 2001 From: nocode Date: Tue, 22 Sep 2026 14:20:26 +0200 Subject: [PATCH] docs(installer): say why "bootloader --disabled" is not enough The comment above it claimed that flag disables Anaconda's native bootloader step. It does not, and believing it cost whole installations. create_bls_entries runs "grub2-mkconfig -o /etc/grub2.cfg" in the target on every live install and raises BootloaderInstallationError on a non-zero exit (pyanaconda/modules/storage/bootloader/utils.py). Arch ships grub-mkconfig, not grub2-mkconfig, so the command does not exist and the install dies at "Installing boot loader" behind a D-Bus traceback that never names the cause. Verified against the anaconda 45.8 package in local-repo, not taken on trust. The comment now points at the /usr/bin/grub2-mkconfig shim that handles it. Signed-off-by: nocode --- .../airootfs/usr/share/anaconda/interactive-defaults.ks | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks index 1f94be5..7e26bfb 100644 --- a/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks +++ b/configs/releng/airootfs/usr/share/anaconda/interactive-defaults.ks @@ -100,6 +100,15 @@ TARGET="$(lsblk -drbno NAME,SIZE,TYPE,RM 2>/dev/null \ # grub-install / grub-mkconfig). On désactive donc l'étape native d'Anaconda. # L'ESP (UEFI) ou la partition bios_boot (BIOS/GPT) reste créée par le # partitionnement (auto ou manuel) car la plateforme l'impose. +# +# ⚠ « --disabled » NE SUFFIT PAS, et le croire a coûté des installations +# entières. CreateBLSEntriesTask lance quand même « grub2-mkconfig -o +# /etc/grub2.cfg » dans la cible à CHAQUE install live +# (pyanaconda/modules/storage/bootloader/utils.py, create_bls_entries) : son +# code de retour non nul fait échouer toute l'installation à l'étape +# « Installation du chargeur de démarrage », avec une trace D-Bus illisible qui +# ne nomme jamais la cause. D'où le shim /usr/bin/grub2-mkconfig de l'airootfs, +# qui court-circuite CET appel précis et laisse passer tous les autres. bootloader --disabled # Pas de section %packages : le payload LiveOS n'installe aucun paquet