Skip to content

Error with Windows EFI ISOs and strange virtual floppy disk created. #443

@hostreis

Description

@hostreis

Hi friends!
I want to present a problem that has been occurring for 2 years in Grub4DOS-for_UEFI and today I discovered where the cause of the error may be.

Until 2023-03-29 version, all Windows EFI ISOs (from 8.1 to 11) ran without any problems when executing the commands:

  • chainloader (0xff)/efi/microsoft/boot/cdboot_noprompt.efi
    or
  • chainloader (0xff)/efi/microsoft/boot/bootmgfw.efi
    (these first 2 for the "DVD" to run directly, without having to type anything)
    or
  • chainloader (0xff)/bootmgf.efi

Without making any changes to the .lst file, since BOOTX64.EFI of version 2023-06-09 of grub4dos-for_UEFI, when executing one of the first 2 commands, the message "Press any key to continue" started to appear and, when clicking, it return to menu. In the case of the 3rd command, it returns directly to the menu. Only "chainloader (0xff)" command works. Returning the 2023-03-29 BOOTX64.EFI version, everything works correctly again.

Today, by chance, when I entered the command line and gave the "find" command, I discovered that, in addition to creating the virtual DVD (0xff), when mapping the ISO file, a virtual floppy disk (fd96) is also created, whose only content is /EFI/BOOT/BOOTX64.EFI.

The complete sequence of commands executed is as follows:

title Windows 10 install
debug off
set ISO=/Win10.iso
find --set-root %ISO%
map %ISO% (0xff)
chainloader (0xff)/efi/microsoft/boot/cdboot_noprompt.efi || chainloader (0xff)/efi/microsoft/boot/bootmgfw.efi || chainloader (0xff)/bootmgf.efi || chainloader (0xff)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions