Bug#859458: console-setup: Setup font on initrd
Hello, After installing Debian Buster, the luks-crypt font was too small. It all went away when I installed Jörg Sommer scripts: I have a readable font now, in my case the one I'm using in the console: Lat15-Terminus20x10.psf.gz. Just to add that I had to chmod 0755 both scripts - don't know if it was needed or not, but after regenerating the initrd (update-initramfs -c -v -k all) without the files being executable nothing happened. Had to regenerate the initramfs with the scripts being executable. Best regards, -- Américo Rocha auro...@gmail.com
Bug#859458: console-setup: Setup font on initrd
I recently installed Buster and ran into this issue. The prompt for my cryptsetup password was almost unreadable because of the font size, the debian-installer was very very painful to use too. I tried Sam's console-setup hook that relies on udev but I was unable to get the font set. However, the two-script solution by Jörg did work for me. I was not able to reproduce the "double" font jump that Sam observed in between the crypt prompt and the system hand-over. I did see a difference in the "weight" (normal to thin) of the font and the color (white to grey), even though I was using the same in both contexts (initramfs, proper system).
Bug#859458: console-setup: Setup font on initrd
rename 859458 Because of displays with very high dpi, not only the keyboard, but the font has to be configured early thanks Console packages have always configured the keyboard as early as possible in order to facilitate interaction during bad fsck. They have never tried (at least in Debian) to configure the font. But your argument is valid so I am renaming this bug accordingly. On Mon, Apr 03, 2017 at 09:12:21PM +0200, Jörg Sommer wrote: > > Can you add files like these to the package, please? I am considering this issue closed because there are already files like these in the package. :) See the option setupcon --setup-dir which is supposed to be used by initrd builders. At the moment Dracut uses this option, I don't know if there are other initrd builders in Debian which use it. But even with Dracut, the font will not be configured by initrd because console-setup does not try to do this. Which is unfortunate because earlier versions of console-setup included font configuration in initrd. Anton Zinoviev
Bug#859458: console-setup: Setup font on initrd
Package: console-setup-linux Version: 1.163 Severity: wishlist Hi, I have a display with a high resolution (280 dpi) and use full disk encryption. For the frame buffer console, I've changed the font to CODESET="Lat15" FONTFACE="Terminus" FONTSIZE="16x32" But the prompt for the master password before the system starts (and after grub) is still the default and very small. To fix this, I've added these scripts to initramfs-tools: - /etc/initramfs-tools/hooks/setup-console - #!/bin/sh case $1 in prereqs) echo '' exit 0 ;; esac . /usr/share/initramfs-tools/hook-functions # Begin real processing below this line copy_exec /bin/setfont cp /etc/console-setup/cached_Lat15-Terminus32x16.psf.gz "$DESTDIR"/etc/console-font.psf.gz - cat /etc/initramfs-tools/scripts/init-top/setup-console - #!/bin/sh case $1 in prereqs) echo "udev" exit 0 ;; esac . /scripts/functions # Begin real processing below this line if test -x /bin/setfont && test -e /etc/console-font.psf.gz then setfont /etc/console-font.psf.gz log_success_msg 'Set console font' fi - Can you add files like these to the package, please? Regards Jörg -- System Information: Debian Release: 9.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.10.0-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages console-setup-linux depends on: ii init-system-helpers 1.47 ii initscripts 2.88dsf-59.9 ii kbd 2.0.3-2+b1 ii keyboard-configuration 1.163 console-setup-linux recommends no packages. Versions of packages console-setup-linux suggests: ii console-setup 1.163 Versions of packages keyboard-configuration depends on: ii debconf 1.5.60 ii liblocale-gettext-perl 1.07-3+b1 Versions of packages console-setup depends on: ii debconf 1.5.60 ii keyboard-configuration 1.163 ii xkb-data2.19-1 Versions of packages console-setup suggests: ii locales 2.24-9 ii lsb-base 9.20161125 Versions of packages console-setup-linux is related to: ii console-common0.7.89 ii console-data 2:1.12-5 pn console-tools pn gnome-control-center ii kbd 2.0.3-2+b1 ii systemd 232-22 -- debconf information excluded signature.asc Description: PGP signature