Date: Wed, 3 Jul 2013 09:07:07 +0430 From: takCoder <tak.official@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: any way to stop boot2 from waiting for keypress at system startup Message-ID: <CAPkyVLx3zAFyVtuKPbCbk7ovQojRyFjA4-C1Uf-fYr3pUgLheQ@mail.gmail.com> In-Reply-To: <20130703040529.12eb964a.freebsd@edvax.de> References: <CAPkyVLxr-aUSq77XAMjhGSY4rJm4xo9LhcMXsxQDL4_ETT_ong@mail.gmail.com> <20130702084057.143d3eeb.freebsd@edvax.de> <CAPkyVLx1cNFgcukwfs6aPNx7x8ZniO4ntqyMsW6QdVf5sK8XQw@mail.gmail.com> <CAPkyVLwqtQy6YDRTHbZdb-cmC3WEbtnd-UkHYke558fiwiJamw@mail.gmail.com> <20130703040529.12eb964a.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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@edvax.de> 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, ... >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPkyVLx3zAFyVtuKPbCbk7ovQojRyFjA4-C1Uf-fYr3pUgLheQ>