Ok, I am trying to create a bootable thumb drive that will have the following features:
- Boots in UEFI mode
- I can get it to do this with an installation of GRUB (not GRUB-legacy)
- Boots in standard BIOS mode (via the compatibility module in EFI)
- This I can get GRUB to do
- Can install multiple Linux distributions
- Again, GRUB will do this, though I might have some problems with Fedora
- Can install all versions of Windows 7 and 8
- This is where I am running into problems
- Grub4Dos will not work for this, it runs in real mode, which I can't get into when in EFI mode
- I'm not sure I can even get into Syslinux from GRUB, and I think it needs real mode as well
- Windows won't boot from a loop device, so I can't use loopback
- Boot to a DOS prompt
- I don't think this is possible, since a DOS prompt needs real mode
My current thought is that I can get this working if I can find a way to mount the ISO's in a way that Windows can understand. This is what the thumb drive I currently use does, but it won't boot to UEFI since I am using Syslinux, which doesn't boot to UEFI (actually, I'm technically using grub4dos and WinFira, with Syslinux being the bootloader).
I know that I can boot to a Windows installation if it's extracted to the root, but the problem with this is that only one Windows OS can be set up this way at a time, since it needs to be in the root. If GRUB had file manipulation capabilities, then I might be able to make this would work, but I don't think it does. Obviously, I could do this with a script in an OS, but I would rather not. This installation will be used by multiple people so I need to keep it as simple as I can.