iPXE/Etherboot prompts twice for booting?
I'm playing with iPXE ROM images again, and see iPXE prompts two times during bootup. Once like
this: "Press Ctrl-B to configure", at early stage, even if -boot n is not selected. And second time when it actually tries to boot, like "Press Ctrl-B for the command line".
The same behavor happens with old Etherboot, with the exception that during init stage it tries to boot too but fails.
Any idea how to get rid of that?
Thanks!
/mjt
Quoted 7 lines · Michael Tokarev
I'm playing with iPXE ROM images again, and see iPXE prompts two times during bootup. Once like
this: "Press Ctrl-B to configure", at early stage, even if -boot n is not selected. And second time when it actually tries to boot, like "Press Ctrl-B for the command line".
Quoted 5 lines
The same behavor happens with old Etherboot, with the exception that during init stage it tries to boot too but fails.
Any idea how to get rid of that?
IIRC you need to #define BANNER_TIMEOUT 0 in src/config/general.h.
Stefan
Quoted 8 lines · Stefan Hajnoczi
Quoted 7 lines · Michael Tokarev
I'm playing with iPXE ROM images again, and see iPXE prompts two times during bootup. Once like
this: "Press Ctrl-B to configure", at early stage, even if -boot n is not selected. And second time when it actually tries to boot, like "Press Ctrl-B for the command line".
Quoted 7 lines
Quoted 5 lines
The same behavor happens with old Etherboot, with the exception that during init stage it tries to boot too but fails.
Any idea how to get rid of that?
IIRC you need to #define
BANNER_TIMEOUT0 insrc/config/general.h.
I think src/local/config/general.h is the preferred location, which is what the script in my tree does and includes pre-built ipxe images:
https://github.com/awilliam/qemu/tree/ipxe
Alex
Quoted 13 lines · Alex Williamson
Quoted 12 lines · Stefan Hajnoczi
Quoted 11 lines · Michael Tokarev
I'm playing with iPXE ROM images again, and see iPXE prompts two times during bootup. Once like
this: "Press Ctrl-B to configure", at early stage, even if -boot n is not selected. And second time when it actually tries to boot, like "Press Ctrl-B for the command line".The same behavor happens with old Etherboot, with the exception that during init stage it tries to boot too but fails.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Any idea how to get rid of that?
IIRC you need to #define
BANNER_TIMEOUT0 insrc/config/general.h.I think
src/local/config/general.his the preferred location, which is what the script in my tree does and includes pre-built ipxe images:
Yeah, using the top-level config is just my bad habit. The point of local/ is to prevent conflicts if you update the code and to make git ignore your local changes.
Stefan