any way to stop boot2 from waiting for keypress at system startup

takCoder tak.official at
Wed Jul 3 04:37:27 UTC 2013

Yes you are right :)
If i knew the feature's name, it would be easier to find this option out..
Actually i found mentioned flag while tracing boot2.c code...

Anyway, Thank you for your complete reply :)

On Wed, Jul 3, 2013 at 6:35 AM, Polytropon <freebsd at> wrote:

> On Tue, 2 Jul 2013 15:18:04 +0430, takCoder wrote:
> > i found the answer! if i add a "-n" parameter to /boot.config file, the
> > mentioned feature will be disabled..
> Sorry for my confusion. The option you've successfully found
> is documented in "man 8 boot" (which also provides a short
> description of the stages performed at system boot). That's
> why it's good to know how the different components of the
> boot process are named so it becomes more logical where to
> search. :-)
> From the manual page:
>         -n    ignore key press to interrupt boot before loader(8)
>               is invoked.
> Explained:
>      However, it is possible to dispense with the third stage altogether,
>      either by specifying a kernel name in the boot block parameter file,
>      /boot.config, or, unless option -n is set, by hitting a key during a
>      brief pause (while one of the characters -, \, |, or / is displayed)
>      before loader(8) is invoked.  Booting will also be attempted at stage
>      two, if the third stage cannot be loaded.
> It's always good to know where thine documentation is. ;-)
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list