You are not logged in.
Hi guys!
I've installed the terminus-font AUR package to inscreese the size of the console font.
This is my /etc/vconsole.conf file
KEYMAP=sv-latin1
FONT=ter-v32n
and these are my /etc/mkinitcpio.conf HOOKS
HOOKS="base udev autodetect modconf block keyboard keymap consolefont encrypt lvm2 resume filesystems fsck"
I'm using an encrypted device on which I store my root file system (including the path to the Terminus font, /usr/share/kdb/consolesfonts).
What happens is that the Terminus font doesn't get set until I've decrypted my device, which make me think that the system is trying to read the font
from /usr/share/kdb/consolesfonts before it's accessible.
Is this how it works, or will mkinitcpio embed the Terminus font in the initramfs image upon image creation?
If it do access it by it's path, is it possible to refer to another (unencrypted) path in vconsole.conf?
Last edited by Syntaxeus (2016-11-15 22:15:25)
Offline
Hi guys!
...
Is this how it works, or will mkinitcpio embed the Terminus font in the initramfs image upon image creation?
Using plain boot /dev/sda1 and encrypted root /dev/sda2 devices. Terminus font is available immediately on boot.
% cat /etc/vconsole.conf
FONT=Lat2-Terminus16
% bsdtar -tf /boot/initramfs-linux.img | grep Term
usr/share/kbd/consolefonts/Lat2-Terminus16.psfu
Offline
% bsdtar -tf /boot/initramfs-linux.img | grep term
gives me nothing, so obviosly the font is not included in my initramfs when I create it using
# mkinitcpio -p linux
Do need to do anything more than adding the consolefont hook to /etc/mkinitcpio.conf?
Last edited by Syntaxeus (2016-11-16 10:06:22)
Offline
Try adding the font to the FILES section of mkinitcpio.conf and rebuilding.
Offline
Good suggestion.
I tried that and now it's getting included in the image at least, but it still doesn't get applied to the systemd-boot and luks prompt.
The luks prompt still displays
setfont bad input file size
before the password input
Last edited by Syntaxeus (2016-11-16 11:56:25)
Offline
Excerpt from working /etc/mkinitcpio.conf
FILES=""
...
#HOOKS="base udev autodetect modconf block filesystems keyboard consolefont fsck shutdown"
HOOKS="base systemd autodetect modconf block filesystems keyboard sd-vconsole fsck sd-shutdown"
Take note empty FILES.
Offline