Skip to content

Latest commit

 

History

History

LKM

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Project_ALV_2022

LKM Configuration

  1. Update current packages of the system to the latest version.
  sudo apt update && sudo apt upgrade -y
  1. Download and install the essential packages to compile kernels.
  sudo apt install build-essential libncurses-dev libssl-dev libelf-dev bison flex -y
  sudo apt install linux-headers-$(uname -r)
  1. Clean up your installed packages.
  sudo apt clean && sudo apt autoremove -y
  1. Compile LKM Go to Project_ALV_2022 > LKM Folder
  sudo make ARCH=$(arch) -j$(nproc)
  sudo make
  1. Load LKM
  sudo insmod new_kernel.ko 
  1. To check whether the LKM has loaded successfully or not
   lsmod