Managing GRUB font on Arch-based Linux distributions

· 1min · Dmitry Scherbakov
Table of Contents

Steps

  1. Make sure that Adobe source code fonts package is installed:
    pacman -S adobe-source-code-pro-fonts
    
  2. Generate new grub font:
    grub-mkfont -s 32 -o /boot/grub/fonts/ascpro.pf2 /usr/share/fonts/adobe-source-code-pro/SourceCodePro-Medium.otf
    
  3. Append grub font option to the grub configuration file and regenerate grub configuration:
    echo 'GRUB_FONT="/boot/grub/fonts/ascpro.pf2"' >> /etc/default/grub
    grub-mkconfig -o /boot/grub/grub.cfg
    
  4. Reboot.