[arch-general] Configure a console font without initrd
rodrigorivascosta at gmail.com
Thu Feb 21 11:55:05 EST 2013
On Thu, Feb 21, 2013 at 1:02 PM, Jan Steffens <jan.steffens at gmail.com>wrote:
> On Thu, Feb 21, 2013 at 12:45 PM, Rodrigo Rivas
> <rodrigorivascosta at gmail.com> wrote:
> > On Wed, Feb 20, 2013 at 4: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.
> > But independently of using initrd or not, `systemd-vconsole-setup` is run
> > by the service `systemd-vconsole-setup.service`, which in turn is
> > `sysinit.target`. So all should be automatic...
> > Can you show us the output of
> > $ systemctl status systemd-vconsole-setup.service
> > and
> > $ systemctl show systemd-vconsole-setup.service
> > ?
> > Regards
> > --
> > Rodrigo
> If the video driver is loaded after the vconsole has been set up, the
> new console won't inherit the settings. So the only proper solutions
> are either loading the driver in the initrd or building it into the
Oh! I see.
But systemd-modules-load.service is also WantedBy `sysinit.target`. So...
what if you add a line to the systemd-vconsole-setup.service saying
"After=sys-class-graphics-fb0.device" or whatever it is called? In theory,
it should work.
More information about the arch-general