LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kernel-install

manages kernel images in the boot partition

TLDR

Add kernel and initramfs to bootloader
$ sudo kernel-install add [kernel-version] [kernel-image] [path/to/initrd]
copy
Remove kernel from bootloader
$ sudo kernel-install remove [kernel-version]
copy
Inspect configuration and auto-detected paths
$ sudo kernel-install inspect [kernel-image]
copy

SYNOPSIS

kernel-install command [options]

DESCRIPTION

kernel-install manages kernel images in the boot partition. It's part of systemd and handles the installation and removal of kernel images for systemd-boot and other bootloaders.The tool runs plugins (install.d scripts) that handle tasks like copying files, generating bootloader entries, and updating the initramfs. It integrates with the Boot Loader Specification.

PARAMETERS

add VERSION KERNEL [INITRD...]

Add kernel and optional initramfs images to boot partition
remove VERSION
Remove kernel and associated files from boot partition
inspect [KERNEL]
Display configured and auto-detected paths

INSTALL

sudo apt install systemd
copy
sudo dnf install systemd
copy
sudo pacman -S systemd
copy
sudo zypper install systemd
copy
brew install systemd
copy
nix profile install nixpkgs#systemd
copy

CAVEATS

Requires root privileges. Behavior depends on installed plugins. Works best with systemd-boot but can support other bootloaders through plugins.

HISTORY

kernel-install is part of systemd, providing a standardized way to manage kernel installation. It implements the Boot Loader Specification for portable boot configurations.

SEE ALSO

bootctl(1), dracut(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid