Page 1 of 1

Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sat Aug 04, 2018 9:10 pm
by handy
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):

Code: Select all

 sudo grub-mkfont --output=/boot/grub/fonts/DejaVuSansMono20.pf2 \ --size=20 /usr/share/fonts/TTF/dejavu/DejaVuSansMono.ttf
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):

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
Save the edited file & then enter the following at the Terminal prompt:

Code: Select all

 sudo update-grub
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:

Code: Select all

sudo dpkg-reconfigure console-setup
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... :)

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sat Aug 04, 2018 9:25 pm
by Jerry3904
Thanks, nice how-to

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 3:21 am
by asqwerth
Nice, handy.

I always wondered about the font change partway through the boot up.

Your tutorial explained why that happened very well.

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 7:48 am
by handy
Thanks guys. :)

I wasn't sure whether my post was just a repeat of stuff that was already here or not, so I appreciate the feedback. It is unfortunately too easy to not be able to find info' in a forum (especially as the amount of content it holds keeps on growing). That is why I like wikis. It is just a pain that you need to get enough people to use the things instead of just posting the same old questions over & over again in forums. Also, getting people to contribute content, & then there's the maintenance over time... as time goes by things go out of date & people move on to other distros/OS's...

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 8:04 am
by Jerry3904
I intend to move this to the Wiki, just wanted to see user feedback first.

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 9:17 am
by handy
Cool. Jerry I'll post some other stuff that may be of use for the wiki, see how it goes. No ego in it, use whatever you think is suitable. ;)

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 9:58 am
by Jerry3904
That would really be awesome, it gets lonely in there...

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 3:44 pm
by Richard
I tried the 2nd part, config the console font, which worked as expected.
Thanks for another how-to.

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Aug 05, 2018 8:07 pm
by handy
Jerry3904 wrote: Sun Aug 05, 2018 9:58 am That would really be awesome, it gets lonely in there...
I understand that one, been in that lonely place on the Manjaro wiki myself. Lately there looks to be a bit more going on over there than there had been, but after ~ 5 years or so contributing to that wiki I've moved on (have been for a while now). I of course wish them the best of luck with it & do still participate in their forum in a very minor way.

@Richard, glad to hear it worked for you. :)

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Sun Jul 09, 2023 8:04 pm
by markwiering
Hello there,

The font size of GRUB is fine for me; I followed your second step instead.
I ran

Code: Select all

sudo dpkg-reconfigure console-setup
and then I press Next until I could modify the font size.
Here, the largest I can go with is 16x32, which is already a very small font. Why is this the largest font I can choose? :confused:

Isn't there any other way to increase the font of the tty terminal screen? :confused:

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Mon Sep 11, 2023 7:06 pm
by handy
I'm a long way from my research on all of this stuff - quite a few years have gone by... ;)

I think you are going to have to do the first part of the how-to, which is choose the font that you want to use that has the size that you want to use & then convert the font into the GRUB compatible format.

Do all of the first post & you should be good. :)

[edit:] Just noticed how old this post is. Sorry about that.

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 2:58 am
by BitterTruth
Reviving an old thread but I just saw this and wanted to quickly thank you. I want to use your tutorial to go the opposite direction; make my fonts smaller. I mainly use smaller laptops and the bigger fonts look hideous, plus I'm seeing if I can try and replicate the absolutely gorgeous, crisp, clean startup I had on MX15

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 2:00 pm
by Eadwine Rose
You're lucky the thread is still alive, older threads like this can die.

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 2:07 pm
by BitterTruth
It's a shame. There's that saying: "All those moments will be lost in time, like tears in rain... "

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 2:12 pm
by Eadwine Rose
Yeahhhh.. one could also repost a good tip, after 5 years that would be ok. :)

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 2:37 pm
by CharlesV
BitterTruth wrote: Tue Sep 12, 2023 2:58 am Reviving an old thread but I just saw this and wanted to quickly thank you. I want to use your tutorial to go the opposite direction; make my fonts smaller. I mainly use smaller laptops and the bigger fonts look hideous, plus I'm seeing if I can try and replicate the absolutely gorgeous, crisp, clean startup I had on MX15
Having thought MX17 was one of the best versions... ( replaced by the AMAZING mx19 !... and then once again improved by mx21 and now MX23 !) .. I HAD to download and check out mx15 after your comment.

And I was SHOCKED by how fast and crisp it was! You are spot on about how it was!!

And NOW... I must have rounded corners and the speed demon in me says I have to figure out how to get THAT performance on 21 or 23. ( I am still hanging onto 21 as I personally think I like it better.. that will change over time I am sure, but for now... :- )

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 3:34 pm
by BitterTruth
Here's a link to my oldest post:
viewtopic.php?t=60577

It's about my move from MX15 to MX19.2 and how much I miss the clean boot and how irritated I am by the "Grub loading .... Welcome to Grub!'

I managed to solve that issue but here I am so many years later having the same withdrawal symptoms thinking about moving to MX23

Re: Enlarge the font sizes of the boot process - both GRUB & after GRUB (tty)

Posted: Tue Sep 12, 2023 7:45 pm
by CharlesV
Interesting.. thank you! I have saved this under "The Silent Grub" and will be revisiting it as soon as I have time.

I have decided I am sticking with mx21 for a bit, and going to gain more knowledge about systemd ... kicking or screaming.. I see handwriting on the wall and am going to be proactive on this one.