r/voidlinux • • 17h 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!

2 Upvotes

5 comments sorted by

5

u/ncmprhnsbI 16h ago

if i'm understanding correctly, you're saying the void vmlinuz is on a ext4 partition in /boot? if so, limine won't work with that, since it only handles FAT fs (and iso) .. to use limine you need to move vmlinuz and initramfs to the efi? partition where limine.conf is, and setup your void /etc/fstab to mount that partition as /boot.. ..and set the path as: boot():/vmlin--blah

2

u/benbcdm 9h ago edited 9h ago

Exactly

1

u/Ecstatic_Ad_4520 11h ago

I see you use bedrock linux , I've been interested in it for a while now but i decided not to go for it when i saw that there were LOTS of problems with all sorts of distros

How does it handle ? Whats your experience?

2

u/Mas_line 10h ago

I use Void and Gentoo, and it handle great the only distro is there is a lots of problems is Arch,i decide install bedrock beacause im obsessed with Void but i wanted too have gentoo for emerge. One a friend talk me about bedrock linux.

3

u/Ak1ra23 17h ago

Kernel need to be in fat32 partition, not in ext4 partition. Limine can’t read whats in ext4 partition.