bootify icon indicating copy to clipboard operation
bootify copied to clipboard

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

Open sebma opened this issue 6 years ago • 3 comments

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 ?

sebma avatar Feb 06 '19 03:02 sebma

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

oneohthree avatar Feb 06 '19 14:02 oneohthree

@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.

sebma avatar Feb 07 '19 00:02 sebma

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.

oneohthree avatar Feb 08 '19 14:02 oneohthree