oneohthree / bootify

Bash script to make USB drives bootables with Windows 7/8/8.1/10 installation files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bootmgfw.efi is not always in 1/Windows/Boot/EFI/bootmgfw.efi

sebma opened this issue · comments

commented

Hi,

There some cases where the bootmgfw.efi is not in 1/Windows/Boot/EFI/bootmgfw.efi :

$ time 7z l sources/install.wim | grep -i efi/bootmgfw.efi$
2010-11-21 04:24:16 ....A       672640       314792  6/Windows/Boot/EFI/bootmgfw.efi
2010-11-21 04:24:16 ....A       672640       314792  7/Windows/Boot/EFI/bootmgfw.efi
2010-11-21 04:24:16 ....A       672640       314792  8/Windows/Boot/EFI/bootmgfw.efi
2010-11-21 04:24:16 ....A       672640       314792  9/Windows/Boot/EFI/bootmgfw.efi

real	0m41.849s
user	0m54.248s
sys	0m6.604s

Can you detect the bootmgfw.efi file location inside the sources/install.wim such as :

$ efi_file=$(7z l sources/install.wim | grep -m1 -i efi/bootmgfw.efi$ | awk '{print$NF}')
$ echo $efi_file
6/Windows/Boot/EFI/bootmgfw.efi

And this to your script ?

Could you tell Windows version including architecture you are using when this happens?

commented

@oneohthree Hi, sorry I couldn't reply sooner, but I just came back home.

It is taken from an All in one Windows7 SP1 x86 and x64 bits ISO.

Well, I didn't test against that type of ISO. I believe Microsoft didn't release multiarch Windows 7. In my opinion you should use 'official' ISOs by Microsoft.