Jump to content

- - - - -

Boot extracted Windows7 Install.iso wim with grub2

  • Please log in to reply
2 replies to this topic

#1 nierewa


    Frequent Member

  • Advanced user
  • 107 posts

Posted 17 October 2019 - 07:11 AM



I use AIO for creating an USB Boot Stick. All works fine.
With many help from Steve I managed Windows 10 Iso Install before.


Now it's a little fine tuning :)


On Legacy BIOS mode I boot with: grub4dos
On UEFI mode I boot with: grub2


With AIO Creator I integraded my WIn7All_Install.iso to the stick.
A boot.wim was created wich is loaded now:

### Start \AIO\Files\WinSetup\Win7AllDVD
if [ -n "$pc" ]; then
menuentry "Windows 7 installieren - All in One" {
	wimboot "/AIO/Files/WinSetup/Win7AllDVD/boot.wim"
### Legacy: {3e739b1d-6e8a-783c-859d-83ee938e5781}
### End \AIO\Files\WinSetup\Win7AllDVD

Now I want use it with grub2.

When I add the code above to and boot it, all seems to work but then dissapears the grub2 menu again.


Any suggestions how I can managed it?

Thanks :)

#2 alacran


    Gold Member

  • .script developer
  • 1883 posts

Posted 17 October 2019 - 08:43 AM

Yes, forget about complicating your life if there is a proven easy way to get same results, this is the way I (and many people) use to do it:


All you need is WinPEx86 or x64 as your requirements/likes wich can be loaded directly from AIO_Boot, E2B or any other way you want, have on the root of your USB device a folder with WinNTSetup (previously extracted and ran at least once on any PC to download some files/folders from MS servers) and just run the x86 or x64 version of it from your booted WinPE (respecting WinPE architecture), a copy of your install (or any name you want to use)   .wim or .esd or .Iso containing it, on a folder on the root of your USB device, select it and then the version you want to install from it, apply some tricks if you want, add aditional drivers or also use your custom unatted.xml, and just install from it.


It let you make your partitions on the target disk the way you like (MBR or GPT for UEFI) also has lists available to select for making automatically your partitions on empty disk (first time installs or when you clean all your partitions).


Simple and easy and proven to be reliable for years.


Maybe you would like to see this thread: http://reboot.pro/to...+your +own +aio



#3 steve6375


    Platinum Member

  • Developer
  • 7324 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
    United Kingdom

Posted 21 October 2019 - 08:56 AM


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users