| Summary: | System does not run the latest kernel | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Gilles Allard <gallard> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | bittwister2, marja11, zen25000 |
| Version: | 6 | Keywords: | NEEDINFO |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Gilles Allard
2018-06-01 20:32:10 CEST
Hi Gilles, This might be a duplicate of bug 22274 (drakboot proposes to set the oldest kernel as default). Do you remember whether you've ever adjusted bootloader settings in MCC (or directlly with drakboot) after you installed Mageia, or maybe already while you installed Mageia? If you don't remember having adjusted such settings: which iso did you use to install Mageia? Please give the output of grub2-editenv /boot/grub2/grubenv list CC:
sysadmin-bugs =>
marja11, zen25000 Do keep in mind, Mageia grub2 setup is configured to boot the last booted selection as default. You would need to pick the latest kernel from the menu and that will become the default boot. As I misunderstand it, /boot/grub2/grubenv contains the information as to which selection is the default boot. The recommended method for changing that files from the command line would be to use grub2-set-default whatever_wanted_here. As I look through my /boot/grub2/grub.cfg 'Mageia (desktop) 6' will boot using linux16 /boot/vmlinuz-desktop and initrd16 /boot/initrd-desktop.img which are links pointing to the latest installed desktop images. In my stupid opinion, it looks like someone needs to create a script in /etc/grub.d/ to create a menu entry that boots /boot/vmlinuz /boot/initrd.img and have it as the first selection in the grub menu. CC:
(none) =>
bittwister2 Marja (comment #1) and Bit Twister (comment #2) are both right. /etc/default/grub contain 2 questionable statements: GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true /boot/grub/grubenv (dated Aug 21 2017) contained a reference to kernel 4.9 I don't think I manually selected a kernel in last August but I just rebooted and noticed that "Advanced Options" line was highlighted. I selected the first line (Mageia6) and then, everything fixed itself. I'm now running 4.14.44 I suspect that, at that time, I accidentally selected the second line. That means that for the last 10 months, I downloaded and installed many kernels, some of them being "security critical" and none of them was effective. That's a security issue. Thanks to those who answered. Status:
NEW =>
RESOLVED |