Re: Configure a console font without initrd

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



On Wed, Feb 20, 2013 at 12: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.
>
> 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.


[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