any way to stop boot2 from waiting for keypress at system startup
tak.official at gmail.com
Tue Jul 2 10:48:25 UTC 2013
i found the answer! if i add a "-n" parameter to /boot.config file, the
mentioned feature will be disabled..
On Tue, Jul 2, 2013 at 11:16 AM, takCoder <tak.official at gmail.com> wrote:
> Thank you for your quick reply. :)
> Unfortunately, no.. the option you are talking about is for limitting or
> disabling beastie menu waiting time, and i am using the option you mention
> as well..
> I wait to disable a feature one step before that.. before even loading
> kernel.. i just don't know what exactly its name is.. but it's just at the
> beginning of boot2 procedure; it waits for 3 seconds for user input and if
> you press any key, it shows you the prompt i mentioned and so on..
> if there is no key-press, the normal process will go on..
> Best Regards,
> On Tue, Jul 2, 2013 at 11:10 AM, Polytropon <freebsd at edvax.de> wrote:
>> On Tue, 2 Jul 2013 11:05:22 +0430, takCoder wrote:
>> > Hi Everyone,
>> > i wanna stop boot2 from getting a input string to change default boot
>> > point.. is there any way around, other than changing boot2.c source
>> code to
>> > disable this feature??
>> > As you may know, on system-startup, if you press any key, you will see
>> > following prompt, waiting for you to enter related string:
>> > FreeBSD/x86 boot
>> > Default: 0:ad(0,a)
>> > boot:
>> > I checked it and found out that i can change boot2.c file to disable
>> > section.. but I'd rather find another way.. Would you please let me know
>> > whether there are any other ways to do so?
>> Without having checked it, but is this what you are searching for?
>> In /boot/loader.conf:
>> From /boot/defaults/loader.conf:
>> Delay in seconds before autobooting,
>> set to -1 if you don't want user to be
>> allowed to interrupt autoboot process and
>> escape to the loader prompt, set to
>> "NO" to disable autobooting
>> I'm using autoboot_delay="1" to limit the time which the system
>> is waiting before continuing the boot process.
>> Magdeburg, Germany
>> Happy FreeBSD user since 4.0
>> Andra moi ennepe, Mousa, ...
More information about the freebsd-questions