Re: bootverbose; persist bootverbose at boot

From: Warner Losh <imp_at_bsdimp.com>
Date: Sun, 09 Feb 2025 18:18:38 UTC
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