Changing default colors of syscons / kernel messages

Polytropon freebsd at
Sun Nov 23 11:03:05 PST 2008

On Sun, 23 Nov 2008 17:42:03 +0100, patrick.van.ratingen at wrote:
> hey again ...
> ive asked, if somebody could help me with making the bootmanager,
> the kernel.-booting and shutdown-process green/black colored
>  (like netbsd) ive get no answer yet, i hope, you can still help me ...

It isn't the answer to your question, but: 1. Try do use a
subject that is in relationship to your question. 2. Try
to wrap your lines at approx. column 70, this makes correct
quoting easier. I was free to correct them both. :-)	

Now regarding your question: It is possible to change the
color attributes for the kernel messages which FreeBSD
usually displays white on black, and OpenBSD grey on
blue. As far as I remember - I tried it once -, there are
makeoptions in the kernel configuration file to be set.
See the handbook section about how to build a custom
kernel for the correct procedures.

The correct settings are mentioned in /usr/src/sys/conf/NOTES,
lines 1339 cont. (1343 cont):

	# The following options will let you change the default colors of syscons.
	options         SC_NORM_ATTR=(FG_GREEN|BG_BLACK)

But I'm not sure you can change the settings for the boot
manager itself in an easy way. Maybe a modification of the boot
loader's source code makes it possible...

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list