Red Hat Bugzilla – Bug 26901
initscripts overrides kernel command line
Last modified: 2014-03-16 22:18:57 EDT
vga=1 is in my kernel command line and the kernel does boot into that mode
but it changes to 80x25 when the console font part of rc.sysinit runs.
A problem possibly related to this is that with a custom-compiled kernel
the console font is not set correctly; anything blue has a line through it
and is thus nearly unreadable.
Here are the contents of /etc/sysconfig/i18n (as set during installation):
This is messy to fix; you do want to be able to load the default font, so
that proper international characters can be displayed correctly.
*** Bug 26924 has been marked as a duplicate of this bug. ***
After some testing of possible solutions, I've determined that this isn't really
fixable in initscripts. My best suggestion is to either remove
the SYSFONT line, or change it to something appropriate to whatever resolution
you're booting into.
*** Bug 28544 has been marked as a duplicate of this bug. ***
*** Bug 44108 has been marked as a duplicate of this bug. ***
*** Bug 45011 has been marked as a duplicate of this bug. ***
My solution, which reminds me of what I have done rather than just having a line deleted in some obscure config file I won't remember, is
to add the following lines after the first line in /sbin/setsysfont:
echo $"/sbin/setsysfont modified to not change system font - so as not to upset >25 line console"
There seems to be two attempts to use /sbin/setsysfont. The first is as part of /etc/rc.d/rc.sysinit. The above modification causes this
attempt to fail visibly, with the above text appearing on screen.
The second is almost at the end of the boot procedure, when I think /etc/rc.d/init.d/keytable calls /sbin/setsysfont again. In that case the
text "Starting keytable OK" appears.