How to set up vidcontrol config for console at the earliest possible stage of boot?

Stilez

Guru
Joined
Apr 8, 2016
Messages
529
I've got working tunables that put the console into a vt mode with a suitable font, during boot. But it kicks in quite late in the boot process, and not all that I need is set.

The settings I want are:

# console format and font
allscreens_flags = MYFONT.fnt
hw.vga.textmode = 1
kern.vt.fb.default_mode = 1600x1200
kern.vt.fb.modes.LVDS-1 = 1600x1200
# scrollback buffer size
vidcontrol -h 5000

How can I set these up to kick in at the earliest possible stage of boot, or as the system default? Ideally as soon as possible, and as the default for all tty/console displays.
 
Top