Difference between revisions of "Make GRUB menu & boot-up/down fonts bigger"

Updated style
imported>Handy
(Updated style)
Line 1: Line 1:
Note: 12-Feb-17: We used to have to, but now we no longer need to,
<languages/>
add consolefonts to the end of the HOOKS= line in our mkinitcpio.conf file.
__TOC__
{{BoxWarning|<translate>Warning</translate>|<translate>
As the collection of all the X.Org Server protocol headers formerly
This page is outdated. If you have checked or updated this page and found the content to be suitable, please remove this notice. 2020-12-06</translate>}}
distributed as separate, standalone packages have been rolled up into
{{BoxInfo|1=<translate>Note</translate>|
Xorgproto: [https://www.phoronix.com/scan.php?page=news_item&px=Xorgproto-Debut-Release] So if you have used this how-to to enlarge your boot up/down
2=<translate>
process fonts, you should edit your /etc/mkinitcpio.conf file & remove
12-Feb-17 : We used to have to, but now we no longer need to, add consolefonts to the end of the HOOKS= line in our mkinitcpio.conf file.
consolefonts from the end of the HOOKS= line.
If you don't make this suggested edit, it won't cause you any problems,
besides seeing an error message saying (roughly) that consolefonts can't
be found, whenever you upgrade your kernel via the terminal.


<br clear="all"/>
As the collection of all the X.Org Server protocol headers formerly
=Introduction=
distributed as separate, standalone packages have been rolled up into
Xorgproto: [https://www.phoronix.com/scan.php?page=news_item&px=Xorgproto-Debut-Release] So if you have used this how-to to enlarge your boot up/down
process fonts, you should edit your /etc/mkinitcpio.conf file & remove
consolefonts from the end of the HOOKS= line.


If you use a high DPI resolution '''&''' you want to more easily read your display during the boot process (both up & down), '''&''' you '''don't''' have an extremely fast booting system (use SSD & the like), then this page will show you how to make both the GRUB menu fonts larger & how to change the console font used in the display of the boot up/down processes. This is all primarily for those users that place some value in being able to see/read the boot up/down displays, when they are live. The how-to endeavors to cater to both SystemD & OpenRC users.
If you don't make this suggested edit, it won't cause you any problems,
besides seeing an error message saying (roughly) that consolefonts can't
be found, whenever you upgrade your kernel via the terminal.
</translate>}}


<br clear="all"/>
{{SectionTemplate|
=What are we going to do here=
1=<translate>Introduction</translate>|
2=<translate>If you use a high DPI resolution '''&''' you want to more easily read your display during the boot process (both up & down), '''&''' you '''don't''' have an extremely fast booting system (use SSD & the like), then this page will show you how to make both the GRUB menu fonts larger & how to change the console font used in the display of the boot up/down processes. This is all primarily for those users that place some value in being able to see/read the boot up/down displays, when they are live. The how-to endeavors to cater to both SystemD & OpenRC users.</translate>
}}


This how-to is really a two in one, as the first part is about enlarging the font used by the GRUB menu & the early phase of the boot process up until the GPU driver loads.
{{SectionTemplate|
1=<translate>What are we going to do here</translate>|
2=<translate>This how-to is really a two in one, as the first part is about enlarging the font used by the GRUB menu & the early phase of the boot process up until the GPU driver loads.


The second part is about first identifying the GPU module to load, & then using the Kernel Mode Setting (KMS) ability of the Linux kernel to instruct it to load modules extremely early in the boot process. Which is what we will do with the GPU module via the /etc/mkinitcpio.conf file. Then finishing off that process by rebuilding the initial ramdisk image.
The second part is about first identifying the GPU module to load, & then using the Kernel Mode Setting (KMS) ability of the Linux kernel to instruct it to load modules extremely early in the boot process. Which is what we will do with the GPU module via the /etc/mkinitcpio.conf file. Then finishing off that process by rebuilding the initial ramdisk image.


After that we need to find where the consolefonts directory is & if need be clone the /usr/share/kbd/consolefonts directory to /usr/share/consolefonts. After that we need to choose a font, though I'll endeavor to make that as quick & painless as possible. Then we need to tell the /etc/conf.d/consolefont file what that font is, save & reboot to a new situation where we are able to actually read the text as it goes by. That's the plan.
After that we need to find where the consolefonts directory is & if need be clone the /usr/share/kbd/consolefonts directory to /usr/share/consolefonts. After that we need to choose a font, though I'll endeavor to make that as quick & painless as possible. Then we need to tell the /etc/conf.d/consolefont file what that font is, save & reboot to a new situation where we are able to actually read the text as it goes by. That's the plan.</translate>
 
}}
<br clear="all"/>
=Give GRUB & the boot process up to the GPU module load a larger font=


{{SectionTemplate|
1=<translate>Give GRUB & the boot process up to the GPU module load a larger font</translate>|
2=<translate>
This one requires you to choose a font that you like (mono fonts are easiest to read), I chose 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 the newly created /boot/grub/fonts directory (its a long command & it is ALL on one line):
This one requires you to choose a font that you like (mono fonts are easiest to read), I chose 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 the newly created /boot/grub/fonts directory (its a long command & it is ALL on one line):


Line 50: Line 56:


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, where you'll go back to the default console font.
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, where you'll go back to the default console font.
</translate>
}}


<br clear="all"/>
{{SectionTemplate|
=Use KMS to load the GPU kernel module early in the boot process=
1=<translate>Use KMS to load the GPU kernel module early in the boot process</translate>|
 
2=<translate>
Use sudo & load /etc/mkinitcpio.conf into your text editor & find the '''MODULES=""''' line very near the top of file. Here you will have to put your GPU module name, the three choices that I can show you here are:
Use sudo & load /etc/mkinitcpio.conf into your text editor & find the '''MODULES=""''' line very near the top of file. Here you will have to put your GPU module name, the three choices that I can show you here are:


Line 95: Line 103:


For Manjaro users that are using multiple kernels, you are going to need to edit multiple mkinitcpio.conf files that are named to suit each of your kernels. I don't have to bother with that on Artix (Arch/OpenRC), for better & worse. Again, your /boot directory will tell you what to do (as shown in the differences in the examples above).
For Manjaro users that are using multiple kernels, you are going to need to edit multiple mkinitcpio.conf files that are named to suit each of your kernels. I don't have to bother with that on Artix (Arch/OpenRC), for better & worse. Again, your /boot directory will tell you what to do (as shown in the differences in the examples above).
</translate>
}}


<br clear="all"/>
{{SectionTemplate|
=Use the /usr/share/consolefonts directory to enlarge your boot up/down font=
1=<translate>Use the /usr/share/consolefonts directory to enlarge your boot up/down font</translate>|
 
2=
Note: I look forward to cleaning up this section.
{{note|<translate>I look forward to cleaning up this section.</translate>}}
 
<translate>On Artix, I had to copy the /usr/share/kbd/consolefonts/ directory into /usr/share/consolefonts . Whether I could have used the /usr/share/kbd/consolefonts directory in place or not I don't know (I didn't try). The /etc/conf.d/consolefont file uses the /usr/share/consolefonts path, so I made one.
On Artix, I had to copy the /usr/share/kbd/consolefonts/ directory into /usr/share/consolefonts . Whether I could have used the /usr/share/kbd/consolefonts directory in place or not I don't know (I didn't try). The /etc/conf.d/consolefont file uses the /usr/share/consolefonts path, so I made one.


So the first thing that you have to do (before I find out from someone in the Manjaro forum where the consolefonts directory exists) is see whether you have to clone the directory from /usr/share/kbd/ to /usr/share/ or not. After that is sorted, then you need to choose a font. You won't like doing that. Here is a link to an old page (far fewer suitable fonts & its still too many): [https://alexandre.deverteuil.net/pages/consolefonts/]
So the first thing that you have to do (before I find out from someone in the Manjaro forum where the consolefonts directory exists) is see whether you have to clone the directory from /usr/share/kbd/ to /usr/share/ or not. After that is sorted, then you need to choose a font. You won't like doing that. Here is a link to an old page (far fewer suitable fonts & its still too many): [https://alexandre.deverteuil.net/pages/consolefonts/]
Line 126: Line 135:


  This page is still a work in progress & will be polished up as soon
  This page is still a work in progress & will be polished up as soon
  as I'm given the info' that I need via the Manjaro forum. ;)
  as I'm given the info' that I need via the Manjaro forum. ;)</translate>
}}


<br clear="all"/>
[[Category:Contents Page{{#translation:}}]]
=Support=
[[Category:Outdated pages{{#translation:}}]]
Following is a link to this page's forum counterpart where you
can post any related feedback: [https://forum.manjaro.org/t/wiki-make-grub-menu-boot-up-down-fonts-bigger/38931]
<br clear="all"/>
[[Category:Contents Page]]