Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Find win7 partition; explain if can't find configfile; instructions #204

Open
wants to merge 5 commits into
base: more-menus
Choose a base branch
from

Conversation

mtfurlan
Copy link

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.
sudo qemu-system-x86_64 -localtime -m 2G -vga std --bios /usr/share/ovmf/OVMF.fd -drive file=<device>,readonly,cache=none,format=raw,if=virtio
  • Select "Multiboot" and then "Auto-detect bootable partitions" and it should show up and boot.

aguslr and others added 5 commits October 26, 2017 13:07
Put the option to boot a supported ISO/kernel file in a submenu.
For each available ISO file, show a menu entry to boot it using MEMDISK.
For each available ISO file, mount it and look for some common boot
files (e.g. GRUB, SYSLINUX, etc.) and show menu entries for each one of
those.

This can be used to test unsupported ISO files.
Look for partitions in the current USB drive that have either some
common boot files (e.g. GRUB, SYSLINUX, etc.) or an EFI binary.

This can be used to boot a Windows installation CD by creating a
partition and dumping the contents of the CD into it.
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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants