Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2025 13:15:43 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        paige@paige.bio
Cc:        "freebsd-hackers@freebsd.org" <hackers@freebsd.org>
Subject:   Re: bootverbose; persist bootverbose at boot
Message-ID:  <CANCZdfriABAZG=-hnjLHmUBQKt-Q5SX-zDQJVw09vPwPeArtyQ@mail.gmail.com>
In-Reply-To: <D7E60473-FD33-4D9B-9A74-FFAC089303B5@paige.bio>
References:  <82E15749-E2A0-4B56-847E-1E60EF4F3607@paige.bio> <CANCZdfqBhbbwA=rkS2g2rfvCnkvJkeSpUe9c2hvDFs=cjg10mQ@mail.gmail.com> <D7E60473-FD33-4D9B-9A74-FFAC089303B5@paige.bio>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Feb 9, 2025, 11:31 AM <paige@paige.bio> wrote:

> > boot_verbose=yes in loader.conf.
>
> Yes—thank you I found that, mentioned in a previous e-mail, I just looked
> at the Lua source in stand/ and found it.  But yeah, I noticed at least one
> other person from a Google search that was trying to figure out how to do
> that, everything points to the menu or the prompt (-v) being the only two
> options. Tunable I assume you mean via sysctl that might also be useful,
> too but I was just going to say the documentation for loader.conf
> specifically:
>
> https://man.freebsd.org/cgi/man.cgi?loader.conf(5)
>
> It would be nice if it were mentioned in there, too.
>

Already pushed a fix before your email to add it..

Warner


-P
>
>
> > On Feb 9, 2025, at 10:18 AM, Warner Losh <imp@bsdimp.com> wrote:
> >
> >
> >
> > On Sun, Feb 9, 2025 at 9:56 AM <paige@paige.bio> wrote:
> > Anybody know how to do this or if you can? Really sucks I keep having to
> go wait for the boot loader (bios is slow to wait on) hit 7 then hit 6
> backspace 1
> >
> > boot_verbose=yes in loader.conf.
> >
> > debug.bootverbose can be set at runtime with sysctl (I should make that
> a tuneable as well, but it isn't today). I should also add it to
> loader.conf(5). It's way more important than verbose_loading which is
> limited to being verbose around loading klds.
> >
> > It's obscurely documented in loader.efi(8):
> >            boot flag        loader variable        Kernel RB_ flag
> >            -a               boot_askme             RB_ASKNAME
> >            -c               boot_cdrom             RB_CDROM
> >            -d               boot_ddb               RB_KDB
> >            -r               boot_dfltroot          RB_DFLTROOT
> >            -D               boot_multiple          RB_MULTIPLE
> >            -m               boot_mute              RB_MUTE
> >            -g               boot_gdb               RB_GDB
> >            -h               boot_serial            RB_SERIAL
> >            -p               boot_pause             RB_PAUSE
> >            -P               boot_probe             RB_PROBE
> >            -s               boot_single            RB_SINGLE
> >            -v               boot_verbose           RB_VERBOSE
> > but it also works for BIOS booting. The loader man pages are a mess. A
> lot of that is my fault. You can set any of the above to "yes" or "no".
> >
> > Warner
> >
> >
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Feb 9, 2025, 11:31 AM  &lt;paige@paige.bio&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt; boot_verbose=yes in loader.conf.<br>
<br>
Yes—thank you I found that, mentioned in a previous e-mail, I just looked at the Lua source in stand/ and found it.  But yeah, I noticed at least one other person from a Google search that was trying to figure out how to do that, everything points to the menu or the prompt (-v) being the only two options. Tunable I assume you mean via sysctl that might also be useful, too but I was just going to say the documentation for loader.conf specifically: <br>
<br>
<a href="https://man.freebsd.org/cgi/man.cgi?loader.conf(5)" rel="noreferrer noreferrer" target="_blank">https://man.freebsd.org/cgi/man.cgi?loader.conf(5)</a><br>;
<br>
It would be nice if it were mentioned in there, too.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Already pushed a fix before your email to add it.. </div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-P<br>
<br>
<br>
&gt; On Feb 9, 2025, at 10:18 AM, Warner Losh &lt;<a href="mailto:imp@bsdimp.com" target="_blank" rel="noreferrer">imp@bsdimp.com</a>&gt; wrote:<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Sun, Feb 9, 2025 at 9:56 AM &lt;paige@paige.bio&gt; wrote:<br>
&gt; Anybody know how to do this or if you can? Really sucks I keep having to go wait for the boot loader (bios is slow to wait on) hit 7 then hit 6 backspace 1<br>
&gt; <br>
&gt; boot_verbose=yes in loader.conf.<br>
&gt; <br>
&gt; debug.bootverbose can be set at runtime with sysctl (I should make that a tuneable as well, but it isn&#39;t today). I should also add it to loader.conf(5). It&#39;s way more important than verbose_loading which is limited to being verbose around loading klds.<br>
&gt; <br>
&gt; It&#39;s obscurely documented in loader.efi(8):<br>
&gt;            boot flag        loader variable        Kernel RB_ flag<br>
&gt;            -a               boot_askme             RB_ASKNAME<br>
&gt;            -c               boot_cdrom             RB_CDROM<br>
&gt;            -d               boot_ddb               RB_KDB<br>
&gt;            -r               boot_dfltroot          RB_DFLTROOT<br>
&gt;            -D               boot_multiple          RB_MULTIPLE<br>
&gt;            -m               boot_mute              RB_MUTE<br>
&gt;            -g               boot_gdb               RB_GDB<br>
&gt;            -h               boot_serial            RB_SERIAL<br>
&gt;            -p               boot_pause             RB_PAUSE<br>
&gt;            -P               boot_probe             RB_PROBE<br>
&gt;            -s               boot_single            RB_SINGLE<br>
&gt;            -v               boot_verbose           RB_VERBOSE<br>
&gt; but it also works for BIOS booting. The loader man pages are a mess. A lot of that is my fault. You can set any of the above to &quot;yes&quot; or &quot;no&quot;.<br>
&gt; <br>
&gt; Warner<br>
&gt; <br>
&gt; <br>
<br>
</blockquote></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfriABAZG=-hnjLHmUBQKt-Q5SX-zDQJVw09vPwPeArtyQ>