Date: Sun, 23 Nov 2008 19:57:42 +0100 From: Andreas Xanke <andreas.xanke@edvax.de> To: patrick.van.ratingen@web.de Cc: freebsd-questions@freebsd.org Subject: Re: Changing default colors of syscons / kernel messages Message-ID: <20081123195742.dd6e0d0c.andreas.xanke@edvax.de> In-Reply-To: <932463700@web.de> References: <932463700@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Nov 2008 17:42:03 +0100, patrick.van.ratingen@web.de 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. :-)=09 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=3D(FG_GREEN|BG_BLACK) options SC_NORM_REV_ATTR=3D(FG_YELLOW|BG_GREEN) options SC_KERNEL_CONS_ATTR=3D(FG_RED|BG_BLACK) options SC_KERNEL_CONS_REV_ATTR=3D(FG_BLACK|BG_RED) 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... >=20 > yours > ____________________________________________________________________ > Psssst! Schon vom neuen WEB.DE MultiMessenger geh=F6rt?=20 > Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3D3123 >=20 >=20 --=20 "Die Rechtschreibreform ist v=F6llig in Ordnung, wenn man weder lesen noch schreiben kann." (Loriot)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081123195742.dd6e0d0c.andreas.xanke>