I have 32bit Ubuntu 16.04.2 installed on a USB stick (formatted ext4)
I would like to add a Grub 2 menu item to boot a Win7pe ISO file from
the Ubuntu (first) partition.
I could create another partition if require.
Posted 23 February 2017 - 04:11 PM
I have 32bit Ubuntu 16.04.2 installed on a USB stick (formatted ext4)
I would like to add a Grub 2 menu item to boot a Win7pe ISO file from
the Ubuntu (first) partition.
I could create another partition if require.
Posted 23 February 2017 - 10:51 PM
You can use Wimboot to do this. If bootmgr.exe does not exist in the ISO, using 7-Zip to open /sources/boot.wim and get bootmgr.exe from Windows\Boot\PXE\.
menuentry "WinPE 7" { set iso_path="/path/to/YourISO.iso" loopback loop $iso_path linux16 /path/to/wimboot initrd16 \ newc:bootmgr:(loop)/bootmgr \ #newc:bootmgr.exe:(loop)/bootmgr.exe \ newc:bootmgr.exe:/path/to/bootmgr.exe \ newc:bcd:(loop)/boot/bcd \ newc:boot.sdi:(loop)/boot/boot.sdi \ newc:boot.wim:(loop)/sources/boot.wim }
Edited by nguyentu, 23 February 2017 - 10:59 PM.
0 members, 0 guests, 0 anonymous users