Bug 9177

Summary: graphic resolution set in kernel command for grub legacy but not grub2
Product: Mageia Reporter: Barry Jackson <zen25000>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: release_blocker CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Bug Depends on:    
Bug Blocks: 416    

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