HKL's Notes
Cares C.V. · Linkedin · Github


解决fedora启动时显示cannot open font file true的办法

By , on , tagged: 🏷️Linux  🏷️Opensource 

To get rid of “cannot open font file true”

打开/etc/default/grub 文件 (# nano /etc/default/grub)

GRUB_CMDLINE_LINUX=行中的SYSFONT=True 改为 SYSFONT=latarcyrheb-sun16

保存退出;

运行命令:

grub2-mkconfig -o /boot/grub2/grub.cfg

然后reboot (# reboot)

问题即可解决。

Just manually change True every place it is used as a font name in the following 3 files:

/boot/grub2/grub.cfg

/etc/sysconfig/i18n

/etc/default/grub

Typically it was latarcyrheb-sun16 on most systems.

You could use latarcyrheb-sun32 if you want a bigger font for boot messagesand in console screens.

Then,

grub2-mkconfig -o /boot/grub2/grub.cfg


Articles are licensed under CC BY-NC 4.0