o
odin.langpkg.dev
packages / library / limine-mkconfig

limine-mkconfig

v0.1.1library

No description provided.

WTFPL · updated 3 months ago

Limine-mkconfig

This is a simple program to scan for installed linux kernels and output valid Limine entries.

Warning

Currently this version is broken when compiling with >Odin-2026.02. The working rewrite in Rust is located in rust branch

Installation

Dependencies:

  • odin
  • make (optional)

To install, clone the repository, and inside repository run:

make
sudo make install

Or, if you don't want to use make/want to test package first:

odin build .
./limine-mkconfig --help

Configuration

By default, limine-mkconfig will only output entries that it found without additional options or entries. It is possible to extend output by writing additional config to /etc/limine/extras.conf file, including settings like timeout or any extra entries.

Usage

Running limine-mkconfig without any flags will output configuration to the stdout. To save configuration, pass -o flag (--o also works) with path. If you receive error about file access, then you are trying to write to somewhere without sudo privileges and you should try again.

You can also overwrite existing configuration (based on the Limine specification) with -O flag, which will ignore -o flag.

This program is very limited, because I am not currently invested in expanding BIOS/other distros support, but pull requests are appreciated.