Skip to content

A sanity ckeck of the kernel installation (for Gentoo Linux) to be run after installng new kernels or before rebooting

Notifications You must be signed in to change notification settings

louis-frayser/CkKern

Repository files navigation

CkKern

ckkern -- Check the kernel installation(Gentoo Linux)

OVERVIEW

CkKern is a Gentoo Linux tool to verify that the kernels in /boot are configured in GRUB, that the sources in /usr/src are compiled into /boot, that /lib/modules is populated for certain critical modules. Also verifies the latest kernel and sources are installed.

Currently only the package "sys-kernel/gentoo-sources" is supported. And the kernels must be built with "genkernel." It should be easy to rework with other kernels.

This tool helps ensure that the running kernel hasn't been deleted and that critical modules (such as file systems) are available upon reboot.

STATUS Major tasks are completed. Those are the tasks that

verify that the currently running and currently configured kernels are configured for reboot.

See the TODO list at the end of the main source file, "ckkern.rkt."

Screenshot
CkKern running in DrRacket. A binary executable can be created from the {Racket} menu.

NOTES In order to read /boot/grub/grub.cfg, that file

needs to be made readable to ckkern. Either run ckkern as superuser (sudo ckkern) or add the user to the root group, then ( cd /boot/grub; chgrp root grub.cfg; chmod g+r grub.cfg).

About

A sanity ckeck of the kernel installation (for Gentoo Linux) to be run after installng new kernels or before rebooting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published