Comments (7)
Hi @andyrtr
Booster is looking for font files at /usr/share/kbd/consolefonts/
directory. Do you have 8859-2
or 8859-2.gz
file there?
from booster.
No. There's only /usr/share/i18n/charmaps/ISO-8859-2.gz that looks related here.
from booster.
INteresting.
Currently booster
picks /usr/share/kbd/consolefonts/$FONT_MAP.gz
file and passes it to setfont -m $FILE
during the boot.
I checked mkinitcpio
and it seems to ignore the FONT_MAP part completely. @andyrtr which initramfs do you currently use? I want to check how FONT_MAP is handled there.
from booster.
I'm using booster as my main initcpio and some more critical systems still have dracut installed for fallback.
I'm just trying to add the font settings for the first time to try if I can workaround a bug introduced in 6.0 kernel. Up to 5.19 the vconsole.conf font setting is properly taken by the late kernel boot and is kept when switching to greetd-tui. From 6.0 release on I see the first boot msg page switching to my custom font setting but the font is then reset when a 2nd boot message page it written.
tpowa has doing some tests with mkinitcpio that is affected by the same. He found some workaround there to make the kernel reapply the custom font setting.
It would be nice when we could find a way to get the font working in inintrd to get a seemless boot output. The late userspace kernel issue is something different. Please tell me here or at IRC if I can do something for you.
It's not a serious issue but it would be nice to get booster working
from booster.
small note: I've found the console font workaround required for kernel 6.0 and up: it's written down at the Arch wiki (Linux_console/Persistent_configuration) - to avoid the resolution reset it's required to add the video module to the initrd to enable early kms.
But this is not an actual fix for this booster font adding issue.
from booster.
So booster should handle these parameters the same way as systems.
I am looking at systemd code and it essentially calls setfont -C NNN -m 8859-2 spleen-12x24
.
Such call fails for me as it cannot find the font files at my computer. Nothing in /usr/share/kbd
neither:
➜ kbd pwd
/usr/share/kbd
➜ kbd ls -R | grep spleen
➜ kbd
@andyrtr did you install any extra packages to get that map file? Could you please also call the setfont
with strace -e file setfont ....
so I can see where exactly setfont looks up for the fontmap file.
from booster.
strace -o strace.txt -e file setfont ter-v32n -m 8859-2
strace.txt
looks like it
- looks for 8859-2 at the working directory,
- doesn't find it
- starts looking through /usr/share/kbd/consoletrans/
- decides upon /usr/share/kbd/consoletrans/8859-2_to_uni.trans and opens that
- the rest is other stuff including looking for the font at /usr/share/kbd/consolefonts/
This is on Arch Linux with xanmod kernel 6.7.6, I think the general idea of the consoletrans directory is what you needed here
from booster.
Related Issues (20)
- Unable to boot into OS HOT 1
- Handle compressed root filesystem in ISO mode HOT 9
- Unable to unlock root partition with tpm2 key HOT 17
- `vconsole: true` blocks booting w/ booster exit status 71 HOT 9
- Is it possible to boot without switching root? HOT 6
- cannot reliably unlock encrypted partition with fido2-assert
- LVM on LUKS no password asked HOT 10
- Missing Intel volume management device driver (NVMe)
- systemd-boot now can default to `/efi` as the folder for initramfs images. How does booster cope with that? HOT 6
- quiet option breaks loading
- Improve fsck handling
- Read-only flag for root fs should overwrite the read-write flag
- booster fails when loading microcode image first HOT 5
- Add support for bcachefs
- Boot isn't silent
- ```vconsole: true``` causes systems with encrypted root to freeze. HOT 1
- No keyboard input on Linux >=6.7.6 kernel HOT 3
- Additional mount operation
- [Help/Question] Network Bound Disk Unlocking (Clevis) using Tang on Alpine Linux HOT 3
- recovering clevis token fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from booster.