ndog37 - 2016-12-17

With wimboot you can boot a wim file

Although only iPXE is officially supported you can boot wim files with grub4dos, eg
kernel /boot/wimboot
initrd @bcd=/boot/bcd @boot.sdi=/boot/boot.sdi @bootmgr=/boot/bootmgr @boot.wim=/boot/WIN8164PE.WIM

in iPXE
:wds
kernel ${boot-url}winpe/wimboot
initrd ${boot-url}winpe/bootmgr bootmgr
initrd ${boot-url}winpe/BCD BCD
initrd ${boot-url}winpe/boot.sdi boot.sdi
initrd ${boot-url}winpe/WDS/boot.wim boot.wim
boot || goto failed
goto start

so far in rEFInd I attempted to use
menuentry "Wimboot" {
loader /wimboot/wimboot
options "initrdfile=/wimboot/bootmgr,/wimboot/BCD,/wimboot/boot.sdi,/wimboot/boot.wim"
}

Well it boots wimboot kernel, but doesn't pass the command line well.

Also doesn't work in grub2 with error about kernel too old

Oh well, it would be nice to be able to boot a .wim file directly on mac, but I just keep dreaming that wimboot could support rEFInd and/or grub2 efi