From b6337ba6cbeeb011816f7f6cd97ff09f0b996034 Mon Sep 17 00:00:00 2001 From: Mateus Auler Date: Sun, 8 Nov 2026 22:28:46 -0300 Subject: [PATCH 1/2] fix: Windows ISO detection on BIOS boot GRUB autoloads filesystems during the first search, which registers iso9660 after udf. Windows ISOs expose sources/boot.wim only through UDF, so they were read as ISO9660 stubs and no menu entry was created. Load iso9660 before udf in the generated grub.cfg to keep UDF first in the probe order. --- common.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.sh b/common.sh index 13037d8..16ea28f 100644 --- a/common.sh +++ b/common.sh @@ -119,6 +119,8 @@ build_efi_stage() { fi cat > "$target/grub/grub.cfg" <<- 'GRUBCFG_EOF' + insmod iso9660 + insmod udf search -f /MultiOS-USB/config/grub.config --no-floppy --set=root source /MultiOS-USB/config/grub.config GRUBCFG_EOF From 59d5feb73cd28b960e69cdca96b3ed2e7ea4c3d3 Mon Sep 17 00:00:00 2001 From: MexIT <25229673+Mexit@users.noreply.github.com> Date: Mon, 9 Nov 2026 12:18:17 +0000 Subject: [PATCH 2/2] Update common.sh The UDF is added in the main configuration file. --- common.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/common.sh b/common.sh index 16ea28f..844b5bd 100644 --- a/common.sh +++ b/common.sh @@ -120,7 +120,6 @@ build_efi_stage() { cat > "$target/grub/grub.cfg" <<- 'GRUBCFG_EOF' insmod iso9660 - insmod udf search -f /MultiOS-USB/config/grub.config --no-floppy --set=root source /MultiOS-USB/config/grub.config GRUBCFG_EOF