Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to reduce the size of the font of GRUB boot loader. Is it possible and so how?

share|improve this question

After some research based on the answers of @fpmurphy and @hesse, also based on a comprehensive thread at ubuntuforums and on Fedora Wiki, I found out how to reduce the font size of GRUB2.

  1. Choose a font, in this example I chose DejaVuSansMono.ttf
  2. Convert the font in a format GRUB understands:
    sudo grub2-mkfont -s 14 -o /boot/grub2/DejaVuSansMono.pf2 /usr/share/fonts/dejavu/DejaVuSansMono.ttf
  3. Edit the /etc/default/grub file adding a line:
  4. Update GRUB configuration with:
    sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  5. reboot.

The resolution of GRUB display may also affect the size of the font, more on resolution etc. on the ubuntuforums link above.

share|improve this answer
That's cool. With 36px size, the bootloader finally looks good on a high-res display. Works also with grub (grub-mkfont) instead of grub2. – BurninLeo Sep 16 '14 at 17:38
Thanks! grub-mkfont and grub-mkconfig in my case (though I do have grub2). – Ripounet Apr 1 '15 at 21:22

Yes, both the font and the font size can be customised. See the grub-mkfont utility. Bitmap (.pf2) and Truetype (.ttf) fonts are supported.

Just do an Internet search on grub-mkfont and you will quickly come across a number of examples of the necessary steps.

share|improve this answer
Nice indeed I found this documentation but somehow I need to update-grub, which command I don't seem to have on Fedora 16 (?). – Benjamin Feb 15 '12 at 12:49
OK, I see elsewhere the equivalent of update-grub is grub2-mkconfig -o /boot/grub2/grub.cfg. – Benjamin Feb 15 '12 at 12:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.