Bug 18952 - MCC cannot edit/modify grub options
Summary: MCC cannot edit/modify grub options
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 18975 (view as bug list)
Depends on:
Blocks: 416
  Show dependency treegraph
 
Reported: 2016-07-15 21:53 CEST by Christian C
Modified: 2016-08-04 11:59 CEST (History)
4 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Christian C 2016-07-15 21:53:13 CEST
Open MCC>Boot>Setupt boot system :
No entry corresponding to the different kernel available in /boot is displayed.
No boot option is displayed for each kernel
Comment 1 Marja Van Waes 2016-07-16 09:12:36 CEST
What is the output of 

    rpm -qa | grep grub

and of
   
    rpm -qa | grep drakxtools

Keywords: (none) => NEEDINFO
CC: (none) => marja11, thierry.vignaud, zen25000

Comment 2 Thierry Vignaud 2016-07-16 09:41:19 CEST
Are you using grub2?
If yes that's expected as grub2 auto generates its menu, so we cannot alter it.
Comment 3 Christian C 2016-07-16 10:18:00 CEST
$ rpm -qa | grep grub
grub2-2.02-0.git10457.10.mga6
grub2-common-2.02-0.git10457.10.mga6
grub2-mageia-theme-2.02-0.git10457.10.mga6
grub-doc-0.97-43.mga6
$ rpm -qa | grep drakxtools
drakxtools-backend-17.51-1.mga6
drakxtools-curses-17.51-1.mga6
drakxtools-17.51-1.mga6

> If yes that's expected as grub2 auto generates its menu, so we cannot alter it
It's a problem now as we can't add/remove the boot options.
Comment 4 Mageia Robot 2016-07-17 16:00:29 CEST
commit fbc399721879746f2cc69208dba3a42b290b0a7d
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Sun Jul 17 10:35:09 2016 +0200

    grub2: fix not being able to edit default cmdline
    
    Keep default append value (aka /etc/default/grub's
    GRUB_CMDLINE_LINUX_DEFAULT into {default_append} variable)
    
    Always use the value passed as now write_grub2_sysconfig() is only
    called after having offered to display the default cmdline value
    
    On first run (during installer) or when migrating from grub-legacy or
    lilo, we get the first entry's parameters
    
    Thus resolving  mga#18952
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=fbc399721879746f2cc69208dba3a42b290b0a7d
Comment 5 Thierry Vignaud 2016-07-17 16:03:23 CEST
Fixed

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

Comment 6 Thierry Vignaud 2016-08-04 11:59:38 CEST
*** Bug 18975 has been marked as a duplicate of this bug. ***

CC: (none) => max.augsburg


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