At the beginning of booting process will pause at:
"Hit [Enter] to boot immediately, or any other key for command prompt
Booting [kernel] in 9 seconds ................"
How to config skip this step and let the kernel booting immediately
(no need press [Enter]) ?
Thanks
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
I suppose you could change it in /boot/loader.conf but I would not
recommend it. Chances are pretty good that you'll need to interrupt
the bootup someday. If you feel you must, just make it shorter.
--
Walter Brameld
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
BSD: Are you guys coming, or what?
Walter: And what does THIS button do??
On Thu, 06 Apr 2000 16:45:57 +0800, "Alex Kwan" wrote:
> At the beginning of booting process will pause at:
> "Hit [Enter] to boot immediately, or any other key for command prompt
> Booting [kernel] in 9 seconds ................"
> How to config skip this step and let the kernel booting immediately
> (no need press [Enter]) ?
You can shorten or remove the delay by adding this line to
/boot/loader.conf (creating the file if it does not exist):
autoboot_delay="0"
Even with no delay, you can still get the loader prompt if you're quick
with your space bar. However, this can be quite annoying and you'd be
well advised to set the delay to at least one second.
Ciao,
Sheldon.
You can add the command 'boot' to the end of your /boot/loader.rc file.
Note, though, that if you do this, you won't be able to boot an old
kernel, or boot into single user mode unless you boot off of a floppy.
Thus, I reccommend that you just set the autoboot_delay variable to
1 or 2 seconds as Sheldon Hearn recommended.
> Thanks
--
John Baldwin <j...@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
I tried this, adding
autoboot_delay="1"
to /boot/loader.conf (actually I had to create the file) but I still get the
10-second countdown. Any idea why?
# cd /boot
# cat loader.conf
autoboot_delay="1"
#
> Even with no delay, you can still get the loader prompt if you're quick
> with your space bar. However, this can be quite annoying and you'd be
> well advised to set the delay to at least one second.
>
> Ciao,
> Sheldon.
>
>
> To Unsubscribe: send mail to majo...@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
Beam me up Scottie, there's no intelligent life down here
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:ma...@ukug.uk.freebsd.org http://www.radan.com
So, you might have to put it in that file.
--bhishan
On Fri, 07 Apr 2000 16:06:16 MST, Bhishan Hemrajani wrote:
> I'm not sure, but I have a hunch.
> When it loads for me, it says that it loads /boot/defaults/loader.conf.
That file loads in /boot/loader.conf, overriding anything thus far set.
This works very much the way /etc/defaults/rc.conf works.
I can't imagine why the file isn't read by Mark's loader. Perhaps he's
loading the kernel directly, instead of via the loader?
Can you elaborate? Do you mean interrupting the boot and specifying
the name of the kernel? If so, then that is not what I'm doing.
> Ciao,
> Sheldon.
>
>
> To Unsubscribe: send mail to majo...@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
...and on the eighth day God created UNIX
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:ma...@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majo...@FreeBSD.org
On Tue, 11 Apr 2000 23:42:06 +0100, Mark Ovens wrote:
> > I can't imagine why the file isn't read by Mark's loader. Perhaps he's
> > loading the kernel directly, instead of via the loader?
>
> Can you elaborate? Do you mean interrupting the boot and specifying
> the name of the kernel? If so, then that is not what I'm doing.
Yes, that's exactly what I meant. If you're not doing that, then i
can't think why your /boot/loader.conf isn't being read. Um, wait... do
you have /boot/defaults/loader.conf, which loads up /boot/loader.conf
for you?
What makes you think /boot/loader.conf isn't being read?
> Ciao,
> Sheldon.
--
John Baldwin <j...@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
On Wed, 12 Apr 2000 07:16:19 -0400, John Baldwin wrote:
> What makes you think /boot/loader.conf isn't being read?
Mark said that he has autoboot_delay="1" or some such in
/boot/loader.conf but that the countdown persists.
Ciao,
Sheldon.
Did he use 'set autoboot_delay'? You can't use 'set' in
loader.conf. Mark, can you post your /boot/loader.conf
file? It should be short. (Mine's all of 3 lines.)
> Ciao,
> Sheldon.
--
John Baldwin <j...@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
OK, I re-read the manpages relating to booting/loader and I've found
the cause. My /boot/loader.conf just contains:
autoboot_delay="2"
What were missing though were the 2 lines
include /boot/loader.4th
start
from /boot/loader.rc. This may be a historical accident but my
loader.rc has just contained
load /kernel
load vesa
load -t userconfig_script /kernel.config
load -t splash_image_data /dawn.bmp
load splash_bmp
autoboot
which I have had since splash screens were first introduced (3.1?).
ISTR that I had to create the file; if one existed I certainly
wouldn't have deleted anything the system had put there. One of the
manpages states that make installworld will only install a loader.rc
if one doesn't exist.
When was the requirement for
include /boot/loader.4th
start
introduced? Anyway, now that I've added these 2 lines the modified
countdown works :) FWIW setting it to 1 is too short, it appears not
to pause at all; 2 (just) allows time to catch it.
Thanks for the help guys.
> > Ciao,
> > Sheldon.
>
> --
>
> John Baldwin <j...@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
> PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
> "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
--
...and on the eighth day God created UNIX
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:ma...@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majo...@FreeBSD.org