You are not logged in.

#1 2012-06-25 13:36:36

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

[SOLVED] Add custom console font to linux kernel

Is there a way I can integrate a console font (eg. I need ter-v16b) into the linux kernel itself, or call it to the early userspace without initramfs?

Just to note, I'm not using initramfs.

Last edited by Demon (2012-06-29 07:25:57)

Offline

#2 2012-06-25 13:44:15

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: [SOLVED] Add custom console font to linux kernel

Just set your font in consolefont section in /etc/rc.conf

Offline

#3 2012-06-25 13:58:33

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Add custom console font to linux kernel

It's already set, but console can't "catch" that setting.

Offline

#4 2012-06-29 07:25:41

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Add custom console font to linux kernel

Offline

#5 2012-06-29 09:09:00

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: [SOLVED] Add custom console font to linux kernel

Did you try adding consolefont in your hooks in /etc/mkinitcpio.conf as per wiki?

Offline

#6 2012-06-29 14:20:07

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Add custom console font to linux kernel

theGunslinger wrote:

Did you try adding consolefont in your hooks in /etc/mkinitcpio.conf as per wiki?

Demon wrote:

Just to note, I'm not using initramfs.

smile

Offline

#7 2012-06-29 14:45:54

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: [SOLVED] Add custom console font to linux kernel

Sorry, didn't read properly. Anyway after the latest update I have the same problem and it seems to be a bug.
Check here for details:

https://bbs.archlinux.org/viewtopic.php?id=141079

Offline

#8 2012-06-29 14:52:15

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Add custom console font to linux kernel

No no, I don't have those problems. My problem was that console font didn't get loaded early, so first few lines of output were unreadable. And this happened because I've translated initscripts' output (using Cyrillic).

Offline

#9 2012-06-29 15:35:04

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: [SOLVED] Add custom console font to linux kernel

Ooh, now i get it. But I think that's the default behaviour, (consolefont gets loaded after a few lines at boot on my pc as well) it's just the time when rc.conf is read and the consolefont gets changed. So I don't really know how to circumvent it...

Ali bih voleo da vidim kako izgleda boot na srpskom, ako moze neki screenshot smile

Offline

#10 2012-06-29 16:33:25

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Add custom console font to linux kernel

Хаха, наравно, нема пробема. smile

I'll post a link to a video, as soon as I upload it. smile

http://videobam.com/OPHdH

Last edited by Demon (2012-06-29 16:58:47)

Offline

#11 2012-06-29 17:20:02

theGunslinger
Member
Registered: 2011-05-20
Posts: 300

Re: [SOLVED] Add custom console font to linux kernel

Nice work!

Offline

#12 2012-06-29 23:23:13

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Add custom console font to linux kernel

It boots even faster, I don't know what went wrong the time I took video of it. smile

Offline

Board footer

Powered by FluxBB