r/voidlinux • • 8d ago

Limine bootloader: "Failed to open kernel" panic on Void/Bedrock Linux (ext4), while Windows boots fine from Limine

Hi everyone,

I'm trying to switch my primary bootloader from GRUB to Limine on a dual-boot setup with Void-based Bedrock Linux and **Windows (Arium 10).

Interestingly,Windows boots completely fine from Limine, and GRUB boots both Linux and Windows without any issues. However, Limine keeps throwing a kernel panic whenever I try to boot Linux.

Here is my system setup:

Storage / Partitions: Shared EFI partition (/dev/sda1`) and an ext4 Linux root partition (/dev/sda2, UUID: d80e425c-768b-4316-8613-bcedbe5702bb).

Kernel version:6.18.60_1 located at /boot/vmlinuz-6.18.60_1

Initramfs:/boot/initramfs-6.18.60_1.img

When I select Linux in Limine, I get this error on screen:

linux: Loading kernel 'boot(2):/boot/vmlinuz-6.18.60_1'

PANIC: linux: Failed to open kernel with path 'boot(2):/boot/vmlinuz-6.18.60_1'. Is the path correct?

Here is my current limine.conf:

TIMEOUT: 5

/Bedrock Linux (Void)

protocol: linux

path: boot(2):/boot/vmlinuz-6.18.60_1

module_path: boot(2):/boot/initramfs-6.18.60_1.img

cmdline: root=UUID=d80e425c-768b-4316-8613-bcedbe5702bb rw quiet splash

/Arium 10

protocol: efi

path: boot():/EFI/Microsoft/Boot/boo

I've already tried adjusting the paths and using guid(...) syntax for the Linux entry, but Limine still fails to open the kernel on the ext4 partition, even though GRUB handles it effortlessly.

What is the correct configuration or path syntax for Limine to locate the Linux kernel in this layout? Thanks in advance!

4 Upvotes

Duplicates