Dual Boot two UEFI enabled Linux distirbutions (Kali / Fedora) with grub

I am trying to install two Linux systems on one NVMe drive and have them listed in GRUB.

I initially installed Kali Linux first and sized the partitions, so that half of the NVMe (250 GB) was allocated for Kali. Then I ran the installation routine for Fedora and allocated the second half of the NVMe. Both installation where initiated from USB thumb drives.

After rebooting, Fedora was the “default” Linux distro to start. Executing various grub commands did not link Kali to the grub menu.

When I hit F9 to bring up the UEFI boot menu it displays the following options:

  • UEFI – Fedora
  • UEFI – Kali
  • UEFI – fedora

I can start Kali by selecting UEFI – Kali from the boot menu (F9), but in Kali I am unable to link Fedora to grub.

Here is the output of lsblk -f when UEFI – Fedora has been booted:

NAME                            FSTYPE      FSVER    LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINT
nvme0n1                                                                                                          
├─nvme0n1p1                     vfat        FAT32          8EBB-B5AA                                             
├─nvme0n1p2                     ext2        1.0            99c384de-2956-474c-9a6f-26c517582ceb                  
├─nvme0n1p3                     LVM2_member LVM2 001       puD1Th-hG9t-MZ2V-5mnE-PaEF-idOa-GoQRKy                
│ ├─kalii--vg-swap_1            swap        1              2c22ebce-039f-4f45-960f-b3ee79cb636c                  
│ ├─kalii--vg-root              ext4        1.0            f314b58a-0d30-43b0-9845-d9c653347d76                  
│ ├─kalii--vg-var               ext4        1.0            309b5290-4f13-4aac-a6ea-503146224728                  
│ ├─kalii--vg-tmp               ext4        1.0            d9963dfe-4ac0-4eaa-b1e8-3b38452a6b23                  
│ └─kalii--vg-home              ext4        1.0            2b354662-c5dd-45cb-a4f6-8670b1dab590                  
├─nvme0n1p4                     vfat        FAT16          0FC2-F7FE                               479.3M     4% /boot/efi
├─nvme0n1p5                     ext4        1.0            e81a47a9-930f-4941-9403-fd46312781cc    244.9M    42% /boot
└─nvme0n1p6                     LVM2_member LVM2 001       3dYM1x-ldPJ-AWtd-1w6Y-r8J0-bv7U-WeEyQ9                
  ├─fedora_localhost--live-root ext4        1.0            3566e840-5d28-43d7-b40f-bc2afb27e1bd     17.7G    22% /
  ├─fedora_localhost--live-swap swap        1              76c891c4-7866-4536-a40a-0912d1ebd5f8                  [SWAP]
  ├─fedora_localhost--live-tmp  ext4        1.0            5666f4b7-a4ba-4931-b219-407bc42eedd6      7.4G     0% /tmp
  ├─fedora_localhost--live-home ext4        1.0            6a99e0ff-a3f3-4a49-b9cb-dcabdc951784      139G     0% /home
  └─fedora_localhost--live-var  ext4        1.0            a20aa6a5-2b6e-47fc-aecd-c7e25a388113      3.5G    59% /var

I have read the following question Options for dual-booting 2+ Ubuntu-based distros/flavours installed on the same disk and it seems to be a similar situation, but my config seems to have a twist.

gparted is showing that I have two EFI System Partitions.

One is on nvme0n1p1 (presumably KALI), and the other is on nvme0n1p4 (Fedora).

Where did I go wrong?
What steps are required to enable one Linux distro in the grub menu of the other distro?

Read more here: Source link