Bug 9177 - graphic resolution set in kernel command for grub legacy but not grub2
Summary: graphic resolution set in kernel command for grub legacy but not grub2
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 416
  Show dependency treegraph
 
Reported: 2013-02-25 01:00 CET by Barry Jackson
Modified: 2013-03-02 11:37 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Barry Jackson 2013-02-25 01:00:57 CET
Some drakx wizardry sets the graphic mode with vga=xxx in menu.lst for grub legacy, however this needs to be integrated into grub2 by setting the value in /etc/default/grub in the line which currently defaults to:
GRUB_CMDLINE_LINUX_DEFAULT="splash"
e.g.
GRUB_CMDLINE_LINUX_DEFAULT="splash vga=788"

In a VM plymouth fails becase this value is missing, however on my real system it's not needed.

Any other special kernel command line options (like nokmsboot) also need to be integrated into the grub default configuration in the same way when required.
Comment 1 Manuel Hiebel 2013-02-26 21:34:18 CET
for vga, would this be not better if using it with gfxmode or gfxpayload ?

https://www.gnu.org/software/grub/manual/grub.html#gfxmode
Comment 2 Barry Jackson 2013-02-27 01:48:29 CET
(In reply to Manuel Hiebel from comment #1)
> for vga, would this be not better if using it with gfxmode or gfxpayload ?
> 
> https://www.gnu.org/software/grub/manual/grub.html#gfxmode

Well the documentation is vague and this passage:-

"Depending on your kernel, your distribution, your graphics card, and the phase of the moon, note that using this option may cause GNU/Linux to suffer from various display problems, particularly during the early part of the boot sequence. If you have problems, set this variable to âtextâ and GRUB will tell Linux to boot in normal text mode."

...is the main reason I left gfxpayload set to "text" by default ;)
Comment 3 Thierry Vignaud 2013-02-27 07:21:26 CET
Fixed in git

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED

Comment 4 Manuel Hiebel 2013-02-27 12:28:36 CET
from grub2 to grub2 it change 

GRUB_CMDLINE_LINUX_DEFAULT="splash" to GRUB_CMDLINE_LINUX_DEFAULT="             " (13 chars)

from grub2 to grub something is still broken as it write only gfxmenu and nothing more if initially grub was never set (like after an install choosing grub2)
or it create a chainloader when it should be a regular line with root= initrd= etc

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Manuel Hiebel 2013-02-27 20:00:46 CET
also is this enough even when display_driver_helper or other stuff are called ?
Comment 6 Manuel Hiebel 2013-03-02 11:37:17 CET
ok fixed in some way, we have https://bugs.mageia.org/show_bug.cgi?id=8540 for my last comment, thanks

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.