find boot console resolution in centos server 7

General support questions
Post Reply
harishpathangay
Posts: 36
Joined: 2017/03/14 10:01:39

find boot console resolution in centos server 7

Post by harishpathangay » 2021/10/13 14:59:35

hi,
i have booted with kernel parameter vga=844 , which is over riding the tty or console resolution in Centos / RHEL 7. i can see the change after booting.
the question is how to get this value after booting from the lspci or lshw commands or similar commands.
I tried these commands but still not able to get the resolution. There is no X server, it is boot terminal or console device that i am talking about.
Please let me know how to figure this out.
cat/proc/cmdline gives me the boot parameters but i want to have an output like VGA Display with loaded drivers and resolution. The resolution is missing in the output. i get refresh rate, memory info etc...
kindly requesting your help.
Thanks,
Harish P

pjsr2
Posts: 591
Joined: 2014/03/27 20:11:07

Re: find boot console resolution in centos server 7

Post by pjsr2 » 2021/10/15 09:14:13

Does

Code: Select all

hwinfo --monitor
show that information? You may need to yum install hwinfo first.

Post Reply

Return to “CentOS 7 - General Support”