Linux kernel learning

  
        

Kernel Module Management: 1 lsmod View the current system loaded modules. 2 modprobe MOD_NAME: load a module 3 modprobe -r MOD_NAME: uninstall a module 4 modinfo MOD_NAME view module specific information 5 insmod /path/to/module_file 6 rmmod MOD_NAME

In addition to the core functions, the functions in the kernel At compile time, most features use three options. 1, do not use this function; 2, compile into kernel module 3, compile into the kernel

How to manually compile the kernel make gconfig -Gnome desktop environment use, you need to install the graphics development library make kconfig -KDE desktop environment use, need Install the graphics development library

make menuconfig - the graphics window under the text *: compile into the kernel m: compile into the module

make make modules_install make install

secondary compilation cleanup: (Requires a backup of .config) make clean make mrproper

grub–>kernel–initrd-rootfs

Copyright © Windows knowledge All Rights Reserved