Michael Shell wrote:
On Mon, 13 Jun 2016 01:40:56 -0500
"Douglas R. Reno" <[email protected]> wrote:

I would try appending "video=<resolution>" to the end of your kernel
command line, e.g.

video=1024x768


FWIW, this one can be tricky because if using the DRI/DRM framebuffer
drivers (e.g., DRM_RADEON, etc.) the video output port may also have
to be specified:

video=DVI-I-1:1024x768-16@60 fbcon=font:VGA8x16
video=DVI-I-1:1024x768-16@60 fbcon=font:SUN12x22
video=VGA-1:1024x768-16@60 fbcon=font:VGA8x16
video=HDMI-1:1024x768-16@60 fbcon=font:VGA8x16

As far as the console goes, I really don't think the way to go is to change the screen resolution. The better way is to just select the desired font.

In LFS SystemV (don't know about systemd) there is a boot script that looks at /etc/sysconfig/console or /etc/sysconfig/rc.site that can use the FONT environment variable to select the font of choice. I like the terminus fonts and use FONT=ter-128n.

Basically the boot script is only doing:

setfont ${FONT}

I suppose we ought to put the terminus fonts into BLFS, but it really si only CMMI:

tar -xf terminus-font-4.38.tar.gz
cd terminus-font-4.38
sh configure --prefix=/usr
make
sudo make install

The fonts then live in /usr/share/fonts/terminus and setfont finds them automatically.

From the README:

This archive contains source code for generating and installing Terminus
Font for Linux console, BSD console and X11 Window System.

- version   4.38
- sizes     6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24, 14x28, 16x32
- styles normal, bold, EGA/VGA bold
- characters   879
- format Bitmap Distribution Format (BDF) version 2.1

The character set covers about 120 language sets and supports ISO8859-1/2/5/7/9/13/15/16, Paratype-PT154/PT254, KOI8-R/U/E/F, Esperanto and many IBM, Windows and Macintosh code pages, as well as the IBM VGA, vt100 and xterm pseudographic characters.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to