Install, Accept, List, Remove and Set New, Current and Old linux kernels in the /boot directory. Inspired by the linux kernel "make install" target, and the /sbin/installkernel shell script.

A profile "~/bootkernel.conf" or "/etc/bootkernel.conf" controls all aspects of bootkernel's behaviour - your chosen naming conventions, whether to maintain symbolic or hard links or neither, which filesystems (if any) need mounting and unmounting, and whether to delete redundant /lib/modules directories when removing the last corresponding kernel.

"Install" copies kernel and other selected files to /boot, adding a ".new" extension.
"Accept" moves current /boot files to ".old" extension, and moves those with ".new" to current,
"List" shows all the kernels in /boot, marked as "new", "old", "current" and "executing" where applicable
"Remove" deletes a specified kernel and associated files from /boot.
"Set" modifies the targets of ".new" ".old" and the implicit .current links if any.

Features

  • Behaviour controlled by a profile /etc/bootkernel.conf
  • Supports some Grub, rEFInd and UEFI configurations
  • Can automatically mount and unmount filesystems to access boot files
  • Has "pretend", "ask" and "verbose" modes to reduce mistakes
  • Tries to catch common mistakes
  • Pure ash/dash shell script works in busybox and normal command line

Project Activity

See All Activity >

Categories

File Managers, Boot

License

GNU General Public License version 3.0 (GPLv3)

Follow bootkernel

bootkernel Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of bootkernel!

Additional Project Details

Operating Systems

Linux

Intended Audience

System Administrators

User Interface

Command-line

Registered

2020-02-06