Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2007 23:25:20 -0400
From:      Charles Shannon Hendrix <shannon@widomaker.com>
To:        stable@freebsd.org
Subject:   console message suppression during boot
Message-ID:  <20070820232520.662b32d4@daydream>

next in thread | raw e-mail | index | archive | help

I am trying to create a custom FreeBSD install that suppresses most console
output during the boot.

In fact, the only thing I want to see is my custom menu in the third stage,
the stuff written in Forth.

I added the -q and -m options to /boot.config, and it mostly works, but with
two serious problems:

- it does not suppress the loading output just before and just after the 3rd
stage menu is displayed.

- it suppresses console output even *after* the boot, which I don't want.

For example, when I boot and third stage loader runs, I see this:

[output showing loader code being loaded, a spinner, and some notes about the
available drives]

	My Custom Menu

	1		..........
	2		..........
	and so on

[output show chosen slice and kernel being booted]

I want to suppress the stuff in []'s, but still show the menu.

Also, when I run a shutdown, I don't see any console output, which makes it
hard to tell when the system has halted.

Any help appreciated.

-- 
shannon           |    Tara is grass, and behold how Troy lieth 
                  |    low--And even the English, perchance their 
                  |    hour will come!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070820232520.662b32d4>