Re: [Partially Solved] Re: GRUB Issue? Console Fonts and messages?
On 19/6/23 10:10, Wolfgang Pfeiffer wrote: On Sat, Jun 17, 2023 at 12:56:54PM -0400, Max Pyziur wrote: I made some changes to /etc/default/grub, and here is what my current version looks like: GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_CMDLINE_LINUX="rhgb quiet" This last line seems to be more or less switching off boot messages. You sure you want that? See https://developer.ibm.com/tutorials/l-lpic1-101-2/ " ... erase the words 'quiet', then 'rhgb'. This will stop the Red Hat Graphical Boot screen that fedora normally display during boot and also stop suppressing many of the messages that are normally generated." GRUB_TERMINAL_OUTPUT="gfxterm" gfxterm: does that result in small fonts boot messages? Upstream disabled gfxterm when resolving a security issue in grub. The resolvers of the security issue said they were disabling it, and if the grub maintainers wanted it enabled they could do it themselves. I haven't checked recently if it has been enabled again. regards, Steve GRUB_FONT="/boot/grub2/fonts/RedHatMono-Medium32.pf2" I'd remove the line above alltogether in the boot command line and see what happens .. more on that later .. Please note the last two lines; one specifies the path to the font; the other is changed from GRUB_TERMINAL_OUTPUT="console" As you remember the value in the last line above is what I have in my grub file, and not 'gfxterm'. I suspect with your current setup you're making things more complicated than necessary. You already wrote that you have now readable fonts on the console on a running system - so maybe turning on verbose boot messages by removing "rghb quiet" plus disabling graphical boot by ordering "GRUB_TERMINAL_OUTPUT="console"" will help giving you decent readable boot messages. And I suspect that without setting up specific fonts in grub might trigger it to read '/etc/vconsole.conf' ... The IBM page above seems to instruct how to change boot parameters for the current boot only: "When you see the GRUB2 menu, you can edit the entry that you want to modify by selecting it and then pressing e." and thus - I think - not change your standard boot setup for the following bootups ... So this approach seems to give a nice environment to test boot parameters before writing them down permanently into grub files ... Good luck! Wolfgang ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue OpenPGP_0x594338B1DE179AB2.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: [Partially Solved] Re: GRUB Issue? Console Fonts and messages?
On Sat, Jun 17, 2023 at 12:56:54PM -0400, Max Pyziur wrote: I made some changes to /etc/default/grub, and here is what my current version looks like: GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_CMDLINE_LINUX="rhgb quiet" This last line seems to be more or less switching off boot messages. You sure you want that? See https://developer.ibm.com/tutorials/l-lpic1-101-2/ " ... erase the words 'quiet', then 'rhgb'. This will stop the Red Hat Graphical Boot screen that fedora normally display during boot and also stop suppressing many of the messages that are normally generated." GRUB_TERMINAL_OUTPUT="gfxterm" gfxterm: does that result in small fonts boot messages? GRUB_FONT="/boot/grub2/fonts/RedHatMono-Medium32.pf2" I'd remove the line above alltogether in the boot command line and see what happens .. more on that later .. Please note the last two lines; one specifies the path to the font; the other is changed from GRUB_TERMINAL_OUTPUT="console" As you remember the value in the last line above is what I have in my grub file, and not 'gfxterm'. I suspect with your current setup you're making things more complicated than necessary. You already wrote that you have now readable fonts on the console on a running system - so maybe turning on verbose boot messages by removing "rghb quiet" plus disabling graphical boot by ordering "GRUB_TERMINAL_OUTPUT="console"" will help giving you decent readable boot messages. And I suspect that without setting up specific fonts in grub might trigger it to read '/etc/vconsole.conf' ... The IBM page above seems to instruct how to change boot parameters for the current boot only: "When you see the GRUB2 menu, you can edit the entry that you want to modify by selecting it and then pressing e." and thus - I think - not change your standard boot setup for the following bootups ... So this approach seems to give a nice environment to test boot parameters before writing them down permanently into grub files ... Good luck! Wolfgang ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Partially Solved] Re: GRUB Issue? Console Fonts and messages?
On Fri, 16 Jun 2023, Chris Adams wrote: Once upon a time, Stephen Morris said: I was under the impression that for UEFI boots Fedora loaded /boot/efi/EFI/fedora/grub.cfg which loads /boot/grub2/grub.cfg, so when you run grub2-mkconfig you need to specify grub2-mkconfig -o /boot/grub2/grub.cfg, as I do, to get you font changes into the grub boot menus. /etc/grub2.cfg (and the legacy /etc/grub2-efi.cfg) are symlinks to the right place... wherever that place may be. So it's generally listed as "grub2-mkconfig -o /etc/grub2.cfg", because that should just do the right thing. Yes, from what I read, at one time both files needed to be updated, now with the symlinks, only one file (/etc/grub2.cfg). As for a resolution, I found this webpage to be somewhat helpful: https://martin.rpdev.net/2017/01/21/setting-console-font-size-on-hidpi-screens-in-fedora.html I fiddled with some fonts to be placed into /boot/grub2/fonts to see which ones worked (TTY fonts in /usr/share/fonts do) and which ones don't (/usr/lib/kbd/consolefonts don't). The one that I'm using now is a result of the following command: grub2-mkfont -s 32 /usr/share/fonts/redhat/RedHatMono-Medium.ttf -o /boot/grub2/fonts/RedHatMono-Medium32.pf2 I made some changes to /etc/default/grub, and here is what my current version looks like: GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true GRUB_CMDLINE_LINUX="rhgb quiet" GRUB_TERMINAL_OUTPUT="gfxterm" GRUB_FONT="/boot/grub2/fonts/RedHatMono-Medium32.pf2" Please note the last two lines; one specifies the path to the font; the other is changed from GRUB_TERMINAL_OUTPUT="console" to GRUB_TERMINAL_OUTPUT="gfxterm" However, with this setup, there is a mismatch between what shows up initially on console (the kernel choices) and the scrolling of the process startup (that is, if you hit to watch it quickly go by). W/r/t the latter, the font only becomes readable once systemd-vconsole-setup.service seems to be started. Aesthetically, this isn't optimal, but it advances in resolving the issue for me. Thank you, Max___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
Once upon a time, Stephen Morris said: > I was under the impression that for UEFI boots Fedora loaded > /boot/efi/EFI/fedora/grub.cfg which loads /boot/grub2/grub.cfg, so > when you run grub2-mkconfig you need to specify grub2-mkconfig -o > /boot/grub2/grub.cfg, as I do, to get you font changes into the grub > boot menus. /etc/grub2.cfg (and the legacy /etc/grub2-efi.cfg) are symlinks to the right place... wherever that place may be. So it's generally listed as "grub2-mkconfig -o /etc/grub2.cfg", because that should just do the right thing. -- Chris Adams ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
On 17/6/23 09:56, Max Pyziur wrote: On Wed, 14 Jun 2023, Wolfgang Pfeiffer wrote: [deleteded for the sake of brevity] If not: It's not clear to me: Are the console fonts still too small after your change in /etc/vconsole.conf - assuming you rebooted your computer - or do you see no boot messages at all, when the system starts? Just in case they're still to small, here's my /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-6ec3f3ab-c5d1-4e4a-b263-c375daf64c11 radeon.si_support=0 amdgpu.si_support=1" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true Please note the line GRUB_TERMINAL_OUTPUT="console" I'd guess with these settings together with the previously mentioned vconsole.conf the first lines of the boot messages are still small, but after a second or two after booting the system the fonts on the lines following are becoming larger. Also info -f grub2 -n 'Simple configuration' for the GRUB_TERMINAL_OUTPUT="console" line. Plus: https://fedoraproject.org/wiki/GRUB_2#Updating_the_GRUB_configuration_file Good luck! Wolfgang Thank you for your advice. I tried modifying /etc/default/grub. I changed the line reading: GRUB_CMDLINE_LINUX="rhgb quiet" to GRUB_CMDLINE_LINUX="SYSFONT=ter-m32n LANG=en_US.UTF-8" I also tried several variants including: GRUB_CMDLINE_LINUX="SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8" GRUB_CMDLINE_LINUX="SYSFONT=latarcyrheb-sun32 LANG=en_US.UTF-8" In each instance afterwords, I ran: grub2-mkconfig -o /etc/grub2.cfg Hi Max, I was under the impression that for UEFI boots Fedora loaded /boot/efi/EFI/fedora/grub.cfg which loads /boot/grub2/grub.cfg, so when you run grub2-mkconfig you need to specify grub2-mkconfig -o /boot/grub2/grub.cfg, as I do, to get you font changes into the grub boot menus. regards, Steve and then rebooted. In no instance were the appearance of the fonts changed in the bootup menu (the one where there is a selection of kernels from which to boot). They continued to be teeny and illegible (at least, to me). Thoughts? Much thanks, Max p.s. the machine is a Dell XPS 13 9380 2019 vintage. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue OpenPGP_0x594338B1DE179AB2.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
On Wed, 14 Jun 2023, Wolfgang Pfeiffer wrote: [deleteded for the sake of brevity] If not: It's not clear to me: Are the console fonts still too small after your change in /etc/vconsole.conf - assuming you rebooted your computer - or do you see no boot messages at all, when the system starts? Just in case they're still to small, here's my /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-6ec3f3ab-c5d1-4e4a-b263-c375daf64c11 radeon.si_support=0 amdgpu.si_support=1" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true Please note the line GRUB_TERMINAL_OUTPUT="console" I'd guess with these settings together with the previously mentioned vconsole.conf the first lines of the boot messages are still small, but after a second or two after booting the system the fonts on the lines following are becoming larger. Also info -f grub2 -n 'Simple configuration' for the GRUB_TERMINAL_OUTPUT="console" line. Plus: https://fedoraproject.org/wiki/GRUB_2#Updating_the_GRUB_configuration_file Good luck! Wolfgang Thank you for your advice. I tried modifying /etc/default/grub. I changed the line reading: GRUB_CMDLINE_LINUX="rhgb quiet" to GRUB_CMDLINE_LINUX="SYSFONT=ter-m32n LANG=en_US.UTF-8" I also tried several variants including: GRUB_CMDLINE_LINUX="SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8" GRUB_CMDLINE_LINUX="SYSFONT=latarcyrheb-sun32 LANG=en_US.UTF-8" In each instance afterwords, I ran: grub2-mkconfig -o /etc/grub2.cfg and then rebooted. In no instance were the appearance of the fonts changed in the bootup menu (the one where there is a selection of kernels from which to boot). They continued to be teeny and illegible (at least, to me). Thoughts? Much thanks, Max p.s. the machine is a Dell XPS 13 9380 2019 vintage. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
On Tue, Jun 13, 2023 at 09:20:30AM -0400, Max Pyziur wrote: On Mon, 12 Jun 2023, Wolfgang Pfeiffer wrote: On Fri, Jun 09, 2023 at 10:25:19PM -0400, Max Pyziur wrote: In my transition from a Dell XPS 13 L322X (2013 vintage) to a Dell XPS 13 9380 (2019 vintage), console fonts at bootup are incredibly small. Is there a way of controlling that? For a German keyboard I have this in /etc/vconsole.conf : KEYMAP="de" FONT="ter-924n" AFAIKS with settings in this file I changed fonts both for the boot-up messages and the tty's after boot. [ ... ] Thank you; this is very helpful. Now, when I use ctrl-alt-F2 to login through console, the screen font is very readable. However, on bootup, when I want to access the kernel menu, or view the scrolling messages as the system and processes are started, I assume that I have to alter grub configurations, yes? In case you already solved it all with stan's suggestion, I wouldn't go any further - I tend to no not trying to change a running system .. ;) If not: It's not clear to me: Are the console fonts still too small after your change in /etc/vconsole.conf - assuming you rebooted your computer - or do you see no boot messages at all, when the system starts? Just in case they're still to small, here's my /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-6ec3f3ab-c5d1-4e4a-b263-c375daf64c11 radeon.si_support=0 amdgpu.si_support=1" GRUB_DISABLE_RECOVERY="true" GRUB_ENABLE_BLSCFG=true Please note the line GRUB_TERMINAL_OUTPUT="console" I'd guess with these settings together with the previously mentioned vconsole.conf the first lines of the boot messages are still small, but after a second or two after booting the system the fonts on the lines following are becoming larger. Also info -f grub2 -n 'Simple configuration' for the GRUB_TERMINAL_OUTPUT="console" line. Plus: https://fedoraproject.org/wiki/GRUB_2#Updating_the_GRUB_configuration_file Good luck! Wolfgang ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
On Tue, 13 Jun 2023 09:20:30 -0400 (EDT) Max Pyziur wrote: > However, on bootup, when I want to access the kernel menu, or view > the scrolling messages as the system and processes are started, I > assume that I have to alter grub configurations, yes? > > I've reviewed some webpages on grub configurations, but it's easily > been a generation since the days of FC2 (or FC3) when I adjusted grub. > > Any guidence here would be helpful In the file /etc/default/grub you can set the font on the kernel command line. There is probably some way to set it elsewhere (dracut?, systemd?), but this works. GRUB_CMDLINE_LINUX="SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8" ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
On Mon, 12 Jun 2023, Wolfgang Pfeiffer wrote: On Fri, Jun 09, 2023 at 10:25:19PM -0400, Max Pyziur wrote: In my transition from a Dell XPS 13 L322X (2013 vintage) to a Dell XPS 13 9380 (2019 vintage), console fonts at bootup are incredibly small. Is there a way of controlling that? For a German keyboard I have this in /etc/vconsole.conf : KEYMAP="de" FONT="ter-924n" AFAIKS with settings in this file I changed fonts both for the boot-up messages and the tty's after boot. Note: From man systemd-vconsole-setup.service: "Execute systemctl restart systemd-vconsole-setup.service in order to apply any manual changes made to /etc/vconsole.conf" I'd try to test fonts on a tty to see what they look like before changing them via /etc/vconsole.conf So something like sudo setfont -v ter-924n -C /dev/tty6 might help for this More fonts to try maybe in /lib/kbd/consolefonts man setfont Thank you; this is very helpful. Now, when I use ctrl-alt-F2 to login through console, the screen font is very readable. However, on bootup, when I want to access the kernel menu, or view the scrolling messages as the system and processes are started, I assume that I have to alter grub configurations, yes? I've reviewed some webpages on grub configurations, but it's easily been a generation since the days of FC2 (or FC3) when I adjusted grub. Any guidence here would be helpful Thank you again, Max Wolfgang ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: GRUB Issue? Console Fonts and messages?
On Fri, Jun 09, 2023 at 10:25:19PM -0400, Max Pyziur wrote: In my transition from a Dell XPS 13 L322X (2013 vintage) to a Dell XPS 13 9380 (2019 vintage), console fonts at bootup are incredibly small. Is there a way of controlling that? For a German keyboard I have this in /etc/vconsole.conf : KEYMAP="de" FONT="ter-924n" AFAIKS with settings in this file I changed fonts both for the boot-up messages and the tty's after boot. Note: From man systemd-vconsole-setup.service: "Execute systemctl restart systemd-vconsole-setup.service in order to apply any manual changes made to /etc/vconsole.conf" I'd try to test fonts on a tty to see what they look like before changing them via /etc/vconsole.conf So something like sudo setfont -v ter-924n -C /dev/tty6 might help for this More fonts to try maybe in /lib/kbd/consolefonts man setfont Wolfgang ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
GRUB Issue? Console Fonts and messages?
Greetings, In my transition from a Dell XPS 13 L322X (2013 vintage) to a Dell XPS 13 9380 (2019 vintage), console fonts at bootup are incredibly small. Is there a way of controlling that? Also, there is an odd little flashing message "Welcome to GRUB" at startup. Is there any way of getting rid of that and going to the list of available kernels? Thank you, Max ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue