Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2013 04:05:29 +0200
From:      Polytropon <freebsd@edvax.de>
To:        tak.official@gmail.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: any way to stop boot2 from waiting for keypress at system startup
Message-ID:  <20130703040529.12eb964a.freebsd@edvax.de>
In-Reply-To: <CAPkyVLwqtQy6YDRTHbZdb-cmC3WEbtnd-UkHYke558fiwiJamw@mail.gmail.com>
References:  <CAPkyVLxr-aUSq77XAMjhGSY4rJm4xo9LhcMXsxQDL4_ETT_ong@mail.gmail.com> <20130702084057.143d3eeb.freebsd@edvax.de> <CAPkyVLx1cNFgcukwfs6aPNx7x8ZniO4ntqyMsW6QdVf5sK8XQw@mail.gmail.com> <CAPkyVLwqtQy6YDRTHbZdb-cmC3WEbtnd-UkHYke558fiwiJamw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130703040529.12eb964a.freebsd>