LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-05-2020, 06:05 AM   #1
g4njawizard
Member
 
Registered: Feb 2020
Posts: 41

Rep: Reputation: Disabled
Question grub console - asking for videoinfo or vbeinfo crashes grub


Hello,

I wanted to edit the resolution of my grub menu, because it stucks at low resolution and u can barely see the kernel versions. As I red online, you can only set the Resolution, if its supported by grub and you can only find that out, if you enter the real grub.
Unfortunately every time I enter videoinfo or vbeinfo, the screen turns black for a couple of seconds and then returns back to the console. Both commands dont provide any output and I cant do anything from there except rebooting with ctrl+alt+del. The Default resolution from grub seems to be 640x480. I dont want to set another Resolution, if I dont know if its supported by grub.
The Version is GNU GRUB 2.04

I checked the BIOS Settings on my Lenovo ThinkPad, but they seem ok. "BIOS GRAPHICS Memory= 512" Boot= Legacy only and CSM on.

Thanks Forward for any help

edit: I played a bit around and changed the GRUB_GFXMODE to 1920:1080.
I've set the GRUB_CMDLINE_LINUX_DEFAULT=Video=1920x1080.
These Settings seem to affect only the Linux bootlog and Luks Password window.

Last edited by g4njawizard; 05-05-2020 at 07:07 AM.
 
Old 05-06-2020, 08:35 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
If you also set GRUB_GFXPAYLOAD_LINUX=keep, the GRUB_GFXMODE setting will be used for Linux as well.
 
Old 05-07-2020, 01:29 AM   #3
g4njawizard
Member
 
Registered: Feb 2020
Posts: 41

Original Poster
Rep: Reputation: Disabled
I found that out already, but it doesn't seem to affect the Grub Menu. My config to show you what I've already done:

Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=4
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="video=1920x1080 splash quiet ipv6.disable=1"
GRUB_CMDLINE_LINUX="mds=full,nosmt tsx=on tsx_async_abort=full,nosmt"


# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1920x1080
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Of course I didn't forget to update-grub. I broke grub so hard by playing around, that I had to reinstall my Machine, but I wanted to renew it anyway ...
But again after reinstalling on fresh cleaned disk, I receive the same results. The only setting that is taking effect is the default kernel and the timeout. The resolution stays the same. And I have to mention, that I dont use UEFI. I only have Linux on my Notebook installed with Legacy Boot Order.

Even a Live-USB is able to get a higher resolution in the boot menu

Last edited by g4njawizard; 05-07-2020 at 01:32 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
asking CPU temperature by console? alek66 Solaris / OpenSolaris 2 11-09-2007 01:07 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Konqueror crashes, SuseWatcher crashes!!! bruno buys Linux - Newbie 9 10-07-2003 10:44 AM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration