You are not logged in.

#1 2012-08-03 22:06:24

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[SOLVED] Consolefont in early boot

Hey all,

I just reinstalled Arch to test the new install without AIF and am currently in the process of restoring my configuration files. All works, except setting my own consolefont (Ohsnap) in early boot. I'm doing it exactly like I had done it prior to reinstalling, but the font loads way later (when udev starts running, I think). Before, it would be during the display of e4rat's messages, which is prior to the INIT messaging appearing.

Here's what I am doing:
1. As per the wiki, I added the consolefont hook to /etc/mkinitcpio.conf, the same position as it was on my old install:

HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck consolefont"

2. Consolefont is configured in /etc/vconsole.conf (and works):

KEYMAP=us
FONT=ohsnap7x14b.psfu
FONT_MAP=

I have one idea that might be related. Running mkinitcpio -H consolefont gives the following output:

==> Help for hook 'consolefont':
This hook loads consolefont specified in locale.conf or rc.conf during early
userspace.

==> This hook has runtime scripts:
  -> pre-mount hook

That doesn't list /etc/vconsole.conf, so perhaps it's not read properly? If this is the case, then to what file should I add the desired font? The manpage on locale.conf doesn't have any information about a consolefont (duh) and rc.conf is something outdated.

Last edited by Unia (2012-08-03 22:22:32)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2012-08-03 22:12:19

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Consolefont in early boot

Offline

#3 2012-08-03 22:13:51

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Consolefont in early boot

EDIT: Double post, sorry

Last edited by Unia (2012-08-03 22:15:08)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4 2012-08-03 22:14:54

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Consolefont in early boot

Yes, I had. But I have already found what I was doing wrong. In /etc/vconsole.conf I specified the font like so:

FONT=ohsnap7x14b.psfu

I just tested with CONSOLEFONT in /etc/rc.conf and then mkinitcpio complained about not being able to find the font (it didn't say this before). It turned out I had to specify the font without the .pfsu suffix. Doh!

Now it's working again as it should, so consider this solved. Thanks smile


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#5 2012-08-03 22:16:12

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Consolefont in early boot

Awesome. Marked it [solved] then...

Offline

#6 2012-08-03 22:22:48

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Consolefont in early boot

2ManyDogs wrote:

Awesome. Marked it [solved] then...

Yes, yes, not so fast tongue


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#7 2012-08-03 22:24:00

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Consolefont in early boot

Sorry, too much coffee...

Offline

#8 2012-08-03 22:34:01

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Consolefont in early boot

2ManyDogs wrote:

Sorry, too much coffee...

big_smile


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#9 2012-08-04 07:10:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Consolefont in early boot

2ManyDogs wrote:

Sorry, too much coffee...

Blasphemy! There's no such thing as 'too much coffee'. Off with his head!

Offline

Board footer

Powered by FluxBB