Bug 21250 - service_harddrake cannot add/remove nokmsboot option when using grub2, leading to endless reboot loop
Summary: service_harddrake cannot add/remove nokmsboot option when using grub2, leadin...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-15 18:22 CEST by Martin Whitaker
Modified: 2018-06-11 23:09 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools-17.88-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Martin Whitaker 2017-07-15 18:22:48 CEST
If a system is booted without the nokmsboot option, but the selected video driver needs that option, or vice versa, service_hardrake attempts to fix the problem by updating the bootloader configuration (using Xconfig::various::setup_kms()) and rebooting. But Xconfig::various::setup_kms() does not work when using grub2.
Comment 1 William Kenney 2017-07-16 06:36:24 CEST
Confirmed

CC: (none) => wilcal.int

Rémi Verschelde 2017-07-24 14:10:12 CEST

Priority: Normal => High
Severity: normal => major

Rémi Verschelde 2017-08-03 16:35:02 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=21263

Comment 2 Mageia Robot 2018-01-09 22:18:18 CET
commit 6fb73fba36f9fcf88251f3bd3ad8ee67950c8541
Author: Martin Whitaker <mageia@...>
Date:   Sun Jul 23 16:18:49 2017 +0100

    Combine bootloader perImageAppend and default_append keys.
    
    This allows changes to the append options to propagate to the grub2
    configuration file, thus fixing mga#21263 and mga#21250.
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=6fb73fba36f9fcf88251f3bd3ad8ee67950c8541

 Bug links:
   Mageia
      https://bugs.mageia.org/21263
      https://bugs.mageia.org/21250
Martin Whitaker 2018-05-29 23:16:10 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=23097

Comment 3 Mauricio Andrés Bustamante Viveros 2018-05-31 08:02:46 CEST
Tested this using the mga6 VM
GRUB2 in my VM, did not have the nokmsboot (defaults to mageia install)
Always the bootsplash was gray with three question marks (?)
Reconfigured the bootloader (testing the vga= option from other bug) and added the nokmsboot to the end of the append line
Rebooted without issues but the bootsplash (that never was shown) this tiem worked

Rebooted the VM and the nokmsboot option persists between reboots

CC: (none) => neoser10

Comment 4 Martin Whitaker 2018-06-11 23:09:34 CEST
Fix released in drakxtools-17.88.2-1.mga6.src.rpm.

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


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