Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I finally found where the boot logo is compiled into the kernel, but I was wondering what kind of options there are for font color or back ground. Is this something you can define in the kernel, or are we at the whims of Mr. Torvalds (not that I don't trust his judgemeant ).
I wasn't sure what to search for. Can anyone point me in the right direction?
In every GRUB booted system I've ever seen (primarily Debian based) the logo is supplied by the distro maker & the basic color selection, as well as the logo image used, is controlled by menu.lst.
From what my understanding is, there are two different types of logo's, one displayed during the initial boot sequence ( I think loaded by the boot loader, I could be wrong ), the other is actually compiled into the kernel. In 2.6.X kernels, it's under Device Drivers-->Graphic Support-->Logo configuration
You would then preform the following to get your logo to boot with the kernel:
Yeah, it would be great to know how one can change the background color and the text color of one's console.
BTW, I'm going to test the piece of code provided by drkstr above
Last edited by Vitalie Ciubotaru; 07-26-2006 at 06:04 PM.
What do you mean by "console"?
TTY or x-term?
If x-term, which window manager or desktop environment?
Assuming you are already booted up:
If you are running X &, say, KDE & want to change the colors of your Konsole, then use "Settings > Schema".
If, on the other hand, there is no X & you are in that CLI world known variously as a "tty" or a "vc", then you change your colors by embedding special non-printed strings in your prompt. These strings are known as "terminal control sequences" or "ANSI color codes", also "ECMA-48" and "ISO 6429". The best short, i.e. least confusing, list/explanation (that I have found) is in the dir_colors man page. Then to read about the prompt itself, open the bash man page & search for "When executing interactively". This will take you directly to the PROMPTING section.
Actually I mean neither, sorry for the poor choice of terminoligy.
I am refering to the initial boot sequence when the kernel is loading, and before the initialization scripts kick in. I think maybe the boot loader is where I need to be looking, but I haven't found any options for lilo that do what I need.
Quote:
These strings are known as "terminal control sequences" or "ANSI color codes", also "ECMA-48" and "ISO 6429". The best short, i.e. least confusing, list/explanation (that I have found) is in the dir_colors man page. Then to read about the prompt itself, open the bash man page & search for "When executing interactively". This will take you directly to the PROMPTING section.
Thanks for the good info on how the colors work, this will give me a good starting point once I find out how to set them during the boot sequence.
drkstr,
Sorry for the confusion, I was replying to Vitalie Ciubotaru's off topic, but related, Q. I hoped that that was clear from the fact my post immediately followed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.