You are not logged in.

#1 Yesterday 17:33:53

Enrico1989
Member
Registered: 2018-07-05
Posts: 309

Problem booting - possibly font related

seth wrote:
May 16 09:55:14 archlinux systemd-vconsole-setup[228]: setfont: ERROR setfont.c:435 kfont_load_font: Unable to find file: ter-d24b.psf.gz

You probably need to regenerate the initramfs and or explicitly add to font there (FILES array)

Should I do

# mkinitcpio -P

as per https://wiki.archlinux.org/title/Mkinitcpio?

Online

#2 Yesterday 19:00:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Problem booting - possibly font related

I might have forgotten the twice on windows. Anyway, I've just done as you said:

Did you check whether it *was* disabled?

"mkinitcpio -P" will regenerate the initramfs, whether you also need to explicitly have to add to the FILES array w/ the systemd hooks idk (though it rings some bell, I think there was a thread about that)

Offline

#3 Yesterday 20:37:32

Enrico1989
Member
Registered: 2018-07-05
Posts: 309

Re: Problem booting - possibly font related

seth wrote:

I might have forgotten the twice on windows. Anyway, I've just done as you said:

Did you check whether it *was* disabled?

Nope, I forgot sad

seth wrote:

explicitly have to add to the FILES array w/ the systemd hooks

https://wiki.archlinux.org/title/Mkinitcpio is still the page I should go through to understand what this actually means, right?

seth wrote:

(though it rings some bell, I think there was a thread about that)

Searching for keywords initramfs files array systemd font gives 6 pages of results sad

Online

#4 Yesterday 20:55:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Problem booting - possibly font related

We don't need to find that thread - we'll just figure it again wink

the page I should go through

Specifically https://wiki.archlinux.org/title/Mkinit … _and_FILES

lsinitcpio /boot/initramfs-linux.img | grep ter-d24b

will hint whether the font is currently in the initramfs

Offline

#5 Yesterday 23:58:38

Enrico1989
Member
Registered: 2018-07-05
Posts: 309

Re: Problem booting - possibly font related

# mkinitcpio -P

Done.


seth wrote:

the page I should go through

Specifically https://wiki.archlinux.org/title/Mkinit … _and_FILES

Mmmm.  Ehm, what should I do?

seth wrote:
lsinitcpio /boot/initramfs-linux.img | grep ter-d24b

will hint whether the font is currently in the initramfs

For now this errors:

==> ERROR: Unable to read file: '/boot/initramfs-linux.img'

Online

#6 Today 07:33:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,381

Re: Problem booting - possibly font related

For the lts or zen kernels the initramfs would have a slightly different name.
If you need to explicitly add the font you need to add the path of the file to the FILES array.

Since this has nothing to do w/ the original problem, consider to https://bbs.archlinux.org/misc.php?report=2298381 post #4 and the tail to be split off into a specialized thread.

Offline

#7 Today 10:42:40

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,985

Re: Problem booting - possibly font related

Moderator Note
Split off from https://bbs.archlinux.org/viewtopic.php?id=313570 as requested by OP.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 Today 13:27:01

Enrico1989
Member
Registered: 2018-07-05
Posts: 309

Re: Problem booting - possibly font related

Enrico1989 wrote:

For now this errors:

==> ERROR: Unable to read file: '/boot/initramfs-linux.img'

I'm an idiot, because I didnt' even read the message carefully. I had just forgotten sudo.

With sudo, the output is

usr/share/kbd/consolefonts/ter-d24b.psf

so the answer to

seth wrote:

whether the font is currently in the initramfs

is yes it is, no?

seth wrote:

For the lts or zen kernels the initramfs would have a slightly different name.

I use the "vanilla/stable" linux kernel.

seth wrote:

If you need to explicitly add the font you need to add the path of the file to the FILES array.

How do I know if I do need to explicitly add the font?

I don't think I've understood what the error is actually telling in practice. Ok, it reads "Unable to find file: ter-d24b.psf.gz", but what does that mean, in practice? Where should I see sympthoms of this error?

Last edited by Enrico1989 (Today 13:32:24)

Online

Board footer

Powered by FluxBB