View Issue Details

IDProjectCategoryView StatusLast Update
0016571CentOS-8grub2public2019-10-10 18:19 
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016571: UEFI dual boot - Cent OS 8 and Debian 10 dual boot grub not working
DescriptionI installed the Debian 10 and then Cent OS 8 now I get the grub screen created by Cent OS 8, I'm even able to see the entry for Debian 10 buster along with advanced options but when I try to boot into debian I get an error.
If I use bios feature to switch the bootloader / grub and boot into debian I can use the debian 10 but not Cent OS 8 (not able to boot from debian grub into cent os is I guess Debian issue).

Secure boot and UEFI both were enabled while installing both OS.

I even tried to re-install the grub from cent OS using
grub2-install command but I'm getting error:
grub2-install: error: /usr/lib/grub/x86_64-efi/ doesn't exist. Please specify --target or --directory.

To resolve above error I had to install package "grub2-efi-x64-modules"
but whenever I install this package CentOS just stops booting and there not even a grub screen from cent OS anymore.
Steps To ReproduceEnable UEFI
Enable Secure Boot
Install Debian 10 Buster
Install Cent OS 8
Tagsefi, grub2, UEFI


2019-10-10 18:18

reporter   ~0035434

Error on selecting Debian entry in Cent OS specific grub
error: ../../grub-core/loader/i386/efi/linux.c:208:/boot/vmlinux-4.19.0-6-amd64 has invalid signature
error: ../../grub-core/loader/i386/efi/linux.c:93: you need to load the kernel first.
Press any key to continue...

Just to verify that both the kernels are signed in BIOS; I executed the "mokutil --list-enrolled" command and I was able to see the signature for both "debian" and "centos".

Snippets from mokutil command
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=CentOS
            Not Before: Sep 29 00:23:25 2019 GMT
            Not After : Sep 5 00:23:25 2119 GMT
Subject: CN=CentOS

Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=Debian Secure Boot CA
            Not Before: Aug 16 18:09:18 2016 GMT
            Not After : Aug 9 18:09:18 2046 GMT
Subject: CN=Debian Secure Boot CA

Issue History

Date Modified Username Field Change
2019-10-10 18:01 New Issue
2019-10-10 18:01 Tag Attached: efi
2019-10-10 18:01 Tag Attached: grub2
2019-10-10 18:03 Tag Attached: UEFI
2019-10-10 18:18 Note Added: 0035434