[ipxe-devel] pausing wimboot for debugging?

Michael Brown mcb30 at ipxe.org
Fri Mar 21 14:02:51 UTC 2014


On 21/03/14 11:41, Oliver Rath wrote:
> is it possible to pause the wimboot-process after extractiing the bootmgr?

Yes; there's a function getchar() in wimboot's stdio.c which is there 
specifically to allow "pause for keypress" while hacking on the code.  :)

> Here happens the following at the moment:
>
>   * ipxe boots
>   * ipxe loads following
>       o kernel /wimboot
>       o initrd /bootmgr
>       o initrd /boot/bcd
>       o initrd /boot/fonts/segmono_boot.ttf
>       o initrd /boot/fonts/segoe_slboot.ttf
>       o initrd /boot/fonts/wgl4_boot.ttf
>       o initrd /boot/boot.sdi
>       o initrd /sources/boot.wim
>   * ipxe start wimboot
>   * wimboot extracts bootmgr.exe from bootmgr (if i see right in the
>     short time) <- here pausing would be great
>   * screen gets dark and nothing happens anymore
>
> Is it possoble to pause wimboot, before it gives control to bootmgr.exe ?

Add a call to getchar() immediately before the "/* Jump to PE image */" 
line in main().

Michael



More information about the ipxe-devel mailing list