grub: skip loading bli module when booting the ISO installer (#875)

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.
This commit is contained in:
Ameer Hamza
2025-06-13 22:38:49 +05:00
committed by GitHub
parent 6b0d0dee21
commit 24a0bb88b7

View File

@@ -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