From 24a0bb88b71bdaf0cbeab81cba5fd03d99c95d3d Mon Sep 17 00:00:00 2001 From: Ameer Hamza Date: Fri, 13 Jun 2025 22:38:49 +0500 Subject: [PATCH] grub: skip loading bli module when booting the ISO installer (#875) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Installing the BLI module in the installer’s minimal EFI environment deadlocks, leading to an unresponsive black screen. We now only invoke insmod bli on real installations by detecting ISO boots via /.disk/info. This prevents the deadlock and blank screen on installer boots while ensuring BLI still loads correctly on standard boots. --- scripts/grub.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/grub.cfg b/scripts/grub.cfg index d45588c..5119909 100644 --- a/scripts/grub.cfg +++ b/scripts/grub.cfg @@ -80,4 +80,8 @@ menuentry --hotkey=j --id=serial 'Start $vendor Installation (115200 baud)' { linux /vmlinuz gfxpayload=text quiet nomodeset boot=live toram=filesystem.squashfs $gfx_console $serial_console initrd /initrd.img } -insmod bli + +# Skip loading the bli module when booting from the installer ISO +if [ ! -f /.disk/info ]; then + insmod bli +fi