If someone uses "Auto-detect ISO's configfiles" or "Auto-detect bootable
partitions" and it doesn't find anything it just blinks and is
confusing, so this shows a message and waits 5 seconds.
This also searches for /efi/microsoft/boot/bootdmgfw.efi which should
be the efi boot file for a windows 7 installer.
The other half of this pull request is a starting point for instructions to put a win7 installer in in UEFI mode.
All the documentation seems to be in the website, so instructions are here:
Install OVMF.
Install multiboot to a flash drive, make sure to have efi enabled with -b -e.
Non-hybrid efi mode should work as well.
Re-partition the drive to have a chunk big enough to contain the contents of your windows iso.
Format as FAT32 or NTFS, both seem to work
Copy your iso contents to the partition.
Copy bootmgfw.efi from C:\Windows\Boot\EFI\bootmgfw.efi on a running win7 system, or extract it out of <iso mount point>/sources/install.wim
Start qemu in efi mode with
The OVMF.fd location used below is for debian stretch, may be platform dependant.
If someone uses "Auto-detect ISO's configfiles" or "Auto-detect bootable partitions" and it doesn't find anything it just blinks and is confusing, so this shows a message and waits 5 seconds.
This also searches for
/efi/microsoft/boot/bootdmgfw.efi
which should be the efi boot file for a windows 7 installer.The other half of this pull request is a starting point for instructions to put a win7 installer in in UEFI mode. All the documentation seems to be in the website, so instructions are here:
-b -e
. Non-hybrid efi mode should work as well.bootmgfw.efi
fromC:\Windows\Boot\EFI\bootmgfw.efi
on a running win7 system, or extract it out of<iso mount point>/sources/install.wim
OVMF.fd
location used below is for debian stretch, may be platform dependant.