Ask Your Question

How to increase boot font size for Fedora 17 grub2

asked 2012-06-02 10:57:17 -0500

lsatenstein gravatar image

updated 2014-09-28 13:00:21 -0500

mether gravatar image

question above is same as topic here.

How to increase boot font size for Fedora 17 grub2

In the grub.cfg, what line do I change? I know the docs say to not modify grub.cfg however, the file being very small, I first make a backup. I have also noted that with every new kernel release, the existing grub.cfg is preserved, and grub2 only prepends the new information in front.

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted

answered 2012-06-02 14:02:45 -0500

ztank1013 gravatar image

updated 2014-01-26 13:21:59 -0500

You will need to add a line like the following in /etc/sysconfig/grub file


But before doing that you will have to create your /boot/grub2/fonts/YourCustomFont.pcf file with info about font (type and size).

To create a PF2 font, use the grub2-mkfont utility:

sudo grub2-mkfont /usr/share/fonts/dejavu/DejaVuSans.ttf --size=22 --output /boot/grub2/fonts/MyGrub2CustomFont.pcf

finally rebuild the grub.cfg file using the grub2-mkconfig utility

sudo grub2-mkconfig -o /boot/grub2/grub.cfg
edit flag offensive delete link more

answered 2014-10-15 17:47:59 -0500

dnozay gravatar image

Not directly the question you asked, but you may also try to simply change the resolution on boot.

e.g. /boot/grub2/grub.cfg

# search for the kernel command line.
linux resolution=1024x768
edit flag offensive delete link more

answered 2012-06-11 03:19:21 -0500

Thanks for the solution, however you need to put quotes around the grub entry. Like this: GRUB_FONT=" /boot/grub2/fonts/MyGrub2CustomFont.pcf"

edit flag offensive delete link more



I have edited the answer above to reflect this suggestion. Your comment would be better placed as a comment instead of an entirely new answer.

randomuser gravatar imagerandomuser ( 2014-01-26 13:23:39 -0500 )edit

Question Tools


Asked: 2012-06-02 10:57:17 -0500

Seen: 5,910 times

Last updated: Oct 15 '14