Re: grub.cfg and kernel video resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/24/19 1:47 PM, stan via users wrote:
On Tue, 24 Dec 2019 10:32:48 -0500
Robert McBroom via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

With the deprecating of the "vga=791" specification, what is the
method of passing the video resolution to the kernel in a text mode
boot?  The setting in grub.cfg gives the grub menu resolution but the
kernel drops back to 640x480 when it starts unless the vga
specification is added to the command line.
I think you want to look at
man 5 console-setup

I don't specify any size in /etc/vconsole.conf or
/etc/default/console-setup though, and my F31 comes up using the max
resolution for my monitor in multiuser.  Maybe you have some lingering
setup information on your system?

My /etc/default/console-setup:

# CONFIGURATION FILE FOR SETUPCON

# Consult the console-setup(5) manual page.

ACTIVE_CONSOLES=guess

CHARMAP=guess

CODESET=guess
FONTFACE=TerminusBold
FONTSIZE=16

VIDEOMODE=

# The following is an example how to use a braille font
# FONT='lat9w-08.psf.gz brl-8x8.psf'
_______________________________________________

$ man 5 console-setup
No manual entry for console-setup in section 5

never encountered sections to man before

Google leads to entries for Debian variants nothing for Fedora on console-setup

vconsole.conf  entries are

FONT=True
KEYMAP=us

To make sure we are talking about the same thing, I'm looking at the log of the boot process.  After boot finishes and the login prompt comes up the system has accessed the video drivers and comes to the monitor resolution.

My understanding was that the entries in /etc/default/grub

GRUB_GFXMODE=1280x1024x32
GRUB_GFXPAYLOAD_LINUX=keep

would set the resolution, but I find I need the kernel command line as follows
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.luks=0 LANG=en_US.UTF-8 vga=791 "


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux