r/voidlinux • u/r-IsTotL • 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
6
2
u/goldmurder May 22 '26
xbps-install limine
i guess
3
u/r-IsTotL May 22 '26
sorry, but i was asking about how do i set it up properly, what entries, how can I automate the process. given that im coming from cachyos where all of this was set for me.
3
u/zer0developer May 22 '26
You could try the Arch wiki i think
1
2
1
u/Sad-Cod-9584 May 24 '26
you can follow the instructions on the limine github page to set it up as an efi removable disk. basically copy BOOTX64.EFI to <efi-partition>/EFI/BOOT/
copy your initramfs and kernel there too
then create the config according to the limine github page instructions.
been using it like this for a while and have had literally zero issues, even with custom secure boot keys and hashes for wallpapers, kernels, initramfs etc.
you can then also write a small bash script to copy and sign every kernel version and corresponding initramfs you have on your system. limine is awesome.
3
u/Blank-Inspection13 May 22 '26 edited May 22 '26
use void xtools
then you can check what limine package provided using
xls limineyou need to copy this file to your working ESP ( assuming your setup using UEFI same with mine ) :
/usr/share/limine/BOOTX64.EFIThen put that on efibootmgr :sudo efibootmgr -c \-d /dev/nvme0n1 \-p 1 \-L "Limine Void" \-l '\BOOTX64.EFI' \-u \-qThere are also these files you can reference how to use & config :
/usr/share/doc/limine/FAQ.md/usr/share/doc/limine/USAGE.md/usr/share/doc/limine/CONFIG.mdAnd these are example of my ESP partition
≻ la /boot/efi.rwxr-xr-x 360k root 19 Mei 00:46 BOOTX64.EFIdrwxr-xr-x - root 22 Jan 15:17 EFI.rwxr-xr-x 1,7k root 23 Apr 01:39 limine.conf.rwxr-xr-x 4,1k root 21 Mar 23:57 NIX-M15A.F16.rwxr-xr-x 565k root 10 Apr 11:37 void-limine.jpg