Bug 26539

Summary: Lost kernel and initrd (maybe) at update to 5.6.7-desktop-2.mga8
Product: Mageia Reporter: Hans Micheelsen <micheelsen>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: shlomif, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: grub2 CVE:
Status comment:

Description Hans Micheelsen 2020-04-25 10:15:32 CEST
Description of problem:
After update to kernel-5.6.7-2.mga8 my boot stopped with grub >  prompt
I found out that the kernl and inird are not loaded. After
   linux /boot/vmlinuz
   initrd /boot/inird.img
   boot
my system boot with no further problem. Update to kernel-5.6.7-2.mga8 did not solve the problem. Neither did update-grub2

I has to be noted that I also did a urpme --auto-orphans

Version-Release number of selected component (if applicable):
kernel-5.6.7-2.mga8
grub2-2.04.0-11.mga8

How reproducible:
At every boot

Steps to Reproduce:
1. Update to kernel-5.6.7-2.mga8 (I haven't tried to reproduce by reinstallation of Mageia)
2. System will halt instantly with grub >   prompt

PS: How do I get my system to work corrctly again?
Comment 1 Shlomi Fish 2020-04-25 12:03:49 CEST
I'm not sure if it's the same problem, but now after kernel 5.6.7-2 and 5.6.7-3, /boot/grub2/grub.cfg no longer contains the mageia kernels menus/menu items. Editing it manually based on an old version of grub.cfg allows it to boot.

CC: (none) => shlomif

Comment 2 Shlomi Fish 2020-04-25 12:13:43 CEST
```
root@telaviv1:~ # grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub2/themes/maggy/theme.txt
Apr 25 13:12:25 | DM multipath kernel driver not loaded
Found Debian GNU/Linux bullseye/sid on /dev/sda10
Found Fedora 29 (Workstation Edition) on /dev/sda11
done
```
Comment 3 Thomas Backlund 2020-04-25 12:30:11 CEST
It's grub2 BLS support that breaks our grub.cfg

Source RPM: kernel-5.6.7-2.mga8.src.rpm => grub2
Assignee: bugsquad => thierry.vignaud
CC: (none) => tmb

Comment 4 Thomas Backlund 2020-04-25 15:18:24 CEST

Should be fixed with grub2-2.04.0-13.mga8

you might have to run update-grub2 manually to rebuild grub.cfg
Comment 5 Thierry Vignaud 2020-04-25 23:58:24 CEST
Dup

*** This bug has been marked as a duplicate of bug 26535 ***

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