mirror of
https://github.com/ValdikSS/windows2usb.git
synced 2023-08-10 21:13:16 +03:00
Make sure to extract Win 7 bootloader from regular and multi-volume WIM file
This commit is contained in:
parent
8dd14fc452
commit
8cd1b02b9d
@ -178,7 +178,7 @@ function extract_bootmgfw_from_installwim() {
|
||||
local fpath="$2/sources/install.wim"
|
||||
[ ! -e "$fpath" ] && fpath="$2/sources/install.esd"
|
||||
|
||||
7z e "$fpath" -aoa -o"$3/efi/boot/" '?/Windows/Boot/EFI/bootmgfw.efi'
|
||||
7z e "$fpath" -aoa -o"$3/efi/boot/" 'Windows/Boot/EFI/bootmgfw.efi' '?/Windows/Boot/EFI/bootmgfw.efi'
|
||||
umount "$2"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user