| Summary: | Video mode selection in drakboot is ignored when using grub2 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Martin Whitaker <mageia> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, neoser10 |
| Version: | 6 | Keywords: | PATCH |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=23097 | ||
| Whiteboard: | |||
| Source RPM: | drakxtools-17.88-1.mga6.src.rpm | CVE: | |
| Status comment: | |||
| Bug Depends on: | 21263 | ||
| Bug Blocks: | 21248, 21340 | ||
| Attachments: |
Proposed fix
Proposed fix v2 |
||
|
Description
Martin Whitaker
2017-07-15 12:37:34 CEST
Created attachment 9514 [details] Proposed fix This needs to be applied after the patch attached to bug 21263 (attachment 9511 [details]). Adding to the mga5->mga6 upgrade tracker, because it affects people who choose to convert from grub to grub2 - the video mode setting is lost, which can lead to plymouth failing to display the splash screen with some video drivers. Blocks:
(none) =>
21340
Martin Whitaker
2017-07-25 01:19:02 CEST
Blocks:
(none) =>
21248
Trou Du Cul Merdeux
2017-07-26 20:53:26 CEST
CC:
(none) =>
trouducul Restoring bug fields to how they were before a troll changed them. Target Milestone:
Mageia 7 =>
---
Florian Hubold
2017-12-05 14:25:07 CET
CC:
(none) =>
doktor5000 Created attachment 9823 [details] Proposed fix v2 Updated to match updated patch in bug 21263 (which needs to be applied first).
Attachment 9514 is obsolete:
0 =>
1 commit f70da6dee2087dbcb26e1ae6e00c5ea859c0c787
Author: Martin Whitaker <mageia@...>
Date: Mon Jul 24 23:07:38 2017 +0100
Fix drakboot video mode selection when using grub2 (mga#21246)
The video mode needs to be extracted from and written back to the
GRUB_CMDLINE_LINUX_DEFAULT parameter in /etc/defaults/grub2.
This fix creates a new "default_vga" key in the $bootloader hash to
hold the current selection. Using the existing "vga" key would cause
the default video mode to be added to any bootloader entries that
don't have a specific "vga" value, e.g. the "failsafe" entry.
The $bootloader "vga" value doesn't appear to be set anywhere else,
so may in fact be obsolete.
---
Commit Link:
http://gitweb.mageia.org/software/drakx/commit/?id=f70da6dee2087dbcb26e1ae6e00c5ea859c0c787
Martin Whitaker
2018-05-29 23:16:10 CEST
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=23097 Tested in Virtual Box using GRUB2 The VGA=791 is appended if I choose 1024*768*16, after reboot, if I return to drakboot (using MCC), and choose the advanced options, the tool remebers the last selection (OK for ME) The vga=794 is appended if I choose the 1280*1024*16 This update is good to OK CC:
(none) =>
neoser10 Fix released in drakxtools-17.88.2-1.mga6.src.rpm. Resolution:
(none) =>
FIXED |