Anton Aylward wrote:
On 11/24/2016 01:04 AM, L. A. Walsh wrote:
But the kernel still will set its idea of some mode to support different 'fonts'. It's also true that by default, 80x25 is too few lines for me. So I resize to about 100+ x 43... I say 100-plus because I don't remember the exact width, but its about 43 lines tall.
don't know how Grub2 works WRT initializing video mode because I don't use it. Same for Lilo. But with Grub, I notice only one mode switch during boot, and that resultant mode remains on the vttys as long as the boot lasts.
Hmmm....
As for my "hmmm"...
In my /boot/grib2/grub.cfg there is a stanza that reads
if loadfont $font ; then set gfxmode=1280x1024 load_video insmod gfxterm set locale_dir=$prefix/locale set lang=POSIX insmod gettext fi
The "set gfxmode=1280x1024" I edited in manually to match my physical screen. It seems pointless to me to d anything unless you've set that.
I don't have something by that setting name in lilo. I have vga=[...]... which takes "modes" that set the resolution.
As I mentioned before, and please don't depreciate it again,
---- Don't what? I'm not sure what I did, so don't know if I might do it again.
I make sure that there is a value set for $font, one of /boot/grib2/font/*.pf2 That determines the font size to fit.
No fonts listed in lilo. The fonts I'm talking about are after the user-mode code is running, one of the early things done is setting a font with "showconsolefont". That can reset the video mode if it specifies a different size font than what you were using. The console fonts and keymaps are under /usr/share/kbd on my system.
As others have pointed out, once set in boot its going to stay there unless you have code elsewhere that changes it. Yes "as long as boot lasts" and then it stays that way on the vttys for me because I don't have anything that changes as things move and the "login:" prompt appears.
---- Well -- as said, no font is set during boot other than what might be builtin. After boot, a console font is set -- maybe that is needed to load some other font before the 'kexec' call from userland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org