Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

Installation • Re: Bad shim signature - you need to load the kernel first

$
0
0
Solution:
As an example, Kubuntu and Linux Mint but it should work on any distribution with GRUB signed for secure boot.
  1. During the installation of the second system, create a separate EFI partition for it.
  2. Use

    Code:

    sudo blkid
    command to correctly locate the disk and partition from GRUB of the other system, remember, save UUID
  3. in GRUB console (c key) use

    Code:

    ls -l
    to locate partition with found UUID, remember hdX,gptX
  4. use the

    Code:

    ls (hdX,gptX)/efi
    command to check the path to the

    Code:

    grubx64.efi
    file (may be different for different distributions) and save it
  5. edit the

    Code:

    /etc/grub.d/40_custom
    file by adding an entry:

    Code:

    menuentry “Linux Mint” {    insmod part_gpt        insmod fat        set root='hd3,gpt1' # Change to the appropriate EFI partition for Mint        chainloader /EFI/ubuntu/grubx64.efi # Change to the correct path for Mint    }
  6. Code:

    sudo update-grub
It is possible to run both systems without changes to the BIOS.

On the second system, you can add a similar entry for the partition with the first GRUB, but on my system it shows something like this

Code:

EFI stub: WARNING: Failed to measure data for event 1: 0x8000000000000000b
, so I gave up.

Statistics: Posted by Norbert78 — 2024-08-23 17:08



Viewing all articles
Browse latest Browse all 2901

Trending Articles