Hello there. I’m using Fedora 37 on Surface 7 Pro+. Previously I changed my grub config making it rendering larger fonts in gfx mode. However, it now rendenders small and broken fonts. I tried grub2-mkfont and grub2-mkconfig again and failed.
I’m looking forward to a fix. Thanks in advance.
My grub config which works perfectly before:
[pairman@fedora ~]$ cat /etc/default/grub
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="/boot/vmlinuz*surface*"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-0a7c4fcf-c720-462f-8d34-7c0f5f3a6668 rhgb quiet intremap=nosid"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="true"
#GRUB_SAVEDEFAULT="true"
#GRUB_DISABLE_OS_PROBER="false"
#GRUB_GFXMODE="saved"
export GRUB_COLOR_NORMAL="light-gray/black"
export GRUB_COLOR_HIGHLIGHT="magenta/black"
# SET UP FONT
GRUB_FONT=/boot/grub2/DejaVuSansMono.pf2
GRUB_TERMINAL_OUTPUT="gfxterm"
The command I used to generate grub config:
[pairman@fedora ~]$ sudo grub2-mkfont --output=/boot/grub2/DejaVuSansMono.pf2 --size=24
[sudo] password for pairman:
[pairman@fedora ~]$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
Dnf update history today:
[pairman@fedora ~]$ dnf history info 369 | grep grub
Upgrade grub2-common-1:2.06-63.fc37.noarch @updates
Upgraded grub2-common-1:2.06-60.fc37.noarch @@System
Upgrade grub2-efi-ia32-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-efi-ia32-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-efi-ia32-cdboot-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-efi-ia32-cdboot-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-efi-x64-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-efi-x64-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-efi-x64-cdboot-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-efi-x64-cdboot-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-pc-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-pc-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-pc-modules-1:2.06-63.fc37.noarch @updates
Upgraded grub2-pc-modules-1:2.06-60.fc37.noarch @@System
Upgrade grub2-tools-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-tools-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-tools-efi-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-tools-efi-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-tools-extra-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-tools-extra-1:2.06-60.fc37.x86_64 @@System
Upgrade grub2-tools-minimal-1:2.06-63.fc37.x86_64 @updates
Upgraded grub2-tools-minimal-1:2.06-60.fc37.x86_64 @@System
My grub menu looks like these now: