Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)
Posted: Sat Aug 04, 2018 9:10 pm
This morning I got around to enlarging the fonts of the GRUB menu (same method as other non-Debian based distros that I've used), followed by the console font that kicks in after the kernel modules are loaded (KMS). I'll go through each of the two processes below:
1.) This is how you do the GRUB fonts (for those of us that don't use a GUI program to do it for us
):
This one requires you to choose a font that you like (mono fonts are easiest to read). For my 1080p display I choose the DejaVuSansMono20 , here is the command line that creates this font in a GRUB compatible format, in the size that you have chosen & places it in what can be a newly created /boot/grub/fonts directory, though this directory exists already in antiX at least (its a long one line command):
On using the above command in the CLI you will get an error - IGNORE the error. :)
Then we need to open the /etc/default/grub file in our text editor as root (use sudo) & add the following line (or lines, if your memory is as bad as mine):
Save the edited file & then enter the following at the Terminal prompt:
Having done that, if you reboot the GRUB menu will be bigger & so will a shortish portion of the boot process, up until the GPU driver kernel module is loaded (KMS), where you'll go back to the default console font.
__________________________________
2.) Now we can use a second process to enlarge the console font, which has the effect of making the text in the boot process that is shown after GRUB (& after the KMS font size change has kicked in) larger & easier to read on higher res' displays.
This process is quite a bit quicker & simpler than it is on Arch systems (I only learned about this "Debian" way, today - the day I wrote this
):
To resize the font used on the boot messages/console we need to configure the font on tty console with the following command:
Move your way through the requester (it will make sense when you see it) leave all settings as they are but when you get offered the opportunity to change the font, choose a font type, as you need to do that so as to be offered a requester where you can chose the size. On my 1080p res' display I went for the largest size & it is fine, as in it is not too big. You can use trial & error with this one if needs be.
That's it, as simple as that. :D
You have to of course reboot to make it work... :)
1.) This is how you do the GRUB fonts (for those of us that don't use a GUI program to do it for us

This one requires you to choose a font that you like (mono fonts are easiest to read). For my 1080p display I choose the DejaVuSansMono20 , here is the command line that creates this font in a GRUB compatible format, in the size that you have chosen & places it in what can be a newly created /boot/grub/fonts directory, though this directory exists already in antiX at least (its a long one line command):
Code: Select all
sudo grub-mkfont --output=/boot/grub/fonts/DejaVuSansMono20.pf2 \ --size=20 /usr/share/fonts/TTF/dejavu/DejaVuSansMono.ttf
Then we need to open the /etc/default/grub file in our text editor as root (use sudo) & add the following line (or lines, if your memory is as bad as mine):
Code: Select all
##==========================_HANDY_================
# More readable font on high dpi screen, generated with the following
# 2 lines on ONE line, terminal command (ignore the error messages it works!:
# sudo grub-mkfont --output=/boot/grub/fonts/DejaVuSansMono20.pf2 \
# --size=20 /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
##==================================================
GRUB_FONT=/boot/grub/fonts/DejaVuSansMono20.pf2
Code: Select all
sudo update-grub
__________________________________
2.) Now we can use a second process to enlarge the console font, which has the effect of making the text in the boot process that is shown after GRUB (& after the KMS font size change has kicked in) larger & easier to read on higher res' displays.
This process is quite a bit quicker & simpler than it is on Arch systems (I only learned about this "Debian" way, today - the day I wrote this

To resize the font used on the boot messages/console we need to configure the font on tty console with the following command:
Code: Select all
sudo dpkg-reconfigure console-setup
That's it, as simple as that. :D
You have to of course reboot to make it work... :)