Os-prober-btrfs generating faulty entries

inxi -Faz

System:    Kernel: 5.10.67-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=789aae57-fb43-4b3e-93d8-2f693d096e94 rw 
           rootflags=subvol=@ loglevel=3 quiet sysrq_always_enabled=1 splash 
           Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Laptop System: Micro-Star product: Please change product name v: REV:1.0 serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: Micro-Star model: MS-16J9 v: REV:1.0 serial: <filter> UEFI: American Megatrends v: E16J9IMS.324 
           date: 03/23/2018 
Battery:   ID-1: BAT1 charge: 19.6 Wh (90.3%) condition: 21.7/43.2 Wh (50.2%) volts: 12.1 min: 10.8 model: MSI BIF0_9 
           type: Li-ion serial: N/A status: Unknown 
           Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 serial: <filter> 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake family: 6 model-id: 9E (158) 
           stepping: 9 microcode: EA cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44798 
           Speed: 3602 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3602 2: 3569 3: 3708 4: 3677 5: 3610 6: 3604 7: 3732 
           8: 3498 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel HD Graphics 630 vendor: Micro-Star MSI driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:591b 
           class-ID: 0300 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Micro-Star MSI driver: nvidia v: 470.63.01 
           alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: modesetting,nvidia display-ID: :0 
           screens: 1 
           Screen-1: 0 s-res: 4480x1586 s-dpi: 96 s-size: 1185x419mm (46.7x16.5") s-diag: 1257mm (49.5") 
           Monitor-1: eDP-1 res: 1920x1080 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           Monitor-2: HDMI-2 res: 2560x1440 hz: 58 dpi: 107 size: 608x345mm (23.9x13.6") diag: 699mm (27.5") 
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.2.1 direct render: Yes 
Audio:     Device-1: Intel CM238 HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
           chip-ID: 8086:a171 class-ID: 0403 
           Device-2: Realtek TX-Hifi Type_C Audio type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-5:2 
           chip-ID: 0bda:4c07 class-ID: 0300 
           Sound Server-1: ALSA v: k5.10.67-1-lts running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.35 running: no 
Network:   Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel port: e000 bus-ID: 02:00.0 
           chip-ID: 8086:24fb class-ID: 0280 
           IF: wlp2s0 state: up mac: <filter> 
           Device-2: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: Micro-Star MSI driver: alx v: kernel port: d000 
           bus-ID: 03:00.0 chip-ID: 1969:10a1 class-ID: 0200 
           IF: enp3s0 state: down mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-10:5 chip-ID: 8087:0aa7 
           class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends 
Drives:    Local Storage: total: 5 TiB used: 58.16 GiB (1.1%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT500P1SSD8 size: 465.76 GiB block-size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: P3CR010 temp: 42.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000BX500SSD1 size: 931.51 GiB block-size: physical: 512 B 
           logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 030 scheme: GPT 
           ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Toshiba model: External USB 3.0 size: 3.64 TiB block-size: 
           physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 5438 scheme: GPT 
Partition: ID-1: / raw-size: 119.21 GiB size: 119.21 GiB (100.00%) used: 15.31 GiB (12.8%) fs: btrfs dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-2: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 562 KiB (0.4%) fs: vfat dev: /dev/nvme0n1p1 
           maj-min: 259:1 
           ID-3: /home raw-size: 139.7 GiB size: 139.7 GiB (100.00%) used: 42.84 GiB (30.7%) fs: btrfs dev: /dev/nvme0n1p9 
           maj-min: 259:6 
           ID-4: /var/log raw-size: 119.21 GiB size: 119.21 GiB (100.00%) used: 15.31 GiB (12.8%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-5: /var/tmp raw-size: 119.21 GiB size: 119.21 GiB (100.00%) used: 15.31 GiB (12.8%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 14.9 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p5 maj-min: 259:4 
           ID-2: swap-2 type: zram size: 15.55 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 50.5 C mobo: 27.8 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 297 Uptime: 24m wakeups: 3 Memory: 15.55 GiB used: 3.97 GiB (25.5%) Init: systemd v: 249 tool: systemctl 
           Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1057 lib: 290 Shell: fish v: 3.3.1 running-in: yakuake 
           inxi: 3.3.06 

When using update-grub, the os-prober-btrfs finds all my OS without any trouble, the Garuda entries (on BTRFS) boot perfectly, but my other Linux distributions won't boot from the Garuda's GRUB bootloader. The entries for other Linux distros are generated as follows:

setparams 'Manjaro Linux (31.1.3) (on /dev/nvme0n1p6)'
    insmod part_gpt
    insmod ext2
    search --no-floppy -fs-uuid --set=root <UUID>
    linux /boot/vmlinuz/5.11-rt-x86_64 root=<UUID> rw quiet
    initrd /boot/intel-ucode.img^/boot/amd-ucode.img^/boot/initramfs-5.11-rt-x86_64.img

As far as I can understand, the problem lies within that last line, since the images are separated by a '^' character instead of an space. If I manually replace those ^ by spaces, the distro boots without problem. Otherwise, it fails to boot.

I would like to know if this is a known bug or is there a way for me to make this work.

The installed version of os-prober-btrfs is:

chaotic-aur/os-prober-btrfs 1.79-3 [installed]

PS. I just installed Garuda yesterday. This problem was there from the moment I installed it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.