Friday 5 July 2019

Add Windows Install ISOs to your E2B grub2 menu system

I have made a new version of the E2B grub2 menu system - version 10W.

The 'W' is for Windows because it allows you to MBR or non-secure UEFI-boot directly from Windows Install ISO files.

Assuming you already have your E2B drive setup for the grub2 menu system, do this...

  1. Just download the new .imgPTN23AUTO file   UEFI_GRUB2_PTN2_Beta10W_Beta.imgPTN23AUTO   from the Alternate Downloads Area and copy it to your \_ISO\MAINMENU folder.
  2. Then switch to it in the usual way (e.g. using SWITCH_E2B.exe)
  3. Now create a new folder at \_ISO\WINDOWS\WIN10 on Partition 2 and add all your Windows ISOs into it (you can also use WIN8, etc. too if you wish).


4. Now you can MBR or UEFI boot to the grub2 menu system and then select the new Windows Install menu (W) and pick any ISO listed in the menu.

You don't need to make a menu for each ISO and the ISOs don't need to be contiguous and the filenames can contain spaces so you can rename them as you wish. Microsoft dual/both (x86+x64) ISOs should also work.

More info at the bottom of this page.

Switch to the new .imgPTN file (sorry about the background and the animated squirrel!)
This is the grub4dos MBR boot screen
The grub2 menu now has a new Windows Install Menu entry
All the ISOs will be listed in this new menu - two are shown (Win10\WIN8, etc.)

You can UEFI or MBR boot and the Windows ISO will automatically be loaded as a virtual DVD in Setup so that it can access the files and you can install Windows as usual.

Boot WinPE ISOs

You can also add a .grub2 menu file to boot various WinPE ISOs - for instance you can UEFI64 boot from a Strelec WinPE ISO (but you will have to mount the ISO file once you reach the Desktop so that you can use all the utilities inside the ISO).

# Strelec WinPE UEFI 64
# Once at Strelec WinPE Desktop, right-click on Strelec ISO in Explorer and MOUNT as Y: - then run MistAll from start menu

if $EFI64; then
if [ -e "$isofpath/WinPE10_8_Sergei_Strelec_x86_x64_2019.02.04_English.iso" ]; then
menuentry "WinPE10_8_Sergei_Strelec_x86_x64_2019.02.04_English.iso (UEFI WINPE WIMBOOT)" --unrestricted --class windows {
set isoname=WinPE10_8_Sergei_Strelec_x86_x64_2019.02.04_English.iso ; CHECK_MNU_FOLDER
set keeproot=$root
set root=$root2
loopback loop "$isofile"
set wefi=(loop)/EFI/boot/bootx64.efi
if ! [ -e "$wefi" ]; then echo ERROR: $wefi missing! ; read  ; fi
wimboot --pause \
@:boot.sdi:(loop)/SSTR/boot.sdi \
@:bootmgfw.efi:$wefi \
@:boot.wim:(loop)/SSTR/strelec10x64Eng.wim \
@:bcd:($keeproot)/wimboot/strelec64_BCD
boot
}
fi
fi

No comments:

Post a Comment