[arch-general] Configure a console font without initrd

Martín Cigorraga msx at archlinux.us
Wed Feb 20 21:28:46 EST 2013


On Wed, Feb 20, 2013 at 12:34 PM, <jugree at lavabit.com> wrote:

> Hello.
>
> I set `KEYMAP' and `FONT' in `/etc/vconsole.conf'.  `sudo
> /usr/lib/systemd/systemd-vconsole-setup' works. But how can I use it
> after `reboot'?
>
> `mkinitcpio.conf' is not an option because I don't use initrd. I tried
> to add the above line to `/etc/rc.local', but it did not work.
>
> Thanks
>
>
Hi,
as you may know /etc/rc.local isn't parsed anymore since the
migration to systemd, you could use this service unit to re-enable it
(or in fact to run any script at boot, change the file at will):

[heybeavis] j:0 /usr/lib/systemd/system $ cat rc-local.service
[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local

[Service]
Type=forking
ExecStart=/etc/rc.local

[Install]
WantedBy=default.target
Alias=rc-local.service

Also don't forget to give /etc/rc.local execution rights.

Now if you would let me and out of curiosity, what are you using
instead initrd?

In the event you decide to go with the initrd again you need to add
"consolefont" (without quotes of course) to /etc/mkinitcpio.conf
and your /etc/vconsole.conf file should look like this:
KEYMAP=us-acentos
FONT=ter-i12n

In this particular case ter-i12n belongs to the Terminus font, the
one I use for both ttys and vtys.


More information about the arch-general mailing list