help-grub
[Top][All Lists]
Advanced

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

Re: Choosing grub2 video modes


From: Andrei Borzenkov
Subject: Re: Choosing grub2 video modes
Date: Thu, 11 Jun 2015 07:04:41 +0300

В Wed, 10 Jun 2015 16:10:01 -0400
Alex Regan <address@hidden> пишет:

> Hi,
> 
> I'm confused about how to control the text video mode from grub. I've 
> seen references to GRUB_GFXMODE and gfxmode, but I don't understand how 
> it's set.
> 

gfxmode is interpreted by gfxterm console driver when it starts. If you
are using plain console, it has no effect. To change resolution during
run-time you would probably need to switch console driver to something
else (see terminal_output command) and then back.

> I've tried setting it using "set gfxmode=640x480" in 
> /boot/grub2/grub.cfg and other variations, but they seem to be ignored.
> 

This must be done before output is switched to gfxterm.

> I've tried setting GRUB_GFXMODE=640x480 in /etc/default/grub then 
> recreating grub.cfg, but that also doesn't appear to work.
> 

You need to use GRUB_TERMINAL_OUTPUT=gfxterm for this to have any
effect. Or load gfxterm manually in grub.cfg or at run-time.

> I'd appreciate it if someone could share some examples of how to do it 
> on current versions of fedora.
> 
> I've also tried using 'vbeinfo' while inside grub, but those numbers 
> (0x114, for example) don't seem to have any effect either.
> 
> How can I tell what resolution the console is currently set to?
> 
> Thanks,
> Alex
> 
> 
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]