[ipxe-devel] [PATCH] Add option to configure Press N behavior for non-PnP BIOSes (INT19)
Paul Sands
usg990a at cebridge.net
Wed Apr 4 18:45:25 UTC 2012
When using INT19 for non-PnP BIOSes, the "Press N to skip booting"
prompt is displayed. In reading through previous posts to the mailing
list, I understand that this is by design to allow an otherwise
unbootable systems to boot. This however, creates the problem of correct
boot order in certain situations (such as using iPXE for virtualbox /
vmware). The attached patch provides a new option in the
src/config/general.h file that gives the ability to invert the "Press N"
function. If NONPNP_HOOK_INT19_PRESS_N is defined then the prompt is
changed to "Press N to boot from" and the code is changed to perform
that function.
I'll be the first to admit that there is probably a more elegant
solution but in a simple test with virtualbox it seems to work well.
-- Paul Sands
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nonpnp_press_n.patch
Type: text/x-patch
Size: 1736 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120404/6f128674/attachment.bin>
More information about the ipxe-devel
mailing list