r/voidlinux • • May 22 '26

how do i install limine on void linux

title. as there is no proper documentation about it on void wiki. please help a newbie out

0 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/[deleted] May 22 '26

so my initram and vmlinuz are on /boot/ and my ESP is /boot/efi, and as i will be putting limine.conf in /boot/efi/ the boot(): is /boot/efi. so how do i set kernel and module path. do i just move those files from /boot to ESP?

1

u/Blank-Inspection13 May 22 '26

see these two , boot() = relative to you ESP partition. And limine only able to read path inside the ESP which is (should} FAT partition.
kernel_path: boot():/EFI/Void/vmlinuz.efi

module_path: boot():/EFI/Void/initramfs.img

1

u/[deleted] May 22 '26

so i copy past from /boot to /boot/efi?

2

u/Blank-Inspection13 May 22 '26

yes you can also do that,

1

u/[deleted] May 22 '26

my vmlinuz is named vmlinuz-6.18.32_1 so do i write vmlinuz-6.18.32_1.efi

2

u/Blank-Inspection13 May 22 '26

you can rename to whatever you like , as long the filename and path is the same inside limine.conf

My advice, don't remove the grub just yet , until you confirm that your limine is working fine. You should keep it as fail safe.

1

u/[deleted] May 22 '26

thank you so much, btw how do you automate the process that you dont have to manually edit when the kernel updates. also what about the snapper support

1

u/Blank-Inspection13 May 22 '26

/etc/kernel.d/
This folder hooks for every kernel update post install and remove.
You can add your own script there for atomate copy ing oe even generate directly to your ESP. can refer to ARCH wiki for inspiration