Limine hw to add existing Os

Hi,

the Situation is as follows not really complicated:

On /dev/sdb3 is an Cachy Installation properly set up’ed in the limine.conf on /dev/sdb1 and boots up

But Note its my second Harddrive …

On my first Harddrive /dev/hda2 - exists another lets say Backup Cachy Installation but lonely not accessible via limine since i dont know how to add this to, since i switched from grub to Limine booting from /dev/sdb ?

sudo limine-scan

is maybe what you are after.

good idea used this but gives this as result:

sudo limine-scan /dev/sda  :check_mark:
[sudo] Mot de passe de franck :
Available EFI Boot Entries:
1: Limine Bootloader - GPT UUID: d03ce692-8e26-b043-9369-5479bdf62017 - EFI Path: /efi/limine/BOOTX64.EFI
2: UEFI OS - GPT UUID: d03ce692-8e26-b043-9369-5479bdf62017 - EFI Path: /EFI/BOOT/BOOTX64.EFI
Choose a boot entry number (1-2) to add to Limine, or press [c] to cancel:
1
EFI entry added to Limine: “Limine Bootloader”, guid(d03ce692-8e26-b043-9369-5479bdf62017):/efi/limine/BOOTX64.EFI

→ this loads the limine.conf from sda

with an entry but not the one for the target install

Could you share the output of:

efibootmgr --unicode

and

lsblk -o NAME,FSTYPE,PARTUUID,PARTTYPENAME,SIZE,LABEL,MOUNTPOINT,PTTYPE

[liveuser@CachyOS ~]$ efibootmgr --unicode
BootCurrent: 0011
Timeout: 1 seconds
BootOrder: 0009,0001,0002,0004,000D,0011,0003,0012,0010
Boot0001* Limine Bootloader HD(1,MBR,0x7fcbccb1,0x800,0x400000)/\efi\limine\BOOTX64.EFI
Boot0002* Limine Bootloader HD(1,GPT,d03ce692-8e26-b043-9369-5479bdf62017,0x1000,0x96000)/\efi\limine\BOOTX64.EFI
Boot0003* Hard Drive BBS(HD,0x0)
Boot0004* UEFI OS HD(1,GPT,d03ce692-8e26-b043-9369-5479bdf62017,0x1000,0x96000)/\EFI\BOOT\BOOTX64.EFI
Boot0009* Limine HD(1,MBR,0x7fcbccb1,0x800,0x400000)/\EFI\Limine\limine_x64.efi
Boot000D* UEFI OS HD(1,MBR,0x7fcbccb1,0x800,0x400000)/\EFI\BOOT\BOOTX64.EFI
Boot0010* USB BBS(HD,0x0)
Boot0011* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x7,0x1)/Pci(0x0,0x3)/USB(3,0)/CDROM(1,0x582780,0x20000)
Boot0012* UEFI: Generic Flash Disk 8.07, Partition 2 PciRoot(0x0)/Pci(0x7,0x1)/Pci(0x0,0x3)/USB(3,0)/HD(2,MBR,0xe2e57e73,0x582780,0x8000)

[liveuser@CachyOS ~]$ lsblk -o NAME,FSTYPE,PARTUUID,PARTTYPENAME,SIZE,LABEL,MOUNTPOINT,PTTYPE
NAME FSTYPE PARTUUID PARTTYPENAME SIZE LABEL MOUNTPOINT PTTYPE
loop0 squashfs 2.6G /run/archiso/airootfs
sda 465.8G gpt
├─sda1 vfat d03ce692-8e26-b043-9369-5479bdf62017 EFI System 300M gpt
├─sda2 ext4 5cdc7721-94d6-5e41-8978-af0b2b824c98 Linux filesystem 322.7G gpt
├─sda3 swap db554fe2-9fe1-7c40-8569-66b812cd5633 Linux swap 14.7G swap gpt
└─sda4 bcachefs 7aad38b3-72f0-4235-bd29-78bd023d0c84 Linux filesystem 128G gpt
sdb 119.2G dos
├─sdb1 vfat 7fcbccb1-01 EFI (FAT-12/16/32) 2G dos
├─sdb2 ext4 7fcbccb1-02 Linux 8M dos
├─sdb3 bcachefs 7fcbccb1-03 Linux 99.7G dos
└─sdb4 swap 7fcbccb1-04 Linux swap / Solaris 17.6G dos
sdc iso9660 7.4G COS_202507 dos
├─sdc1 iso9660 e2e57e73-01 Empty 2.8G COS_202507 dos
└─sdc2 vfat e2e57e73-02 EFI (FAT-12/16/32) 16M ARCHISO_EFI dos
sdd 0B
zram0 swap

The Problem is, no chroot possible into sda4 Install becauce it has a newer Kernel regarding Bcachefs, Chrooting into sda2 Install possible but no Pacman use possible becauce its an very old Install

So what is an Boot Entry for sda4 which i can write into the limine.conf on sda uefi Partition or sdb2 uefi Partition, both works booting up Limine

That looks like your sdb disk is using MBR partition table, while sda is using GPT.
You are mixing MBR and GPT on the same device. However, Limine can support both.

limine-scan cannot automatically detect MBR partition IDs, as there is no UUID format for MBR,
because MBR doesn’t support uuid(<GPT uuid>), but you can use hdd(x:y) syntax for your legacy setup.

On the /dev/sda1 EFI partition (with GPT),you can try adding two external MBR chainload entries to your limine.conf:

/Second CachyOS Limine
protocol: efi
path: hdd(2:1):/efi/limine/BOOTX64.EFI

/Second CachyOS fallback
protocol: efi
path: hdd(2:1):/EFI/BOOT/BOOTX64.EFI

Not sure, if they work.