2016-12-17, 07:56
Hi from this forum http://forum.ipxe.org/showthread.php?tid...56#pid9656
It seemed it was possible to create cpio archive for testing with wimboot
echo bootmgr BCD boot.sdi boot.wim | fmt -1 | cpio -H newc -v -o > ../wimfiles.cpio
#!ipxe
kernel wimboot
initrd wimfiles.cpio
boot
I have created cpio archive like this and added ipxe entry, however I am getting FATAL: no BOOTX64.EFI or bootmgfw.efi found etc, in ipxe.efi with menu.ipxe
:cpiotest
kernel ${boot-url}winpe/wimboot
initrd ${boot-url}winpe/cpiotest/wimfiles.cpio
boot || goto failed
goto start
I am booting normally from ipxe with the following, however for testing I would like to be able to prewrap the cpio for testing with other various EFI boot loaders which don't parse command lines so well.
:efiprep
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/EFI-diskprep/boot.wim boot.wim
boot || goto failed
goto start
It seemed it was possible to create cpio archive for testing with wimboot
echo bootmgr BCD boot.sdi boot.wim | fmt -1 | cpio -H newc -v -o > ../wimfiles.cpio
#!ipxe
kernel wimboot
initrd wimfiles.cpio
boot
I have created cpio archive like this and added ipxe entry, however I am getting FATAL: no BOOTX64.EFI or bootmgfw.efi found etc, in ipxe.efi with menu.ipxe
:cpiotest
kernel ${boot-url}winpe/wimboot
initrd ${boot-url}winpe/cpiotest/wimfiles.cpio
boot || goto failed
goto start
I am booting normally from ipxe with the following, however for testing I would like to be able to prewrap the cpio for testing with other various EFI boot loaders which don't parse command lines so well.
:efiprep
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/EFI-diskprep/boot.wim boot.wim
boot || goto failed
goto start