Re: bootverbose; persist bootverbose at boot

From: <paige_at_paige.bio>
Date: Sun, 09 Feb 2025 18:31:40 UTC
> 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. 

-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
> 
>