On Fri, 16 Jun 2023, Chris Adams wrote:

Once upon a time, Stephen Morris <samor...@netspace.net.au> said:
    I was under the impression that for UEFI boots Fedora loaded
/boot/efi/EFI/fedora/grub.cfg which loads /boot/grub2/grub.cfg, so
when you run grub2-mkconfig you need to specify grub2-mkconfig -o
/boot/grub2/grub.cfg, as I do, to get you font changes into the grub
boot menus.

/etc/grub2.cfg (and the legacy /etc/grub2-efi.cfg) are symlinks to the
right place... wherever that place may be.  So it's generally listed as
"grub2-mkconfig -o /etc/grub2.cfg", because that should just do the
right thing.

Yes, from what I read, at one time both files needed to be updated, now with the symlinks, only one file (/etc/grub2.cfg).

As for a resolution, I found this webpage to be somewhat helpful:
https://martin.rpdev.net/2017/01/21/setting-console-font-size-on-hidpi-screens-in-fedora.html


I fiddled with some fonts to be placed into /boot/grub2/fonts to see which ones worked (TTY fonts in /usr/share/fonts do) and which ones don't (/usr/lib/kbd/consolefonts don't).

The one that I'm using now is a result of the following command:
grub2-mkfont -s 32 /usr/share/fonts/redhat/RedHatMono-Medium.ttf -o 
/boot/grub2/fonts/RedHatMono-Medium32.pf2

I made some changes to /etc/default/grub, and here is what my current version looks like:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
GRUB_CMDLINE_LINUX="rhgb quiet"
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_FONT="/boot/grub2/fonts/RedHatMono-Medium32.pf2"


Please note the last two lines; one specifies the path to the font; the other is changed from
GRUB_TERMINAL_OUTPUT="console"
to
GRUB_TERMINAL_OUTPUT="gfxterm"

However, with this setup, there is a mismatch between what shows up initially on console (the kernel choices) and the scrolling of the process startup (that is, if you hit <esc> to watch it quickly go by). W/r/t the latter, the font only becomes readable once systemd-vconsole-setup.service seems to be started.

Aesthetically, this isn't optimal, but it advances in resolving the issue for me.

Thank you,

Max
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to