Re: Configure a console font without initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Feb 21, 2013 at 1:02 PM, Jan Steffens <jan.steffens@xxxxxxxxx>wrote:

> On Thu, Feb 21, 2013 at 12:45 PM, Rodrigo Rivas
> <rodrigorivascosta@xxxxxxxxx> wrote:
> > On Wed, Feb 20, 2013 at 4:34 PM, <jugree@xxxxxxxxxxx> 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
> WantedBy
> > `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
> kernel.
>

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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux