Skip to content

os-kparams.plugin.bash¤

custom kernel parameters in cmdline.

group:postos | runtype:manual | deps: - | port: -

Usage
os-kparams install|uninstall|check|run
$ os-kparams install - install kernel parameters
$ os-kparams uninstall - uninstall kernel parameters
$ os-kparams check - check kernel parameters plugin status
$ os-kparams run - run kernel parameters
$ os-kparams help - show this help message
Description

This tool helps install, configure, and manage custom kernel parameters in the kernel command line for system optimization and hardware control.

Jangbi Configs¤

/opt/jangbi/.config
RUN_OS_KPARAMS=1 # enable kernel parameters
KPARAMS_MODE="auto" # mode: auto|manual

Check if running¤

bash command
$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz root=/dev/sda1 custom_param=value
$ dmesg | grep "Command line"
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz custom_param=value

Current Configuration¤

Current configuration is stored in /etc/kparams/. it is generated by os-kparams configgen command on install. You can edit it manually and not run install or configapply commands to keep current configurations.

/etc/kparams/config