How to reboot automatically after kernel panic

There are cases where you encounter kernel panic. Kernel panic may occur while you are playing with some experimental kernel module that someone else wrote, or developing a custom kernel module yourself. Kernel panic can happen due to hardware failure as well. If you would like to reboot your system automatically after kernel panic has […]
Continue reading…

 

How to reload sysctl.conf

Linux provides a sysctl interface for checking and modifying kernel parameters which are listed under /proc/sys directory. You can persistently set or change those kernel parameters via /etc/sysctl.conf. If you have modified /etc/sysctl.conf, and want to activate the change in the kernel without rebooting, you need to do the following. On FreeBSD: $ sudo /etc/rc.d/sysctl […]
Continue reading…

 

How to load a kernel module at boot time

Loadable kernel modules are a convenient way to modify the running kernel without rebuilding the kernel from scratch. You can also free up memory resources by unloading any unnecessary kernel module. A kernel module can be loaded or unloaded on the fly by modprobe command. When loading a kernel module with modprobe, the command will […]
Continue reading…