Getting the unencrypted root partition of an encrypted operating system into grub

I have the following setup:

  • Disk 1: Windows

    • preinstalled windows with 5 partitions all created during the windows installation
      • EFI FAT partition with these folders
        • EFI
        • Boot
        • Microsoft
        • ubuntu
      • ....
  • Disk 2: two non-encrypted Zorin OS 17 & 18

    • 500GB my main operating system, Zorin OS 18
    • 500GB another broken system we don't care about
  • Disk 3: encrypted Zorin 18

    • FAT EFI Partition with these folders:
      • EFI
      • Boot
      • ubuntu
    • Ext4 Filesystem with these folders:
      * efi
      * grub
      * vmlinuz-6.14.0-37-generic
      * ...
    • LUKS encrypted filesystem with the main operating system data

My BIOS detects all three Operating systems:

  • windows
  • zorin 18
  • encrypted zorin 18

I can also boot all of them from the bios. Windows and the encrypted zorin will start directly, my main OS starts a selectable grub bootloader

My issue now is that I can't get the grub bootloader to also contain a reference to the encrypted zorin, no matter what I do it can only start windows or my unencrypted zorin. Since the second partition on the third disk is unencrypted and it contains the /boot folder from my encrypted operating system, I don't understand why that cannot be found and loaded by the grub bootloader.

is there any way to get that working or is there another bootloader which I can use? Unfortunately my BIOS does not support selecting the starting OS on every boot and the current process is therefore really cumbersome.

I tried adding a grub entry manually in various different ways but I always get "no such device" when using the uuid of the other FAT EFI partition.

Any help is appreciated!

solved it by switching to refind instead of grub.

a simply
apt get install refind
immediately resolved all my issues

1 Like